[SOLVED] Post by Post Sidebar Generator Widget?
I just plugged in the Sidebar Generator Widget which allows me to create unique content sidebars and assign each sidebar on a page by page or post by post basis via a drop down menu in the write/edit post page.
I was originally using Widget Logic to accomplish the general goal but I found myself copying the same code over and over since I wanted several instances of the same widget(s) on maybe 5 pages and not on the rest. With this I make one sidebar fill it with a widget(s) and then assign it to a page then... go to the next page without having to revisit the widget page every time I want to add or subtract sidebar information from a page. HOWever, The plugin requires I switch each instance of dynamic_sidebar to generated_dynamic_sidebar in the sidebar.php (which ATA 3.4.4 doesn't seem to have). Went to the functions.php file and found the term twice. When I switched them, the new sidebar was created but it filled every instance of the new widgets I'd created with the "add widget area" formula. It didn't show up in the L, LI, R, RI sidebars. I'd like to be able to control the 4 original (L, LI, R, RI) positions with this plugin. Would that be possible and are there parts of the code I should just never touch? Thanks much, Rashell BTW-- This theme is absolutely intense. My website looks very simple from the front but most importantly it doesn't look like a blog. That is until you get to the posts and you see "bloggy" style formatting (on purpose). Very cool!!!! |
Was able to get it to work (sort of)... I haven't figured out where the "Right Sidebar" php is so I've only been able to test out how it functions on the left hand side. Here's what I did...
In header.php I changed PHP Code:
PHP Code:
I'm off to search for the "right sidebar" php... Rashell BTW- Another thing I noticed... whichever sidebar you configure as a "generated" sidebar will no longer work as a "traditional" sidebar. So, if I put a widget into the original ATA "Left Sidebar" widget panel (in Appearances --->Widgets) nothing would display on my site. I have to use the "generated sidebar" to configure that sidebar space. (hope that makes sense) |
well duhhhh. One was in the header.php the other is in the footer.php
Rashell |
I just found a plugin that's even easier than this and doesn't require any changes to the .php since it uses the same coding stuff that widget logic does. It's called TS Custom Widgets. With it you can assign/restrict multiple pages, posts, categories, etc from a single admin panel with radio button selections. The only problem... it is registered as ready for up to WP 2.7.4 (but it works fine on most current version).
|
All times are GMT -6. The time now is 05:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.