Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1901353
Expandable "Read More" Button on Category and Tag Descriptions
Closed

Comments

  • ollygaspar started the conversation

    Hi, 

    Is there a way to hide majority of the "Description" on the top of Category and Tags Pages? 

    I want to optimize these pages for SEO with text. However, loading all of the text distracts readers from clicking on post links below the description, which is the point of having these pages. 

    Is it possible to add a "Read More" button or link, which will expand this description if users want to read the introduction? I want to only show maybe 150 characters of the description before it is expanded. 

    Also, how do I add a featured image to category and tag pages? 


    Thanks in advance, 

    Olly Gaspar 

  •  2,699
    PenciDesign replied

    Hi,

    1/ Unfortunately, there is no any option to do that. You just can hide it by add more this code to Customize > Custom CSS:

    .penci-category-description { display: none; }

    2/ If you want to make a featured image appears on the category/tags page - let's put it via category/tags description.

    If you want to set images for category/tags to make it appears when you sharing category/tags pages - let's use Yoast SEO plugin - and edit a category/ a tag > scroll down and you can see options for set an image for sharing.


    Best Regards,

    PenciDesign

  • ollygaspar replied

    Hi, Thanks for the reply. 

    How do I also hide the tags description? 

  •  2,699
    PenciDesign replied

    Hi,

    The code I sent for you to hide category description will hide it also.


    Best Regards,

    PenciDesign

  • ollygaspar replied

    Hi,

    Unfortunately it doesn't work. 

    As you can see here: 

    https://weseektravel.com/tag/bohol/

    and all my other tags, the description is still displayed. 


    It works for category descriptions however.

  •  2,699
    PenciDesign replied

    Hi,

    Please use Custom CSS code like I said:

    .penci-category-description { display: none; }


    Best Regards,

    PenciDesign