the answer for all question about Oxygen Builder plugin and WordPress

Trying to ensure there are no duplicate posts on the frontpage, with a script

Trying to ensure there are no duplicate posts on the frontpage, with a script

” function arposts__remove_already_displayed_posts($query) {
global $displayed_posts;
$query->set(‘post__not_in’, $displayed_posts);”

The issue is we have custom post types and standard posts types on the front page, and this is not activating for that for some reason.

Any advice?



Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs