WordPress.org

Support

Support » How-To and Troubleshooting » problem with is_front_page() || is_page('home') when used within a function

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

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘problem with is_front_page() || is_page('home') when used within a function’ is closed to new replies.
Skip to toolbar