Tagged: x
-
AuthorPosts
-
November 4, 2016 at 5:43 am #1243600
Adam JParticipantSite: http://www.mbjarvie.co.uk
As per title.
I presume this is the result of a recent update?
I guess this element is causing the duplicate H1 issues:<h1 class=”visually-hidden”>M B Jarvie</h1>
How do I get rid of this to keep my SEO happy?
Thanks
November 4, 2016 at 7:36 am #1243665
Paul RModeratorHi Adam,
Thanks for writing in!
To get rid of it, create file _brand.php in wp-content/themes/x-child/framework/views/global
and copy the code below into that file.<?php // ============================================================================= // VIEWS/GLOBAL/_BRAND.PHP // ----------------------------------------------------------------------------- // Outputs the brand. // ============================================================================= $site_name = get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description' ); $logo = x_make_protocol_relative( x_get_option( 'x_logo' ) ); $site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">'; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a>Kindly note that you need to set-up a child theme first before doing this.
https://community.theme.co/kb/how-to-setup-child-themes/
Thanks
November 6, 2016 at 7:56 am #1245865
Adam JParticipantMany thanks. That worked a treat 🙂
November 6, 2016 at 8:19 am #1245884
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1243600 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
