Adding a 2nd sidebar for one static page
-
Hello Members,
I made an attempt to create a 2nd sidebar that I want to use on one of my static WP pages. I did the following:
1. Created a template page from the index.php file within my twentyTen themes folder.2. I replaced the code, <?php get_sidebar(); ?> with <?php include (‘sidebar2.php’); ?>
3. Created a sidebar2.php file and added the styling, etc.
It worked very well and replaced the current sidebar with sidebar2 on the page that I needed.
My big problem now is, it has “Posted on November 13, 2010 by admin” at the top of the page and “Leave a comment” on the bottom of the text that was added within WP.
I was able to remove these widgets for the other static pages, however, I don’t know how to remove them again from this new page when it loads from the template file.
Thank you in advance for your help
Regards,
Frank
- The topic ‘Adding a 2nd sidebar for one static page’ is closed to new replies.