Support » Plugins and Hacks » Home Page Plugin Recent Posts

  • I tried searching, so if this has already been asked I apologize. Please post the link if it has.

    I have insalled the Home Page plugin that allows the use of a static page with “home” as the default page. I love this feature as I’m trying to use WP as the backend for my main website (service company) and will have several static pages (including the home page).

    However, I would also like to display the most recent posts at the bottom of the static content on the static “home” page. Is this possible through a custom template (you can assign the home page it’s own template)?

    If so, what code would I need to use and where would I need to put it? I’m fairly experienced with PHP, CSS, etc. so I can edit any files neccessary. I just haven’t the time to go through the files line by line to try and figure it out. If anyone else has encountered this I’d appreciate any help possible.

    BTW, I know I can simply edit the index page and put static content in there w/out using the plugin. I want to be able to edit the home page text through wp-admin.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I like to use the crc_recent_post plugin, or something like that. Just throw in a call to the Loop, plug in the code , and close the loop; Here is an example:
    <?php c2c_get_recent_posts(10, ‘%post_URL%<br><span>%post_date%</span><br>’, ”, ‘date’, ‘DESC’, 3, ‘m/d/Y’, ”, false); ?>

    So that is the last 10 posts’ titles and dates (you can also add the content, and even a preview – short or long – of the content). Just make sure to wrap that with the Loop.

    Thanks but I can’t seem to find the crc_recent_post plugin anywhere… got a link to it by chance?

    Here ya go. Sorry, I couldn’t remember exactly what it was called – it is customizable post listing.php, something like that. If you can’t find it there let me know and I can send you the one I have here. It’s really great, and yuo can do all kinds of things with it.
    It’s there – I just checked …. custom-post-listings.zip

    Now that I am looking at it, you may not even have to call that in the loop – check the documentation; you may can just stick it in wherever.

    Thanks, that worked great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home Page Plugin Recent Posts’ is closed to new replies.