Support » Themes and Templates » Adding Calendar to Blix theme

  • Ok, I’m going nuts trying to add a calendar to the Blix theme. I have tried everything I can think of and it never shows up in the sidebar! I have even copy-and-pasted code from other people using the Blix theme. Does anyone have thoughts or pointers??

Viewing 1 replies (of 1 total)
  • The calendar is already set to display in the Blix theme. It’s that it only shows up on single post pages. But you can modify this behavior — just look for this section of the theme’s sidebar template (sidebar.php):

    <?php if (is_single()) { ?>

    <h2><em>Calendar</em></h2>

    <?php get_calendar() ?>

    <h2><em>Most Recent Posts</em></h2>

    and change it to:

    <h2><em>Calendar</em></h2>

    <?php get_calendar() ?>

    <?php if (is_single()) { ?>

    <h2><em>Most Recent Posts</em></h2>

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Calendar to Blix theme’ is closed to new replies.