Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Problem Customizing Widgets on Different Pages


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Apr 27, 2009, 02:12 PM
davidferris
 
3 posts · Apr 2009
Problem Customizing Widgets on Different Pages

I am trying to remove a particular widget from two of my pages. I've tried many things and can't seem to make it work. Could you help?

First I followed the directions on this thread:

http://forum.bytesforall.com/showthread.php?t=258

I loaded Widget Logic and tried pretty much every permutation of both Widget Logic's and your instructions.

I entered into Widget Logic these options
:
in_array( $post->ID, array(V, W, X, Y, Z) )

!in_array( $post->ID, array(V, W, X, Y, Z) )

is_home() AND !is_paged()

is_page('about') OR is_page('products')

...with each of these I input the proper page ID or name, and each time it didn't ...quite...do what I'd asked. Sometimes the widget in question would appear on just the homepage, and sometimes it would appear on some pages, but not the ones I specified.

I also tried entering the $wp_query->get_queried_object_id() option into Widget Logic, and that resulted in gibberish in the sidebar (gibberish to me, anyway).

Any suggestions? Thanks!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing widgets on pages mactony Sidebars & Widgets 45 Nov 1, 2010 01:06 PM
Problem with spacing above and below widgets paulae Sidebars & Widgets 6 Jun 18, 2009 03:15 PM
Odd padding/margin problem in sidebar with widgets GilbertCenter Sidebars & Widgets 2 Apr 6, 2009 12:15 PM
Customizing widgets Riddle36 Sidebars & Widgets 3 Mar 4, 2009 08:25 AM
Widgets on Pages (or not) Steve_T Sidebars & Widgets 3 Feb 10, 2009 08:13 AM


All times are GMT -6. The time now is 02:58 AM.


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