Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1377460

    My client asks can we make the toggle titles H2 or H3 for SEO?
    There are many titles on one page, and Google should find them.

    #1377536

    Hi tammiviestinta,

    It seems you are still using Enfold version 4.9.2.1, please update it to the latest version (5.3.1.1) and you will have option to change it.
    Please make sure to have a backup first before you update.

    Once it is updated, please edit the accordion then go to Advanced > Toggle Titles > Toggle Title Tag and change it to H2 or H3.
    Hope this helps :)

    Best regards,
    Nikko

    #1377572

    Theme Updates says: “No Updates available. You are running the latest version! (4.9.2.1)”
    Checked the token ant it is right.

    #1377618

    Hi,

    Could you please try inserting your token in Envato Market plugin – https://www.envato.com/lp/market-plugin/ and check if you receive the update then?

    Best regards,
    Yigit

    #1377628
    This reply has been marked as private.
    #1377631

    Hi,

    That should be because we require more permission for Enfold theme options and Envato Market plugin requires only 3.

    Could you please try generating a new token and only enable following permissions?
    – View and search Envato sites (checked by default)
    – Download the user’s purchased items
    – List purchases the user has made

    Best regards,
    Yigit

    #1377646
    This reply has been marked as private.
    #1377656

    Hi,

    Please refer to this post – https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token and generate a new token but only enable required ones (the one I listed above and also highlighted in docs) and then insert the new token into Envato Market plugin to update the theme :)

    Best regards,
    Yigit

    #1377683

    for those headings – can you try this snippet in your child-theme functions.php:

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array()){
      if( $context == 'avia_sc_toggle' ){
         $default_heading = ! empty( $meta['heading_tag'] ) ? $meta['heading_tag'] : 'h3'; 
         $args['heading'] = $default_heading;            
      }
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );

    this will preserve the custom settings mentioned by nikko – but set the default value to h3 ( change to what you like to have)

    #1377685

    just to mention – and off topic : this filter is set on some alb elements :

    some of them have those extra_args setting to rule different tags ( timeline.php; contentslider.php and portfolio.php).
    So you can influence the default heading tag for example on timeline for date and for title – e.g.:

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array()){
    // heading-tag for date
      if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'date', $extra_args )){
      	$default_heading = 'h3';
      	$args['heading'] = $default_heading ;   
      }
    // heading-tag for title
      if( $context == 'avia_sc_timeline' && is_array( $extra_args ) && in_array( 'title', $extra_args )){
      	$default_heading = 'h4';
      	$args['heading'] = $default_heading ;        
      } 
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
    #1377695

    Hi,

    Thanks for your help @guenni007!

    Best regards,
    Yigit

    #1377723

    Thank you! Now this works.
    It’s great that I always get help from here!

    #1377760

    Hi,

    Great, I’m glad that @guenni007 could help you out :-)

    Best regards,
    Rikard

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