Support » Networking WordPress » is_home() retunrs true for wp_signup.php

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    It’s running an ‘If NOT any of these… THEN treat as is_home.’ Why do you think it’s a bug? What isn’t happening that you expect to happen?

    Koff

    (@orenkolker)

    I met this issue when trying to make wp_signup.php to look like inner page.

    It took some time to get to that because is_home() is true, the body class includes home and therefore looks like home while I expected it to look like inner page.

    The other problem I see with this is that by the codex:

    This Conditional Tag checks if the main page is being displayed

    And one may use this in a plugin thinking he is hacking the main page, while hacking other pages as well.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Ah, okay 🙂 The signup page is intended to act as the outer page on a multisite, since you’re signing up as a part of the network

    Read http://wpmututorials.com/plugins/style-your-signup-page though…

    Are you trying to style signups per site, or just for the network?

    (Also moving this to MultiSite for better localized traction)

    Koff

    (@orenkolker)

    Thanks,

    I encountered this with MultiSite signup.
    And this Almost solve network signup, Its till needs a tweak for RTL.
    And There comes the same problem for wp_activate.php And maybe some more ( I didnt check)

    This dose’t look like the “right” solution to me.

    What about plugins that uses is_home() or is_front_page() ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    I get that it’s multisite signup, I’m asking if you’re trying to style the pages for signups per SITE or for the network as a whole 🙂

    Koff

    (@orenkolker)

    network

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    By default, those pages will grab the design from your main site. Is THAT theme using RTL?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    By default, those pages will grab the design from your main site. Is THAT theme using RTL?

    Koff

    (@orenkolker)

    Design from the main sites homepage as in oppose to inner page.

    And yes RTL is used.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    What do you mean by ‘inner page’? The main site is whatever theme you have at domain.com – Inner pages (i.e. pages from your main site) are still using that theme. SUB SITES may not be.

    Koff

    (@orenkolker)

    I mean inner page of the main site. (index.php)
    as in oppose to homepage of the main site (home.php)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    You’re talking theme file names and not front end post/page names.

    http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

    Again, the INNER page of your site is still a part of the THEME you’re using for that site. That does NOT change, unless you did something to make your home.php or front-page.php vastly different.

    Koff

    (@orenkolker)

    Yeap.

    Something like different background.

    The header is Dark blue.
    And The page is white

    while the homepage is Dark blue.

    Then the signup page is surprisingly Dark blue because is_home = true

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Okay so Read http://wpmututorials.com/plugins/style-your-signup-page

    You can you that to restyle it.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘is_home() retunrs true for wp_signup.php’ is closed to new replies.