Category pages shows the whole content of posts or pages not excerpt
8 years ago
dejudicibus
Member
When a category is shown, the whole content of posts or pages are listed, that is, the_content(), rather than the_excerpt(). Adding <!--more--> to post or page does not help.
PS I use category for pages too. |
8 years ago
dejudicibus
Member
PS I am referring to MiddleEarth Theme.
|
8 years ago
Alice
Support Service
Hi!
Perhaps, you have turned off the option "Cut Content in feed" on page MiddleEarth --> Layout in the dashboard of your website. Please, try to check whether this option is enabled or not. |
8 years ago
dejudicibus
Member
"Cut Content in feed" is ON. But my question is not about feed, but about category pages. If you browse a category, I expect that only the excerpt of a post/page is shown, not the whole post/page.
|
8 years ago
Alice
Support Service
Could you give me the URL of your website, please.
|
8 years ago
dejudicibus
Member
Sure: http://ww.lalamanera.it
Look for example at http://www.lalamanera.it/category/personaggi/ As you can see, for example, the whole tables are shown... So the category page is very long. Furthermore is very difficult to distinguish a post from another but I suppose I can fix that by using some divider in child theme. |
8 years ago
dejudicibus
Member
Any news?
|
8 years ago
Alice
Support Service
Hi!
Which value is specified for the "Content Length" option on page MiddleEarth --> Layout in the dashboard of your website? |
8 years ago
dejudicibus
Member
800
|
8 years ago
dejudicibus
Member
Just consider that such a number is ignored in case of tables. The table is shown as a whole, independently on number of characters.
|
8 years ago
Alice
Support Service
I've tried to insert tables and the excerpt works properly.
The last thing I may recommend you is to replace our function with the default one:
inside the content.php file. |
7 years ago
dejudicibus
Member
Alice, I cannot find content.php in MiddleEarth theme!
|
7 years ago
Dave
Support Service
Hi!
This is an old theme. Probably, you may find this code inside the theloop.php file of the theme. |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts