We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Retrieve single value without template
Is there a way to grab a single value from the database without passing it through a template, then output it to a page?
The example would be to return the heading of a post where the heading is in its own header.php layout. I can make a template with something like
<perch:content id="title" type="text" /> but it would be more efficient if I could just output this value straight from the database to the page.
perch_collection, but I guess it would be the same for
perch_content_custom if it's possible. But maybe it's not :P Or maybe it's not a good idea.
Thanks for keeping me right :)
Want to reply to this thread?Login with Perch