• I have a custom post type with its own taxonomy. It works fine except for the permalink that gets created around “the_post_thumbnail” in my template. How do I prevent the permalink from being written. Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • remove the corresponding code, such as the link html tags, from your templates?

    this will be theme specific, so it might the best to ask in your theme’s support forum.

    Jitin Mishra

    (@simpleintelligentsystems)

    you will need to modify the template file and remove the code around the thumbnail image section that generates the permalink. Alternatively you can also jquery to remove the anchor tag around the thumbnail image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simply prevent permalink on the_post_thumbnail’ is closed to new replies.