Add custom post above page content
Having a problem with a page template. What I’m trying to do is get the content from a custom field to output above the page content. In other words, this:
Custom field output
What it’s doing is outputting the three custom post type entries as described, but then when it’s time to do the regular page content, it outputs the three custom posts again, but this time formatted like the page content was supposed to be.
This is the code that I’m using to do this:
What am I doing wrong? This should work…
- The topic ‘Add custom post above page content’ is closed to new replies.