Archived topic
How to remove all micro-layout generate press
9 replies · Started by detanatar on July 10, 2020
I do not like the micro-layout of the theme generate press.
How to remove it?
Hi there,
Sorry what are you referring to with "micro-layout"?
micro-markup
https://schema.org/text
This should help:
https://docs.generatepress.com/article/generate_schema_type/
Adding PHP: https://docs.generatepress.com/article/adding-php/
No
This method does not remove micro-markup generate press.
The method removes something from schema.org
I created a new empty WordPress site
Set different themes
Watched validation
https://webmaster.yandex.ru/tools/microtest/
And only the topic generate press adds a section of text to the page content and something else
https://schema.org/text
@value = Lorem ipsum Lorem ipsum Lorem ipsum
after including code add_filter( 'generate_schema_type', '__return_false' );
result
/text
@value = Lorem ipsum Lorem ipsum Lorem ipsum
I need to remove both /text and @value=(content)
Hi there,
That filter should remove all microdata data that GeneratePress adds to your website. There may still be some itemprop="text" attributes left over, but they don't do anything without the actual schema data in their parent elements.
In GP 2.5.0, we've removed the itemprops as well.
hi Leo
When will the clean version 2.5.0 come out?
And how to update the theme version of the finished site?
Should be the next couple of weeks.
You would update it like this:
https://docs.generatepress.com/article/updating-generatepress/
4 weeks have passed, but 2.5.0 has not
Sorry about that.
Once GP Premium 1.11 is stabled, we will release GP Premium 3.0 (rename it from 2.5.0) for testing.