• I’m attempting to make a dynamic sidebar from scratch knowing next to nothing about PHP. (Couldn’t get Sidebar Generator to work or find another compatible plugin.) There’s different content (differently styled) depending on the page:

    1. On pages About, Classes, Testimonials, and Resources, there will be a picture. (This part of the code was tested and found to work.)
    2. Pages Ask and Connect will each have a different form (that have been working fine all along).
    3. Pages based on single.php, category.php, archive.php, and search.php will have a sidebar that pretty much mimics the footer.*
    4. The Calendar page will have a calendar <?php ec3_get_calendar(); ?> in the sidebar.

    The site:

    The category page template:

    The sidebar:

    *I removed

    <?php get_sidebar( ‘sidebar.php’ ); ?>

    from category.php (post-paste) so you can see the basic sidebar that will appear on single.php, category.php, archive.php, and search.php.

    Thanks so much for any insight you can offer.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to make a conditional sidebar with Sidebar Generator?’ is closed to new replies.