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