The reason was that it messed up some archives I had (events, venues, etc …) The first post was always empty and occupied by the ajax notices. The snippet removed them from archives and home page right?
The first post was always empty and occupied by the ajax notices.
We often see that when the theme/plugin is using an nth-child selector to apply applies and it can often be fixed by switching to nth-of-type.
The snippet removed them from archives and home page right?
Correct.
You can use if( is_archive() ) { for just the archives.
Viewing 4 reply threads
The support post ‘espresso-ajax-notices’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.