- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m going just getting my head around WordPress and how it operates as a faux CMS. Thanks to Chris for his vids and this article:
http://www.cutelittlefactory.com/tutori … wordpress/
What I’d like to do is design a PHP page that I’m able to send out to a potential client that ONLY displays a list of certain projects (WP posts) that I’ve preselected for their presentation and send them to that URL. I’m aware that I’ll have to design this page in PHP and have it tap into WordPress for the posts. I’m guessing it might have something to do with setting up an array of the posts in PHP and injecting that into the WordPress loop?
Cheers.
Codex is your friend :mrgreen: http://codex.wordpress.org/Template_Tags/query_posts and http://codex.wordpress.org/The_Loop
If you’re going to be doing any serious WordPress customization you should read those pages fully as they answer most beginner questions. And in your particular case you are looking for the ‘post__in’ parameter of query_posts.
Best of luck and keep us posted on how it’s going.
To further Dave’s point:
Remember that while working in the WP Loop, you’ll almost always be using WP Tags. You should be saying things like "Template" instead of "PHP Page", as an example.