WordPress.org

Ready to get started?Download WordPress

Forums

problem with is_front_page() || is_page('home') when used within a function (2 posts)

  1. keyaspects
    Member
    Posted 3 years ago #

    Hi, I'm trying to use is_front_page() or is_page('Home') within a function to change the excerpt length.

    However all I'm getting back is what is stored within the else.

    If I do a one line if statement there excerpt results in 0..
    any help would be appreciated.
    cheers

  2. keyaspects
    Member
    Posted 3 years ago #

    code so far is here. http://pastebin.com/xr2w81et

Topic Closed

This topic has been closed to new replies.

About this Topic