Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Sidebar widget for specific pages


  #1  
Old Jun 8, 2011, 10:28 PM
bluewombat
 
2 posts · Jun 2011
Hi,
I looked for a Text/HTML widget which would display only on certain pages, and I could not find one.
So I have used functions/bfa_subscribe.php as a template and created functions/bfa_flextext.php
Feedback welcome. If the developers want to add it to the base, that would be ideal.

The idea is that if you want a couple of variations of a text or html area with one appearing on some pages and one appearing on others, this lets you do it. You can add multiple instances to a single sidebar. There are two modes - show on specified pages and suppress on specified pages.

Download for a short time only from http://www.clari.net.au/bfa_flextext.php.gz

Danny
  #2  
Old Jun 9, 2011, 03:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can use the 'widget logic' plugin to do this. It adds an area to each widget you can add a conditional to. So if you want to see the widget only on page 8, you would use Something like
HTML Code:
is-page('8')
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 18, 2011, 08:54 AM
Douglas
 
15 posts · Apr 2010
The most powerful, and easy-to-use plugin for controlling when widgets display seems to be the Dynamic Widgets plugin (http://wordpress.org/extend/plugins/dynamic-widgets/). Unlike with Widget Logic, you do not have to know how to craft PHP conditional statements. I had Widget Logic installed for a long time but wasn't comfortable with trying to learn the coding syntax. With Dynamic Widgets I was able to implement what I wanted very quickly.
  #4  
Old Oct 14, 2011, 04:44 PM
aravere's Avatar
aravere
 
56 posts · Sep 2010
rural Virginia, US
Quote:
Originally Posted by Douglas
The most powerful, and easy-to-use plugin for controlling when widgets display seems to be the Dynamic Widgets plugin (http://wordpress.org/extend/plugins/dynamic-widgets/). Unlike with Widget Logic, you do not have to know how to craft PHP conditional statements. I had Widget Logic installed for a long time but wasn't comfortable with trying to learn the coding syntax. With Dynamic Widgets I was able to implement what I wanted very quickly.
The address above doesn't work, but these do:
-Plugin homepage: http://www.qurl.nl/dynamic-widgets/
-WordPress plugin page: http://wordpress.org/extend/plugins/dynamic-widgets/
__________________
I am using WP 3.5.1 and ATA 3.4.6

Bookmarks

Tags
sidebar, widget



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] text size in pages sidebar widget not the same for 1st and 2nd level pages Chrisrush Sidebars & Widgets 6 Oct 18, 2010 12:26 PM
How to restrict the sidebar widget container to a specific size? Basil33 Sidebars & Widgets 1 Aug 25, 2010 08:30 PM
How to assign a unique color to widget-box title borders of a specific sidebar? wordy_gurdy Sidebars & Widgets 5 Aug 9, 2010 03:15 PM
"RIGHT sidebar: Don't display on Pages" on children of specific parent Sprutt Sidebars & Widgets 1 Mar 23, 2010 04:12 PM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 09:23 AM


All times are GMT -6. The time now is 02:05 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.