Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1289942

    Hello, I wonder if it is possible to change related post title to h4 or to <spam> or even <p>

    Thank you

    #1290267

    Hi 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,
    Nikko

    #1290341

    Thank you but related titles are h3, look here for example at the bottom: https://faceclinic.es/cirugia-mamaria/
    Looking for your comments, Carmen

    #1290395

    Hi 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,
    Nikko

    #1290585

    No 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 you

    #1290609

    can 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

    #1290817

    Hi carmentvaalba,

    I have checked your page and it returns Forbidden.
    For now, please try @Guenni007’s suggestion.


    @Guenni007
    thanks for helping out.

    Best regards,
    Nikko

    #1291370

    But it was definitely not due to my code

    #1301141

    Sorry I dont know what you mean? forbidden?

    #1301500

    Hi 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.