Only first set of Custom Widget Showing
For some reason in my site www.sellfed.com my footer widgets do not show up if I have header widgets. I use Widget Logic to set up which page I want them to show up on using is_page()
The first set shows up, then if I add another to the same widget for a different page under the first one or put widgets in footer they don't show. Is there some reset code I need to put someplace? where? what? ( <?php wp_reset_query(); ?> ) is this it? will it screw up the rest of the page? I a am using Juggledad Template (wonderful), widgetlogic (recommend), Atahualpa 3.7.3 (wonderful), Wordpress 3.2.1 |
I'm not seeing a problem. you are going to have to give a detailed explaination, what widget is where and what the widget logic code is for each.
|
Thanks,
There is a four part widget "footer widget 1 -4" that does not show up. I have the following content in footer widget 1 <br> <center><a href="http://sellfed.com/what-we-do/reputation-management/>Reputation Management</a></center><br> Test Widget in the Footer 1 home is_page(7) being used in widget logic (the home page called Federal Sales Methods) In under-header 1 I have <br> <center><a href="http://sellfed.com/what-we-do/coaching/>Coaching</a></center> (widget logic is set to is_page(33) which is My "What We Do" page) In under-header 1 I have <a href="http://sellfed.com/what-we-do/"> <img src="http://www.sellfed.com/content/fed-logos-1.jpg" alt="what we do" /></a> (widget logic is set to is_page(50) which is my Experience page) The ones that show on the home page look great in under-header 1,2, and 3 (photos) |
go to ato->export/import settings, export your settings and attach them to a reply using the paper clip icon
|
1 Attachment(s)
Here you go
|
What do you have in the footer widgets? Any widget logic?
|
In footer widget 1
<br> <center><a href="http://sellfed.com/what-we-do/reputation-management/>Reputation Management</a></center><br> Test Widget in the Footer 1 home now is_page(7) in widget logic |
you need a closing double quote
|
that fixed the header problem
Now I have exact same code in footer widgets 1-2 as I do in 1-2 header widget, same widget logic is_page(7) On home page. No footer widgets showing anywhere in theme pages. I added a page without theme "test page" and the footer widget worked. same code for header widget 3 in footer widget 3 on test page. |
Did you check ALL your code for missing double quotes?
|
I did not see any open "
All widgets work when they are added via widget logic "is_page(array(x,y,z))" to page with default template. Both header and footer widgets. I dragged them back and forth from header to footer in all combinations. It's only on the templated pages that I have trouble with them when I drag them to the footer widget areas. I set up a new page with Supercharge Template and it was all OK, it works, Set up an new JuggleDad page and no go.. |
Try this, edit the template and change the line
HTML Code:
$number_of_columns = 1; HTML Code:
$mccq_page = new WP_Query('page_id=' . $post->ID); /* save the page id */ HTML Code:
<?php endif; /* END of: If there are no posts */ ?> HTML Code:
<?php endif; /* END of: If there are no posts */ ?> |
This worked, thanks! :)
|
All times are GMT -6. The time now is 09:53 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.