Out of the box in this scenario, digress.it navigation menu items ‘COMMENTS’, ‘COMMENTERS’, AND ‘GENERAL COMMENTS’ send you back to the root domain onclick.
Those links need an href aware of the digress.it 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
- The topic ‘digress.it in WordPress 3.0 Multisite with subdirectories’ is closed to new replies.