Using The Loop with the backend editor
-
Hey all.
I have a handful of static pages on the site that are profiles of people. On each of their pages, I want to generate lists of recent blog posts that have to do with them –?let’s say I’ll just query by the relevant tag.
The problem is that I can’t figure a way to insert a loop, mini-loop, query_posts() or anything on a static page when I’m using the backend (Administrator access) editor. It just doesn’t accept PHP, and I tried with a simple
<?php echo("Hello, world!") ?>
. No dice.Am I doing something wrong or is it certainly the case that there’s no way you can insert PHP into the backend editor? Am I going to have to just write their pages by hand and put in a mini-loop like I would on the homepage, call them profile1.php, profile2.php, etc., and then insert hardcoded links to them, and forfeit the ability to edit them with the backend?
Thanks.
- The topic ‘Using The Loop with the backend editor’ is closed to new replies.