- This topic has 17 replies, 3 voices, and was last updated 3 years, 3 months ago by Tom.
July 15, 2018 at 4:37 pm #624443George
I am in the process of designing a graphic heavy website with some relatively complex layouts. I am also using Elementor Pro and as a test decided to start using Elementor Pro with just their basic Hello theme as a backbone since all elements would come from Elementor. It seemed to be working quite well but later on I realised that the basic Hello theme doesn’t support any schema markup. So my plan is to use GeneratePress as a theme so I can make use of the schema markup. Since every element is going to come from Elementor (header, footer, pages, blog, archives) I was wondering how to plan the whole design process. I was thinking to create Elementor templates and hook them into the various GP areas. But I am not sure how “deep” I need to go. For example, there is a schema markup for a “header” but there is also a schema markup for the navigation. Do I need to hook the header and the navigation separately into the different hook areas so I can retain their schema markup? Is there a list of schema markups available so I can have a look and make a decision on how to hook the various elements? Or any suggestion how I should go about it?GeneratePress 2.1.3GP Premium 1.6.2July 15, 2018 at 8:52 pm #624528TomLead DeveloperLead Developer
I believe if you build those elements in Elementor, they’ll replace the GP elements anyways, so you’ll lose the schema. You’d need the ability to add schema data to the Elementor elements.
Let me know if that makes sense or not 🙂July 16, 2018 at 5:02 am #624695George
Hmmm. It’s actually worse that I thought! So basically there is no way to replace the elements and hook them after the schema part. I know the Elementor team have moved this functionality for the 2.2.0 update but I don’t trust their ETA anymore, this has been going on for a year now. So as far as I understand, the Elementor elements need to support this natively or possibly with a use of a function like this that a user has created on Github? How do people get around this?July 16, 2018 at 7:51 am #624889DavidStaffCustomer Support
I think most people that are concerned about Schema will use the GP theme elements.
A little bit of CSS to complete the styling would be simpler and more efficient then finding ways to inject the schema markup into Elementor elements. I am vary wary of custom development within elementor as breaking changes seem to be quite frequent.July 16, 2018 at 8:13 am #624909George
I hear you David. I will play around and see what I can do, it’s just so much faster with Elementor some times! Also I plan to start using some animations that don’t seem to be so easy with GP(I guess, it’s doable, I just need to research more). So just to clarify. Schema affects the way search results are displayed on the search engines meaning that both ways would display results but with Schema it would presents results according to their schema type(eg, recipes, posts, reviews, etc). Is that a valid statement? Or not using schema entails a danger of a page not being indeexed at all?July 16, 2018 at 8:31 am #624926DavidStaffCustomer Support
The absence of Schema won’t stop the page being indexed. You just wont have the additional information or influence over your SERP output, and would not have as a good SEO impact.
Simple CSS animation is pretty straight forward and does provide greater control. Such as slide and fade in elements you can control the exact distance. Always willing to help with some code if needed.July 16, 2018 at 8:53 am #624952George
Ok I get you David. Just a question: I am building my own agency website. It will only have the usual landing pages(home, about, services, work, blog and contact). How would not using schema on those pages affect the results? Since they are just normal pages, I don’t think I would benefit for any presentationl SERP output, if you know what I mean. Again, I am not planning on ditching schema at all, I was just wondering if certain websites would benefit more than others?July 16, 2018 at 10:40 am #625067DavidStaffCustomer Support
It probably won’t make one iota of difference then.
I just advised another user that hooking directly inside an element with schema would keep the GP schema markup. Whether the benefits of it trail down to the content elementor creates i am unsure…..
I am trying my damnedest to not be over biased towards GP theme elements lol. But they are great 😉July 16, 2018 at 10:55 am #625080George
I know they are and I have no intention of abandoning them! It’s good to have some knowledge of what it’s about though. Ok now I am slightly confused because Tom told me earlier that hooking an element would replace the schema(see his post).July 16, 2018 at 11:04 am #625085DavidStaffCustomer SupportJuly 16, 2018 at 11:09 am #625093George
Ok then, it must be a misunderstanding from Tom’s part because if you read my first post, I explain that because of this thing happening my plan was actually to hook templates into the areas.
So my plan is to use GeneratePress as a theme so I can make use of the schema markup
So assuming this would be possible, how would I go about doing that? For instance, the header has schema markup for header and nav. If I was to hook a header template in there I would lose the nav schema. Does that make sense?July 16, 2018 at 11:20 am #625101DavidStaffCustomer SupportJuly 16, 2018 at 12:03 pm #625119George
Ok I found something that you maybe haven’t discovered yet. I created an Elementor header(site image left, menu on the right) and tried to hook it to before_header, after_header or header hook. In all situations, the GP header was also present and I had to disable the GP header from that page to keep the Elementor one. Of course that means loosing the schema. Then I tried a plugin called Header Footer Elementor and hooked a header Elementor template that I created through the plugin’s custom post type and assigned it as a site header. In this case, the GP header schema was preserved! Maybe an improvement to the GP hooks could be made so that we can hook information and replace the hook content instead of the content being added to the existing one or/and us having to deactivate the existing one, so we can retain the schema markup. It would help a lot with the page builders, I reckon.July 16, 2018 at 9:01 pm #625307TomLead DeveloperLead Developer
You could hook your content into the Before Header Content hook. Then just disable the GP elements from inside (site title/tagline/logo etc..).
That way the container will be preserved.July 17, 2018 at 3:12 am #625547George
Yeah, it works like that, it’s definitely not “clean” though. I am not comfortable having site name and tagline empty either. Elementor header elements also use that information for their header element. What I did: Created an Elementor header template(site logo and menu), assigned it’s shortcode to the before_header_content hook for the whole site. Went to Customizer, disabled navigation, removed site title and tagline(I was working on a test install so logo wasn’t there to begin with) and set header paddings to 0. It certainly feels “hacky” to me.
- You must be logged in to reply to this topic.