go41

Re: Restricting Sidebar Ad Views :: Reply by master

von Joern am 14. Feb. 2011 | Keine Kommentare

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 like

Code:

...|| !dynamic_sidebar('Sidebar Top')...

...|| !dynamic_sidebar('Sidebar Left')...

...|| !dynamic_sidebar('Sidebar Right')...

etc

having the same name in sidebar and in functions.php will not make a problem like this.
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 3 weitere Ergebnisse dieses Threads:

Restricting Sidebar Ad Views

14. Feb. 2011 (von: raf_79)

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…

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…

Autor:

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: