Please Read First
Troubleshooting Tips
Frequently Asked Questions
Note: Appearance issues are often caused by caching plugins.
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
IMPORTANT: If after forum login, you appear logged out, click on "New Posts". You should show as logged in then. It's a Vbulletin bug.
Forum Video

Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Posts
    15
    Rep Power
    0

    Question 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

  2. #2
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,997
    Rep Power
    14

    Default

    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

  1. Google De-Index
    By Sammy in forum Troubleshooting
    Replies: 11
    Last Post: 06-05-2011, 04:19 PM
  2. Google Index
    By EHiatt121 in forum Optimization
    Replies: 9
    Last Post: 03-14-2011, 12:04 PM
  3. Index domain name
    By champion in forum Official Support 3.0
    Replies: 1
    Last Post: 11-02-2010, 07:27 AM
  4. please advice I want my index page look the same
    By champion in forum Community Support
    Replies: 3
    Last Post: 11-01-2010, 10:11 PM
  5. index is redirecting to /about
    By andrewstark in forum Community Support
    Replies: 3
    Last Post: 06-28-2010, 05: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
  •