WordPress.org

Ready to get started?Download WordPress

Forums

EvoLve
[resolved] Carousel On Main Page Only (2 posts)

  1. KelseyCurran
    Member
    Posted 1 year ago #

    Hi, I love the carousel, but it's too big for my subpages. I'd like it to appear on the index/main page only. How can I do this? I was looking through the PHP and can't figure it out ....

    http://www.sfheat.org/wp/

  2. wozie
    Member
    Posted 1 year ago #

    Hi,
    I have been playing with this and have ended up with doing this:
    In EvoLve settings (im not sure if this makes any difference but put it anyway):
    Select layout - blank
    No. of widget cols in header - 1
    Widget placement - Home page
    General styling:
    Enable bootstrap elements - on

    Open the file: header.php

    Find:
    if ((is_home() && $evl_header_widgets_placement == "home") || (is_single() && $evl_header_widgets_placement == "single") || (is_page() && $evl_header_widgets_placement == "page") || ($evl_header_widgets_placement == "all")) { ?>

    And replace with:
    //if ((is_home() && $evl_header_widgets_placement == "home") || (is_single() && $evl_header_widgets_placement == "single") || (is_page() && $evl_header_widgets_placement == "page") || ($evl_header_widgets_placement == "all")) {
    if (is_front_page() == "true") {
    ?>

    This checks if the page being viewed is the front page, if so display the stuff below, if not it displays nothing.

    Hope it works for you too...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.