WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
[resolved] Display on Homepage Only (6 posts)

  1. leoly
    Member
    Posted 1 year ago #

    My theme (newschannel) uses an index.php as it's homepage. Please where can I add the php code without messing up my site. When I add it to the index.php, it stretches out the content area and moves the sidebars down. However, if I add it to header.php (under nav access) it works well, the only problem is it shows up on every page and post.

    I want the slider to be flush with the menu, but show up only on the homepage.

    thank you.

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. leoly
    Member
    Posted 1 year ago #

    ended up adding this and it worked:

    <?php if ( is_home() ) { do_action('slideshow_deploy', '#');}  ?>

    The problem I have now is I made some css style changes to make the slideshow blend better. Is there a way to limit the css changes to the index page only. I don't have a page number for the index page.

    thank you.

  3. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    If you want the CSS changes to show up only when the slideshow is on the page, you could put them in the slideshow's custom stylesheet. You can learn how to create a custom stylesheet in the FAQ section.

  4. leoly
    Member
    Posted 1 year ago #

    Thank you.

  5. leoly
    Member
    Posted 1 year ago #

    I just noticed that in Firefox, my 10 slides show up and scroll. I have it set to display 5 slides, but in Chrome, IE and Opera, it only shows 6. The first 5 show correctly, but the 6th one is stretched to cover the entire slide. Strangely everything works fine in FF.

  6. leoly
    Member
    Posted 1 year ago #

    solved, it was a cache problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.