Okay
  Public Ticket #3597792
remove items from related posts
Closed

Comments

  • Aaron started the conversation

    How do you remove the catorgories, author and date from the related posts display?

  •  2,958
    Andrew replied

    Hi Aaron,

    Thank you for reaching out to us.

    To clarify, do you want to only remove this from the related posts or do you want to remove this from your archive pages too?

    Also, could you please share your site URL so we can check this out and advise?

    We look forward to your reply.

    Thanks,

  • Aaron replied

    Just from the related posts.

    The site is in staging:  https://am2024clone.flywheelsites.com/the-roi-of-purpose/

  •  2,958
    Andrew replied

    Hi Aaron,

    Thank you for getting back to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .related-posts .meta-category {
      display: none!important;
    }
    

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

    Regards,

  • Aaron replied

    That worked to remove the category. Thank you. 

    Can you include how to hide the author and date as well?

  •  2,958
    Andrew replied

    Hi again,

    Thank you for getting back to us.

    Add this into the Custom CSS box in your Salient Theme Options panel:

    .related-posts .grav-wrap {
      display: none
    }
    

    Try this and let us know how it goes.

    Thanks,

  • Aaron replied

    That worked! Thank you.