WordPress.org

Support

Support » Themes and Templates » Adding Calendar and Recent posts

Adding Calendar and Recent posts

  • Hello,

    Does anyone know how to add Calendar and “Recent Posts� into the Kubrick template? Thank you.

    I am sure some other “dumb” newbie’s like me have asked this question before, Hence, I think apologies in advance is due.

    Thanks a million!

    Bill

Viewing 13 replies - 1 through 13 (of 13 total)
  • The template tag to display the calendar is below.
    http://codex.wordpress.org/Template_Tags/get_calendar

    And follows is a plugin to display recent post

    Plugin: Customizable Post Listings

    alphaoide,

    Thank you. pasted the code into style template… Unfortunately, it did not work out for me. Any idea how to make it work? Thanks a million.

    Bill

    Style template? which one is that? It goes to index.php. Just one line for the calendar.

    <?php get_calendar(); ?>

    How did it not work out for you? What did you get? What output?

    Hi,

    Thank you. Here all the theme templates I have but I do not see “index.php”… is it in one of those?

    Stylesheet
    Archives
    Archive Template
    Search Template
    searchform.php
    Post Template
    Main Template
    404 Template
    Links
    Page Template
    Popup Comments Template
    Sidebar Template
    Header Template
    Comments Template
    Footer Template

    Thanks a million..

    Bill

    Main Template = index.php
    But I guess you’d like the calendar in the sidebar –> Sidebar Template = sidebar.php

    Are you saying I should paste above code in Sidebar template? Should I put anywhere in the template or is there a particular place? Please help. Thank you.

    Bill 🙂

    Yes, in the sidebar.php – and anywhere you’d like to be displayed. I’d suggest either on the top, after
    <div id="sidebar">
    or at the bottom, just before the closing
    </div>

    Thanks. It worked very well for me. Do you know the code to pull up “Recent Posts”. Thanks a million.

    Bill

    Read the instructions for the plugin.

    Thank you. Where can I find “instructions for the plugin”? Any link?
    Sorry I am newbie….:-)

    Bill

    IN this thread, in the very first reply to your initial question, there is a link to a plugin that displays the recent posts.
    Click, read, download, read, install, read, activate, read… 🙂

    The link broken… the server down! 🙂

    Thank you

    Now I understand that you are a newbie, but still you could read before clicking. No, the plugin page is not down. The Codex is down, but that was the link for the clandar tag.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Adding Calendar and Recent posts’ is closed to new replies.
Skip to toolbar