[Resolved] Disable Link on Featured Images on Home Page

Home Forums Support [Resolved] Disable Link on Featured Images on Home Page

Home Forums Support Disable Link on Featured Images on Home Page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1991076
    Chitika

    I have the home page with featured image below the title.
    But both the post title and image are having the post url.
    I want to disable the post url for featured image and keep only on the tile.
    How to do it?

    #1991163
    David
    Staff
    Customer Support

    Hi there,

    this doc provides the PHP Snippet to remove the link:

    https://docs.generatepress.com/article/generate_featured_image_output/#example

    #1991412
    Chitika

    If you don’t mind, I should add the above code in functions.php file right?

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