Please Read First
Troubleshooting Tips
Frequently Asked Questions
Before Posting Please Disable Wp Super Cache Plugin
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
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,452
    Rep Power
    12

    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, 03:19 PM
  2. Google Index
    By EHiatt121 in forum Optimization
    Replies: 9
    Last Post: 03-14-2011, 11:04 AM
  3. Index domain name
    By champion in forum Official Support 3.0
    Replies: 1
    Last Post: 11-02-2010, 06: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, 09:11 PM
  5. index is redirecting to /about
    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
  •