Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Slideshow doesn't show in header area

Old Oct 25, 2011, 04:31 PM
9 posts · Oct 2011
Hello everybody, i have a little problem.

I'm tryng to show into my homepage(blog) a slideshow(meteor slideshow).
This is working when i insert it in a page with the shortcode, and as a widget.
But he don't show up when i put the correct code into the header area:

I tried to put it after the logo section and after the %image(that i don't actually use)...this is the code into the Configure Header Area, like i saw it in a few posts in this forum.
%logo <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?> %page-right

Not necessarly i've to put it in the logo area, even the %image can be fine, but i need this slideshow to works.
The link to my site is HERE, i've coloured in black the logo area so you can see when i want to put the slideshow.

P.s: i'm using the latest version of WP and Atahualpa.
Old Oct 25, 2011, 05:30 PM
juggledad's Avatar
23,737 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can not use php in the header area due to a wordpress requirement except for the new widget area code (because of the way the theme parses it.

So remove the code '<?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>' and put in the new widget area code, add a text widget to the new widget area and add your code to the text widget.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Oct 26, 2011, 05:02 PM
9 posts · Oct 2011
OK, thx for the reply,you are very gentle
My next question now is...how can i put the widget area into the header section?
'Cause i've posted this code after the %logo : <?php bfa_widget_area('name=My new widget area'); ?>
But nothing is happening.
How can i create a text widget to insert my php function for slideshow?

Btw, congrats for this theme, it is very professional and useful.

Last edited by guaccio2209; Oct 26, 2011 at 05:17 PM.
Old Oct 26, 2011, 05:34 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
Putting the code as you have it should have created a new widget area called My new widget area in Appearance>Widgets. You can make that widget area a different name by using different words in that part of the code.

Now you can put a php aware widget such as the Linkable Title Html and Php widget and put the php code for the Meteor slideshow in it.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Oct 27, 2011, 07:30 AM
9 posts · Oct 2011
Ok thx i got it!!! problem solved.

Thanks for the quick answer!problem solved.


header, plugin, slideshow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to add a JQuery slideshow to the header or just below the header image GRF Header configuration & styling 3 Aug 22, 2011 11:16 AM
[SOLVED] NextGEN Slideshow: Images don't show up in sequence jillin Plugins & Atahualpa 8 Nov 13, 2010 05:02 PM
Creative ideas for d13 Slideshow or other Slideshow theadventurebite Plugins & Atahualpa 0 Jun 16, 2010 03:30 AM
Slideshow from Header Thegameover Header configuration & styling 9 Jun 3, 2010 06:22 PM
[SOLVED] aligning slideshow gallery within custom widget area rinoa3108 Header configuration & styling 3 Dec 30, 2009 04:46 AM

All times are GMT -6. The time now is 10:37 PM.

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