Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Right now I’m writing it into the plugin file.

    I’m building on top of the Salutation BP theme from themeforest:

    The theme uses create_page_layout() to generate layouts as design-{name}.php
    When I check for is_front_page() in design.php (the layout that is being called by index.php) it runs the code.

    Fixed it by using a display none on the home-page body class. Not elegant but it works.

    Thanks for your help!

    is_front_page(){//code} also doesn’t run the code in the conditional block

    I’ve tried running it with if is_home(){ // some code } and the code doesn’t run. My guess is that it’s because its in a widget on the home page sidebar? Could this be? Is there any conditional function to check for this?

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar