-
AuthorPosts
-
December 2nd, 2018 at 10:47 #71026
Good Morning,
My question is if it`s possible to avoid the permanent link in post titles.?
How can I do it?
Best regards
Website: www.ondaplanasantacruz.com/contacto
December 2nd, 2018 at 22:06 #71072ZedCryout Creations mastermindYou 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.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 1st, 2019 at 20:40 #72282Hello Zed,
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 regards
January 3rd, 2019 at 18:11 #72339ZedCryout Creations mastermindI 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?
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 3rd, 2019 at 20:57 #72350My 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 regards
January 13th, 2019 at 16:52 #72658ZedCryout Creations mastermindThe 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.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘AVOID LINK POST TITLES’ is closed to new replies.