I want to disable post title links and featured image links.
If you’re curious why, there are a few reasons, the last reason being the most important:
1. This a web app, so it should not look like a blog
2. There is no reason to have a full post displayed on the home page click to the same full post on a single post page
3. When hiding a certain post category from the home page (a category I named “Lite”), posts in that category “Lite” still show up in the previous/next nav links at the bottom of single post pages.
What I’ve tried:
1. Adding the CSS David suggested in this post– https://generatepress.com/forums/topic/disable-post-title-link/
.entry-title {
pointer-events: none;
}
2. Disabling the featured image from being clickable, following this tutorial — https://docs.generatepress.com/article/generate_featured_image_output/#example
3. Adding this CSS to disable the Title links –https://generatepress.com/forums/topic/disable-link-in-title/
.entry-title a {
pointer-events: none;
}
How can I achieve what I’m trying to do?