Archived topic
Why are blogs in columns showing more text than settings
6 replies · Started by Joe on September 8, 2022
I tried wp show post plugin but could not get it to show columns. So I am using the customize blog settings with 4 columns and 24 words. one blog is right and the others are not. I set each blog page to standard. What am I doing wrong?
https://smartsteps.net/blog-roll/
thanks for your help.
Hi there,
the Excerpt length in the Customizer > Layout > Blog only applies to Excerpts that are automatically generated.
Some of your Posts are using the More Tag:
https://docs.generatepress.com/article/using-the-more-tag/
So those posts don't have an auto excerpt.
You can either:
a. remove the More Tags from those posts
b. Add this PHP Snippet to your site so that GP ignores them and display an Auto Excerpt instead:
add_filter( 'generate_more_tag', '__return_empty_string' );
Adding PHP: https://docs.generatepress.com/article/adding-php/
Removing the more tag worked, it looks much better thanks.
Is there a way to create borders or blocks around the blog items with the customize option or css?
If you're happy with using CSS then try this:
.generate-columns .inside-article {
padding: 0 15px;
border: 1px solid #ccc;
}
if theres a specific style you want, let me know :)
Thank you
I am great with the css you gave me.
I have another issue, I set them to show title below the image, but they are not showing.
Hi Joe,
In Simple CSS, there's this code:
/* hide all titles*/
.entry-title {
display: none;
}
You'll need to remove it to show the title.