the answer for all question about Oxygen Builder plugin and WordPress

Hi guys, I have a problem with advanced query. I have standard post query, where


Hi guys, I have a problem with advanced query. I have standard post query, where I want to use “post__not_in”. In WP documentation the value of “post_not_in” is array.

I have some function which returns PHP array and I inserted this value thru data and PHP return function value. In this case it does not work.
I tried to change approach and created another function which reformat PHP array to this format: 234, 2425, 2425, 2424 (numbers are IDs of post what I don’t want to be in query). I even tried to create another function which return this: array( 234, 2425, 2425, 2424 ).
Nothing will exclude my posts from array even if I put there only one number.
Do you have an idea what is wrong?




Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs