Tagged: x
-
AuthorPosts
-
October 24, 2016 at 10:40 pm #1229266
Laura83sParticipantGood morning,
For SEO purpose, I would like to avoid the use of h4 in the footer.
http://www.cloudrecover.com.au/
I am also using CornerStone which applies many h3 h2 titles for features and so on… How can I control it?
Cheers,
Laura
October 24, 2016 at 10:42 pm #1229267
Laura83sParticipantHere another attachment
October 25, 2016 at 3:22 am #1229483
LelyModeratorHello Laura,
For the widgets, we can add the following code on your child theme’s functions.php file and then feel free to update h4 tag to your preferred headline tag:
if ( ! function_exists( 'x_widgets_init' ) ) : function x_widgets_init() { // // Default. // register_sidebar( array( 'name' => __( 'Main Sidebar', '__x__' ), 'id' => 'sidebar-main', 'description' => __( 'Appears on posts and pages that include the sidebar.', '__x__' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="h-widget">', 'after_title' => '</h4>', ) ); // // Widgetbar. // $i = 0; while ( $i < 4 ) : $i++; register_sidebar( array( // 2 'name' => __( 'Header ', '__x__' ) . $i, 'id' => 'header-' . $i, 'description' => __( 'Widgetized header area.', '__x__' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="h-widget">', 'after_title' => '</h4>', ) ); endwhile; // // Footer. // $i = 0; while ( $i < 4 ) : $i++; register_sidebar( array( // 3 'name' => __( 'Footer ', '__x__' ) . $i, 'id' => 'footer-' . $i, 'description' => __( 'Widgetized footer area.', '__x__' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="h-widget">', 'after_title' => '</h4>', ) ); endwhile; } add_action( 'widgets_init', 'x_widgets_init' ); endif;Regarding other elements, it will require intensive customizations. Unfortunately this is beyond the scope of our support. You may wish to consult a developer to achieve this. We do help in simple customizations and update but this will require a lot of update because those elements tag are defined by default. Thank you for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1229266 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
