Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Fine Tuning › Performance Optimization › Googles Meta description
- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by Themosaurus.
-
AuthorPosts
-
thomas vierstraeteParticipant@vierthom
- 4 Topics
- 9 Posts
Dear,
when searching for my website on google, it shows me the demo meta description “Gwangi offers you the opportunity to simply accelerate this process by finding out which is right for you and maybe find your life partner.’.
Where can I change this? Where is this piece of text stored?
ThomasAugust 29, 2018 at 09:26 #1870@themosaurus- 1 Topics
- 1675 Posts
Hi Thomas,
This description seems generated and stored by Google using the text displayed on the homepage Hero section.
We recommend you to install Yoast SEO to edit this. It’s one of the best solution to improve your SEO ranking and customize your page titles, meta descriptions and so much more.
For the best integration with Gwangi, make sure to also install Grimlock for Yoast SEO, our free add-on plugin for Grimlock and Gwangi. You can download it for free by clicking the following link:
https://files.themosaurus.com/grimlock-wordpress-seo/grimlock-wordpress-seo.zipFinally, please remember that it takes several hours or days before you see the results of your changes in Google. The bot needs to review your changes and index them.
We hope this helps. ?
Best regards,
August 29, 2018 at 09:50 #1874thomas vierstraeteParticipant@vierthom- 4 Topics
- 9 Posts
thank you for pointing that out. I will download the extra plugins;
another important question, I’m working with woocommerce and the event calendar + event tickets pro.
But even after setting the page layout to minimal – it still has the header bar on top.
please have a look at this page: https://www.singlesonthemove.be/kalender/
I want to remove the image on top and have it minimal like all my other pages.August 30, 2018 at 08:44 #1892@themosaurus- 1 Topics
- 1675 Posts
Hi Thomas,
Yes, that’s correct. You need custom PHP code to remove the header from these pages.
Please add the following php code snippet to your website using the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/):/** * Hide the Custom Header on events and shop pages. * * @since 1.0.0 * * @param array $args The array of arguments passed for the Custom Header. * * @return array The updated array of arguments passed for the Custom Header. */ function gwangi_custom_hide_custom_header( $args ) { $is_events_page = ( function_exists( 'tribe_is_month' ) && tribe_is_month() && ! is_tax() ) || // Month View Page ( function_exists( 'tribe_is_month' ) && tribe_is_month() && is_tax() ) || // Month View Category Page ( function_exists( 'tribe_is_past' ) && tribe_is_past() || function_exists( 'tribe_is_upcoming' ) && tribe_is_upcoming() && ! is_tax() ) || // List View Page ( function_exists( 'tribe_is_past' ) && tribe_is_past() || function_exists( 'tribe_is_upcoming' ) && tribe_is_upcoming() && is_tax() ) || // List View Category Page ( function_exists( 'tribe_is_week' ) && tribe_is_week() && ! is_tax() ) || // Week View Page ( function_exists( 'tribe_is_week' ) && tribe_is_week() && is_tax() ) || // Week View Category Page ( function_exists( 'tribe_is_day' ) && tribe_is_day() && ! is_tax() ) || // Day View Page ( function_exists( 'tribe_is_day' ) && tribe_is_day() && is_tax() ) || // Day View Category Page ( function_exists( 'tribe_is_map' ) && tribe_is_map() && ! is_tax() ) || // Map View Page ( function_exists( 'tribe_is_map' ) && tribe_is_map() && is_tax() ) || // Map View Category Page ( function_exists( 'tribe_is_photo' ) && tribe_is_photo() && ! is_tax() ) || // Photo View Page ( function_exists( 'tribe_is_photo' ) && tribe_is_photo() && is_tax() ) || // Photo View Category Page is_singular( 'tribe_organizer' ) || // Single Organizer Page is_singular( 'tribe_venue' ) || // Single Venue Page is_singular( 'tribe_events' ); // Single Events Page $is_shop_page = ( function_exists( 'is_shop' ) && is_shop() ) || // Shop Page ( function_exists( 'is_product_category' ) && is_product_category() ) || // Product Category Page ( function_exists( 'is_product_tag' ) && is_product_tag() ) || // Product Tag Page is_singular( 'product' ); // Single Product Page if ( $is_events_page || $is_shop_page ) { $args['displayed'] = false; } return $args; } add_filter( 'grimlock_custom_header_args', 'gwangi_custom_hide_custom_header', 1000, 1 ); /** * Remove the CSS classes on the body tag for the Custom Header on events and shop pages. * * @since 1.0.0 * * @param array $classes The array of CSS classes on the body tag for the Custom Header. * * @return array The updated array of CSS classes on the body tag for the Custom Header. */ function gwangi_custom_remove_body_classes( $classes ) { $is_events_page = ( function_exists( 'tribe_is_month' ) && tribe_is_month() && ! is_tax() ) || // Month View Page ( function_exists( 'tribe_is_month' ) && tribe_is_month() && is_tax() ) || // Month View Category Page ( function_exists( 'tribe_is_past' ) && tribe_is_past() || function_exists( 'tribe_is_upcoming' ) && tribe_is_upcoming() && ! is_tax() ) || // List View Page ( function_exists( 'tribe_is_past' ) && tribe_is_past() || function_exists( 'tribe_is_upcoming' ) && tribe_is_upcoming() && is_tax() ) || // List View Category Page ( function_exists( 'tribe_is_week' ) && tribe_is_week() && ! is_tax() ) || // Week View Page ( function_exists( 'tribe_is_week' ) && tribe_is_week() && is_tax() ) || // Week View Category Page ( function_exists( 'tribe_is_day' ) && tribe_is_day() && ! is_tax() ) || // Day View Page ( function_exists( 'tribe_is_day' ) && tribe_is_day() && is_tax() ) || // Day View Category Page ( function_exists( 'tribe_is_map' ) && tribe_is_map() && ! is_tax() ) || // Map View Page ( function_exists( 'tribe_is_map' ) && tribe_is_map() && is_tax() ) || // Map View Category Page ( function_exists( 'tribe_is_photo' ) && tribe_is_photo() && ! is_tax() ) || // Photo View Page ( function_exists( 'tribe_is_photo' ) && tribe_is_photo() && is_tax() ) || // Photo View Category Page is_singular( 'tribe_organizer' ) || // Single Organizer Page is_singular( 'tribe_venue' ) || // Single Venue Page is_singular( 'tribe_events' ); // Single Events Page $is_shop_page = ( function_exists( 'is_shop' ) && is_shop() ) || // Shop Page ( function_exists( 'is_product_category' ) && is_product_category() ) || // Product Category Page ( function_exists( 'is_product_tag' ) && is_product_tag() ) || // Product Tag Page is_singular( 'product' ); // Single Product Page if ( $is_events_page || $is_shop_page ) { unset( $classes[ array_search( 'grimlock--custom_header-displayed', $classes, true ) ] ); unset( $classes[ array_search( 'grimlock--custom_header-title-displayed', $classes, true ) ] ); unset( $classes[ array_search( 'grimlock--custom_header-subtitle-displayed', $classes, true ) ] ); } return $classes; } add_filter( 'body_class', 'gwangi_custom_remove_body_classes', 1000, 1 );
If you want to know more about this plugin and how it works, you can also refer to this article of our documentation for more information about Code Snippets:
This should solve your issue. ?
Best regards,
August 30, 2018 at 15:29 #1895 -
AuthorPosts
The topic ‘Googles Meta description’ is closed to new replies.