December 2nd, 2018 at 10:47 #71026
My question is if it`s possible to avoid the permanent link in post titles.?
How can I do it?
Website: www.ondaplanasantacruz.com/contactoDecember 2nd, 2018 at 22:06 #71072
You can do that by customizing the content/content.php file to remove the link markup from the title code:
<?php the_title( '<h2 class="entry-title"' . cryout_schema_microdata( 'entry-title', 0 ) . '>', '</h2>' ); ?>
Copy this file to the child theme (in the same content/ folder) and edit it there.January 1st, 2019 at 20:40 #72282
I have tried insert your code in the content/content.php of the child theme and don’t run well.
I’d like that in this page: https://www.ondaplanasantacruz.com/especiales/ we cannot click on the titles Por example: FIESTA DE LA RADIO.2º ANIVERSARIO. 2018 or VENDIMIA 2018
Thak you in advance Zed.
Best regardsJanuary 3rd, 2019 at 18:11 #72339
I interpreted your ‘avoid’ expression in the initial message as the wish to remove the link functionality from the post titles. That is what the code customization does.
Were you looking to achieve something else?January 3rd, 2019 at 20:57 #72350
My apologies, my first message was not clear and my english is not peefect.
I want to avoid the permanent link in post titles only in this page:https://www.ondaplanasantacruz.com/especiales/ we cannot click on the titles Por example: FIESTA DE LA RADIO.2º ANIVERSARIO. 2018 or VENDIMIA 2018
However, I tried to insert your code and dont work correct avoiding permanent link in post titles
Best regardsJanuary 13th, 2019 at 16:52 #72658
The code edit I indicated applies to all posts and doesn’t apply to any (static) pages.
Pages do not normally appear in lists where their titles are clickable links.
You need to log in to reply to this topic.