-
issue of missing index code
hi,
I want to put this php code in index.php
<?php if (function_exists('easing_slider')){ easing_slider(); }; ?>
this code is for shows an images slider plugin on a desired part, I want to put it to appear only on the index page above the listed posts, I can do it with the WP default theme for example, but I canīt do it in socrates 3.0 beta, of course so I achieve to put it above the listed posts in socrates but the image slider perforce appears also in every page even in "contact me" page, I think in socrates does not have the part of CODE that allows me to put the slider only above the listed posts in the index, excluding the pages.
PS: I think it maybe will be not necessary considering the new magazine features of socrates but anyway I would be know a solution. Because also some wp plugins work in this part of code, you could add this part of code to the new version
waiting for your reply, Andrew
-
You just need to add a conditional tag to it for the front page.
http://codex.wordpress.org/Conditional_Tags
I would just stick with the magazine one layout, the more slider code and plugins you add to your site, the slower it will get.
Similar Threads
-
By Sammy in forum Troubleshooting
Replies: 11
Last Post: 06-05-2011, 03:19 PM
-
By EHiatt121 in forum Optimization
Replies: 9
Last Post: 03-14-2011, 11:04 AM
-
By champion in forum Official Support
Replies: 1
Last Post: 11-02-2010, 06:27 AM
-
By champion in forum Community Support
Replies: 3
Last Post: 11-01-2010, 09:11 PM
-
By andrewstark in forum Community Support
Replies: 3
Last Post: 06-28-2010, 04:02 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|