Category Page editing

Hi everybody,

I have a little problem on my category page.
You can see the screenshot:

Here you are into my “Eventi” page. It’s a simple category page, it contains all the news I’ve done with this category name. I cannot understand why just one of those (Over the top - The last Starfighter) has a little preview (it’s just a part of what I wrote on it)… every other news just have no preview (just title as you can see). All the articles are done in the same way (I create a specific template: headline/text/slider for each one)

How can I fix it? I just want to have a little preview, maybe the first 2-3 text line I wrote on each news… I just tried to look some settings but can’t find nothing about it.

Thanks for help!

Hi Marco,

I tried checking the site that is in your licenses page but there is currently an under construction page active on the site.

For the meantime, please check if those posts have contents in them so that the category page can display the excerpt.

In case it still shows blank, please provide us with the admin access to your site in a Secure Note (key icon under the replies you post/posted):

Website has “under construction” plugin because it’s not ready yet.

Anyway i’ve done a secure note with access. Let me know!

Thanks in advance! :smiley:

Hello Marco,

Normally, when you edit the post with the default WordPress editor, it will only consists of text. When displayed in the blog index or category archive pages, the items will display post excerpts. Usually excerpts are dynamically generated by WordPress from the very first 55 words of the post contents. Any html or shortcodes will be stripped out and only plain text will be displayed as the excerpt.

Since you used Cornerstone in creating those posts, all of the post contents were wrapped with shortcodes and WordPress weren’t able to get the first 55 words as your excerpts. This is why it is displaying blank in the blog index or in the category archive page. To display an excerpt, you will need to edit each of the posts and add manual excerpts instead. To add an excerpt to a post, simply write one in the Excerpt field under the post edit box. Please see the screenshot below: http://prntscr.com/a57dbr

Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts here: https://codex.wordpress.org/Excerpt

Hope this helps.

Thank you so much for your detailed explanation, so useful!

The only thing I just continue to don’t understand is why It just took the excerpt by itself into my article, taking just a few lines and not the complete text… and the fact is if I go to excerpt for this article it’s still blank! Such a mistery :smiley:

Thanks again ^^

Just last question: Problem is solved, but I want to justify all the excerpt I wrote… can I do that? Cause in excerpt window there’s any button or something to choose (line alignment or maybe bold etc)… Is there a way? All the text in my website are “justify”, so if possible I’ll do the same with excerpts!

Thanks!

Hello Marco,

As I’ve said, the excerpts will be generated from the first 55 words of the content. It could just a few lines of your text contents and not the complete text. If you want to adjust the number of words, please go to X > Theme Options > Blog and change the excerpt length because by theme’s default it is 60.

The excerpts will be displayed as plain text. No styling will be inherited from your post contents. It you want to format the excerpt text as justified, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r) instead.

.entry-content.excerpt p {
    text-align: justify;
}

Hope this helps.

AWESOME!

Thank you so much again :smiley:

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.