• Resolved tmmslynn

    (@tmmslynn)


    Hi everyone,

    I am trying to add a slider to one page on my site. I was able to add it to the main page using <?php if ( is_front_page() && function_exists('easingslider') ) { easingslider(2627); } ?> but I don’t want to add it to the front page. I want to add it to my news page. Here is the link to the page where I want to add it https://tmmslynn.com/marshall-news/

    Any help would be appreciated.

    Jonathan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Your header file currently has a syntax error. Anyway, determine the ID of your news page. It’s in the URL that you follow to the edit screen. Lets say it’s 123. Change is_front_page() to this:
    123 == get_queried_object_id()

    Thread Starter tmmslynn

    (@tmmslynn)

    Thank you. I actually think i figured it out on my own. Do you know how I can make it so my horizontal scrolling announcement only shows on my home page?

    Thread Starter tmmslynn

    (@tmmslynn)

    Nevermind. I think I figured that one out too. Writing code is very new to me but I am learning as I go.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to find out function reference for specific page’ is closed to new replies.