- This topic has 1 reply, 2 voices, and was last updated 8 years ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am using the Executive Pro Theme and I wanted to optimize it with the Yoast SEO Plugin.
So now I found out that Yoast can't read the text of the widgets...
I wanted to ask, if it is reading the text though it's not showing it - so my SEO will improve if I put in the right keywords?
As well I would like what you guys do if you want to optimize your site (that's mostly bulit out of widgets).
Are you only using the genesis SEO and is that enough?
I'm not sure if this helps you any. But what I do, on pages which are widget areas, like the home page. Is just make sure I hook the widget areas onto the hook called 'genesis_loop'. This way the widget areas appear in (what google would consider' the 'main' section of the page.
So the html (what google actually can read) appears something like this..
<main class="content" itemtype="http://schema.org/Blog" itemscope="itemscope" itemprop="mainContentOfPage" role="main"> <div class="front-section-1 widget-area"> <div class="front-section-2 widget-area"> </main>
the 'main' element tells google to treat this part as the main content of the page. The fact that it was made up by widget areas, or a post, or whatever you want is irrelevant in google's eyes.
The only time a widget area is seen as less important as main content is when it is in a sidebar and thats because it is put, by genesis, into an 'aside' element. Which is correct when it isn't the main content of the site.
I love helping creative entrepreneurs build epic things with WP & Genesis.
© 2023 WPEngine, Inc.