Site logo

Archived topic

Elements - Page - Yoast Seo

5 replies · Started by leonardoiann on January 14, 2023

Viewing posts 1–6 of 6

Hi there,

Im using GP pro. I have my element block -> loop template for my blog page. But when i open yoast seo in my blog page (for keyword, snippet ecc) it give me also some errors about the content. But obviously the content is in my element block. So, is it right? Or am i missing something?

https://imgur.com/a/XEHcH8m

ps: can't share because im using localwp

Thanks

Hi there,

which page is it your viewing in Yoast ?
As the Block Element Loop Template would only work in the blog ( index.php ) or archives - which doesn't have an editable page... sorry if i am asking something dumb here, but i am not overly familiar with that part of yoast

hi David, no problem, hope my question isn't dumb.

That page is my blog page that obiously there isn't nothing because i build it with elements. However optimizing the content of this page with yoast don't understand how can i optimize it because the content that i build is in elements. Maybe it's normal.

So the Blog page ( as set in Settings > Reading ) isn't a normal page.
WordPress will "swap" out that page for the index.php template to display the loop content, or in your case GP Elements hijacks that and replaces it with your block element loop template.

Either way the Blog Page has no content as such to be analysed by Yoast.
So unless i am mistaken, if you disable the Block Element Loop template so you see the regular theme blog page, there won't be any other Yoast options.

Now i understand! Thanks David!:)

You're welcome

This archived topic is closed to new replies.