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 » Plugins & Atahualpa »

[SOLVED] Slideshow doesn't show in header area


  #1  
Old Oct 25, 2011, 03:31 PM
guaccio2209
 
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.
  #2  
Old Oct 25, 2011, 04:30 PM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Oct 26, 2011, 04:02 PM
guaccio2209
 
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 04:17 PM.
  #4  
Old Oct 26, 2011, 04:34 PM
lmilesw's Avatar
lmilesw
 
10,176 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.
  #5  
Old Oct 27, 2011, 06:30 AM
guaccio2209
 
9 posts · Oct 2011
Ok thx i got it!!! problem solved.

Thanks for the quick answer!problem solved.

Bookmarks

Tags
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 10:16 AM
[SOLVED] NextGEN Slideshow: Images don't show up in sequence jillin Plugins & Atahualpa 8 Nov 13, 2010 04:02 PM
Creative ideas for d13 Slideshow or other Slideshow theadventurebite Plugins & Atahualpa 0 Jun 16, 2010 02:30 AM
Slideshow from Header Thegameover Header configuration & styling 9 Jun 3, 2010 05:22 PM
[SOLVED] aligning slideshow gallery within custom widget area rinoa3108 Header configuration & styling 3 Dec 30, 2009 03:46 AM


All times are GMT -6. The time now is 09:07 AM.


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