go41

Re: Restricting Sidebar Ad Views :: Reply by raf_79

von Joern am 14. Feb. 2011 | Keine Kommentare

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 dashboard for it to show up. To correct this I had to re-number in order the following line in both sidebar.php and footer.php:
Code:

if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar([b]1[/b]) ) : ?>

Start renumbering in sidebar.php first and continue through the end in footer.php.
Thought this might be helpful to anyone else who might try this.

(von: raf_79)

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 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 →

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: