Feature request / Disable post link on category pages

Posted in: Newspaper
Post count: 78

Hi guys,

as others I want to achieve the following: On category pages I want to show the post listings. When a user clicks on the the post it links directly to an external url. No post content for this specific post. I used to use this plugin https://de.wordpress.org/plugins/page-links-to/
But it would be nice to have full control via Tagdiv backend.

Have a nice day
Carolin

Post count: 35449

Hi Carolin,
This can be done if you use acf plugin to add a custom filed for url and use the module builder to display the link on custom filed element.
I hope this will help you!

Post count: 78

I will check this out! Thank you Calin

  • This reply was modified 1 year by Larane.
Post count: 78

I still need the post meta, how to remove the link from title and post image?

Post count: 35449

Ok, so now you want to have only the link from custom field clickable, right? for this you need to use a css to select the image and title.
You can use those css:
.tdb_flex_block_builder .tdb_module_title_0 a,
.tdb_flex_block_builder .tdb_module_img {
pointer-events: none;
}

Also you can set a class on flex builder and replace in the css code so the code will apply only on that block.
Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.