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

Plug-in on static front page only


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

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old May 12, 2010, 09:19 PM
tkeller
 
14 posts · Jun 2009
I have a slideshow plug-in (smooth slider) which I would like to appear on my stand-alone static front page only. My blogs are actually on a different page.

Where would I insert this code, or add to it, to make this work out right?

if ( function_exists( 'get_smooth_slider' ) and is_home() ) {
get_smooth_slider(); }
  #2  
Old May 13, 2010, 04:49 AM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
what version of Atahaupa and WP?
what is the url?

you could use the 'Exec-PHP' plugin and put that code on the page...
  #3  
Old May 13, 2010, 09:27 AM
tkeller
 
14 posts · Jun 2009
WP 2.9.2 and Ata 3.4.6. I didn't know about exec-php, I'll check that out
  #4  
Old May 20, 2010, 04:09 PM
inkan's Avatar
inkan
 
22 posts · Dec 2009
Jönköping, Sweden
Send a message via Skype™ to inkan
tkeller,
I did exactly what you are asking for - if I understand you correctly. It is here: http://www.bjuroklubb.se/

In the Atahualpa Theme Options, choose Style & edit CENTER COLUMN.

In the Content ABOVE the LOOP box, type the code. You can use mine as example:

Code:
<?php if(is_front_page()) { ?>

<?php
  $content = "[smooth=id: 4; width:500; height:200; timed:true; arrows:true; carousel:false; links:true; info:true; align:center; frames:false; delay:11000; transition:fade;]";
  smooth_show($content);
?>
<?php
}
?>
The green part is the smooth slider code. The php code if(is_front_page()) before the green code and the end bracket is the trick for making it show only at the first page.

I hope it helped!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
static front page, page title on header, remove content but keep sidebar questions Magic Atahualpa 3 Wordpress theme 0 Jan 25, 2010 12:12 AM
Default Non-static Front Page (Home Page) Is Missing (Atahualpa Theme) SavvyBaker Center area post/pages 0 Jan 18, 2010 04:02 PM
[SOLVED] Posting Static content for my Front Page supergper Atahualpa 3 Wordpress theme 3 Dec 10, 2009 06:37 AM
How Do I Add Recent Post To A Static Front Page??? Sunmarket Excerpts, Read more, Pagination 2 Nov 23, 2009 07:56 PM
Inserting Excerpts into Static Front Page Mac Excerpts, Read more, Pagination 0 Feb 28, 2009 04:30 AM


All times are GMT -6. The time now is 06:24 AM.


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