-
AuthorPosts
-
January 3, 2023 at 1:49 pm #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.January 4, 2023 at 1:49 am #1377536Hi 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,
NikkoJanuary 4, 2023 at 12:26 pm #1377572Theme Updates says: “No Updates available. You are running the latest version! (4.9.2.1)”
Checked the token ant it is right.January 4, 2023 at 4:31 pm #1377618Hi,
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,
YigitJanuary 4, 2023 at 5:12 pm #1377628This reply has been marked as private.January 4, 2023 at 5:17 pm #1377631Hi,
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 madeBest regards,
YigitJanuary 4, 2023 at 7:07 pm #1377646This reply has been marked as private.January 4, 2023 at 11:51 pm #1377656Hi,
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,
YigitJanuary 5, 2023 at 10:23 am #1377683for 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)
January 5, 2023 at 10:59 am #1377685just 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 );
January 5, 2023 at 11:46 am #1377695January 5, 2023 at 5:52 pm #1377723Thank you! Now this works.
It’s great that I always get help from here!January 5, 2023 at 9:14 pm #1377760 -
AuthorPosts
- You must be logged in to reply to this topic.