A user in the Oxygen Facebook group was looking to use Oxygen conditions to include a certain section from their page only if the post had certain ID’s. Currently they need to add each
Post ID manually.
I wrote a quick function that allows you to add all your post ID’s into 1 function reducing the number of conditions needed and making it cleaner.
Add condition with
Dynamic data -> PHP return value
Function name =
(Replace with your Post ID’s, make sure to add a
+ between each number)
Then set the
function == 1 or 0 depending on if it should show or not.
1 == show (true)
0 == hide (false)