Support » Plugin: » in WordPress 3.0 Multisite with subdirectories

  • Resolved brianglanz


    Out of the box in this scenario, navigation menu items ‘COMMENTS’, ‘COMMENTERS’, AND ‘GENERAL COMMENTS’ send you back to the root domain onclick.

    Those links need an href aware of the site’s location. They are lis in the front_menu ul, in the top_bar div, in header.php, lines 101, 103, and 105.

    Without thinking much about it, I saw the apparently equivalent links in the ‘CommentBrowser’ widget worked and on line 101, changed the href from
    "<?php echo $this->wp_path; ?>/?comment-browser=posts"

    but that gives Fatal error: Using $this when not in object context in…

    Instead, to get them working change the relevant bit of line 101 to…

    <a href="<?php echo home_url( '/' ); ?>?comment-browser=posts"

    and equivalents in 103 and 105.

    Thank you @visudo et al. BG

Viewing 1 replies (of 1 total)
  • Thanks.

    Paragraph rss feeds were also broken in the same way, and I fixed this by updating



Viewing 1 replies (of 1 total)
  • The topic ‘ in WordPress 3.0 Multisite with subdirectories’ is closed to new replies.