[Resolved] Remove link form title and feature image in custom archive page

Home Forums Support [Resolved] Remove link form title and feature image in custom archive page

Home Forums Support Remove link form title and feature image in custom archive page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1543271
    Silvano

    Hi guys

    I created a CPT and uses a custom archive page that is basically a copy of the archive page, to list these CPTs. These CPTs will only be shown on this archive page so the title and image do not need to be linked to the sigle post. I would like to know if there is a filter that makes it possible to remove the links or do I have to make a new archive page?

    #1543291
    Elvin
    Staff
    Customer Support

    Hi,

    Check this for post image:
    https://docs.generatepress.com/article/generate_featured_image_output/

    For titles, check this:
    https://docs.generatepress.com/article/generate_get_the_title_parameters/

    Within these links are PHP snippets that lets you remove the link around your image and title.

    Let us know if it works for you.

    A wise man once said:
    "Have you cleared your cache?"

    #1543309
    Silvano

    Hi Elvin,

    worked perfectly.
    thank You very much!

    #1543321
    Elvin
    Staff
    Customer Support

    Nice one. No problem. 🙂

    A wise man once said:
    "Have you cleared your cache?"

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.