-
AuthorPosts
-
March 23, 2021 at 4:49 pm #1289942
Hello, I wonder if it is possible to change related post title to h4 or to <spam> or even <p>
Thank you
March 25, 2021 at 4:44 am #1290267Hi Carmen,
Please do the following steps:
1. (skip this step if you have a child theme) Download and use a child theme. You can download and find instructions on how to use it here: https://kriesi.at/documentation/enfold/child-theme/
2. In the child theme create a new folder called includes
3. Copy related-posts.php in enfold > includes and paste it inside the includes folder of the child theme.
4. Edit line 98:$output .= "<h5 class='related_title'>".__('You might also like', 'avia_framework')."</h5>";
replace h5 with h4.
As for everything else, it’s just below this line of code.
Hope this helps.Best regards,
NikkoMarch 25, 2021 at 10:44 am #1290341Thank you but related titles are h3, look here for example at the bottom: https://faceclinic.es/cirugia-mamaria/
Looking for your comments, CarmenMarch 25, 2021 at 3:54 pm #1290395Hi Carmen,
Are you referring on this heading “Últimas noticias relacionadas” ? if yes, then you can edit it in the backend and change the Heading Type
I was actually expecting it to be like the “You might also like” in https://kriesi.at/themes/enfold-2017/2014/08/24/a-nice-entry/
If I’m wrong please point me to the right text or you can give a screenshot.Best regards,
NikkoMarch 26, 2021 at 3:48 pm #1290585No i don´t mean that. For example here: https://faceclinic.es/cirugia-ortognatica/prognatismo-mandibular-clase-3/
At the bottom the three titles (under “artículos relacionados”)
Thank youMarch 26, 2021 at 5:46 pm #1290609can you try this in your child-theme functions.php:
function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() ){ if( $context == 'avia_masonry' ){ $args['heading'] = 'h4'; } return $args; } add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
change h4 if you better like span or p tags
March 28, 2021 at 8:35 am #1290817Hi carmentvaalba,
I have checked your page and it returns Forbidden.
For now, please try @Guenni007’s suggestion.
@Guenni007 thanks for helping out.Best regards,
NikkoMarch 30, 2021 at 2:52 pm #1291370But it was definitely not due to my code
May 19, 2021 at 7:20 am #1301141Sorry I dont know what you mean? forbidden?
May 21, 2021 at 4:05 am #1301500Hi carmentvaalba,
When I checked it before it was returning Forbidden which means my IP was blocked but now it shows properly.
Have you tried our suggestions?Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.