[field id] displaying wrong output
-
Trying to output post ID inside a loop. Rather than returning the post ID, it is returning the page ID where the loop code is used.
Code:
<a href="#[field id]">This is a link</a> <div id="[field id]">Lorem ipsum</div>
Here it doesn’t work but if the shortcode is used outside the “”, it displays correctly.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[field id] displaying wrong output’ is closed to new replies.