Problem with do_oxygen_elements function #242
sergiobellini
started this conversation in
Coding (HTML, PHP, CSS, JS)
Replies: 1 comment 2 replies
-
|
Update: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I'm having this problem with the do_oxygen_elements function. It always worked, but lately it mysteriously stopped doing it.
I describe the problem. I'm in a "Search Results" page, I insert a PHP Block code in oxygen builder where I simply execute:
With do_oxygen_elements all I do is call up a reusable template that shows the title and photo of the post (simple [oxygen data='title']).
The result is that the_title() works correctly, showing all the post titles, while the one in the template called by do_oxygen_elements always shows the same post.
Can anyone help me figure out why it doesn't work anymore?
PS: I reproduced the same problem on a clean install of wordpress, with oxygen 4.0.4 (but it does it with later versions too).
Beta Was this translation helpful? Give feedback.
All reactions