Calling Particular Posts
-
I know that this is probably something simple but after ages of looking I still am at a loss.
I have designed a site layout and I now want to push this into a WP Theme. My problem is that I want to call and display certain posts by their ID.
Basically I dont think (if i can someone tell me how) that I can style my page how I want using the standard loop. As I have split my page into many div tags to create a sort of grid layout.
What I want to achieve is something like(only more complex):
<div id=rhs>
<div id=”post-<?php post_id ?>”>
<?php call_post(1) ?>
</div> <!– close post div –><div id=”post-<?php post_id ?>”>
<?php call_post(2) ?>
</div> <!– close post div –>
</div><! close rhs div –><div id=rhs>
<div id=”post-<?php post_id ?>”>
<?php call_post(3) ?>
</div> <!– close post div –><div id=”post-<?php post_id ?>”>
<?php call_post(4) ?>
</div> <!– close post div –>
</div><! close rhs div –>I realise that my syntax is incorrect (someone feel free to correct this)
This is a basic overview of what I want to achieve– IS THIS POSSIBLE?
- The topic ‘Calling Particular Posts’ is closed to new replies.