WordPress.org

Support

Support » Themes and Templates » [Resolved] sidebar scripts

[Resolved] sidebar scripts

  • I made my first simple ugly theme, but it works, well about 95% When I made my sidebar.php I had the following:
    searchform
    calendar
    categories
    archives
    meta

    these were all php statements. When I brought up site 1st time none of these showed up but I could add widgets to the sidebar.

    I would love any thoughts on these.Here is a script example

    <?php wp_get_archives('type-monthly'); ?>

    Thanks

    Jim

Viewing 2 replies - 1 through 2 (of 2 total)
  • searchform
    calendar
    categories
    archives
    meta

    which were added by you will not be displayed when you add widgets. I can give more specific answer if I can see your complete sidebar code.

    Thanks, I found the answer by trial and error. I had the

    <?php endif; ?>

    in the wrong spot. Moved it and all showed up just perfectly. Thanks for chiming in and helping

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] sidebar scripts’ is closed to new replies.
Skip to toolbar