Restricting Sidebar Ad Views

von Joern am 14. Feb. 2011 | Keine Kommentare

I use a FF plugin (Dynamic Widgets) to control which sidebar widgets show up on the pages of my site. The sidebar ad although viewed in the sidebar is not in a widget so I can’t control the pages it shows up on this way. What coding would I use to accomplish this same result another way?
Thank you in advance for your help with this.

(von: raf_79)

Hier noch 3 weitere Ergebnisse dieses Threads:

Re: Restricting Sidebar Ad Views :: Reply by master

14. Feb. 2011 (von: master)

to get a 'widgetized' div id="sidebar-ads" you have to edit sidebar.php and also functions.php in your theme foldermodify sidebar.php in div id="sidebar-ads" close to the top to look like this:Code:<div id="sidebar-ads">   <?php /* Widget Sidebar Top Extra */ if (…

Re: Restricting Sidebar Ad Views :: Reply by raf_79

14. Feb. 2011 (von: raf_79)

Thank you much. This worked quite well except for the following...The contents of all the widgets were knocked out of order and I had to enter what I wanted in the new widget in the last footer widget in the…

Re: Restricting Sidebar Ad Views :: Reply by master

14. Feb. 2011 (von: master)

thank you for the hint, did not think about that.that is helpful!That's why I do not just number the part in sidebar but give all widgets the correct name likeCode:...|| !dynamic_sidebar('Sidebar Top')......|| !dynamic_sidebar('Sidebar Left')......|| !... Weiterlesen →


Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: