Site logo

Archived topic

Showing part of post

5 replies · Started by ER on February 15, 2021

Viewing posts 1–6 of 6

By default, posts are being showed entirely visible, and that’s not good for me.
I want to show only parts of them.

Content type on customizing I can show full content
I dont want full content only a part to be visible

Excerpts are not good enough since I can't add button in there and images and so on.

How should I do?

Hi. Thanks. What I meant is it possible to show only a part of the post without using a plugin, not the entire post?

The method i provided above allows you to shorten the excerpt length.
If that is not working then make sure you have the Post Format set to Standard. As WP won't create an excerpt otherwise.

Regarding not using a plugin:

GP uses the default excerpt function of WP. The default function doesn't display HTML and has no parameters to change its behaviour.
If you want to use code to change that then this stack exchange answer explains how to implement your own custom excerpt function under the sub-heading: HTML TAGS/FORMATTING

https://wordpress.stackexchange.com/a/141136

But personally its absolutely pointless adding that code manually when the Plugin does exactly that as well as covering any other side-effects changing the excerpt behaviour may have.

Hi. The plugin doesnt work for me. The only thing that works is this: Read the rest

Also can I add any html code in the excerpt with this plugin i would like to add buttons images and other things is this possible?

Also without plugin and without excerpt is it possible to show a part of the post not full content?

Also can I add any html code in the excerpt with this plugin i would like to add buttons images and other things is this possible?

That should be possible with the plugin. Have you checked with the plugin support for any pligin specific questions? Looks like the author is quite active.
https://wordpress.org/support/plugin/advanced-excerpt/

Also without plugin and without excerpt is it possible to show a part of the post not full content?

That should be possible as David pointed out above. Here are the settings he was referring to:
https://docs.generatepress.com/article/blog-content-layout/#archives

This archived topic is closed to new replies.