GD > Post Content
All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our Super Duper Widgets.
The Post Content widget is used to output content from any textarea field including the main Description field with the key 'post_content'. The main use of this plugin is to partially output or limit the content output in some way, this is best seen in the GD Archive Item template where it is used to make the content heights match and give all items the same height.
The GD > Post Meta can be used to fully output the full value of any textarea type field. GD > Post Content is specifically for the GD Archive item template, for showing a max word count of a textarea type field.
Some settings for this widget are advanced settings, reveal them by clicking the button next to save.
- Title - The widget title.
- Post ID - Enter a specific post ID or leave blank to use the current post ID.
- Key - Select the custom field key. This includes post_content and any other textarea fields.
- Show - What to show in the output, options are;
- icon + label + value
- icon + value
- label + value
- Word limit - How many words to limit the text to. (will auto strip tags if set)
- Max height - Height in (px) This can be used to set a consistent height of the text with the read more button then linking to the full text.
- Read more link - The text to use for the read more link at the end of the text. enter `0` to not show link.
- Text Align - How the text should be aligned.
- Strip tags - This will strip HTML tags from the content.