Forum Replies Created
-
AuthorPosts
-
Steve Cooke
ParticipantSorry for the delay, a review – consider it done! Thanks once again for all your help.
Steve Cooke
Participantvar_dump( in_the_loop() );on line #5 of that page returnsbool(false)(switching it to line #7 returns true).I had in fact already updated to Connections 0.7.9 this morning and I’ve just installed the version of the Widget Pack that you’ve kindly e-mailed to me. I’m pleased to say that it is now all working perfectly!
I can’t thank you enough for the speedy response on this. Cheers! The only question I have now is, do I need to worry about future updates to the widget pack undoing this?
Steve Cooke
Participant…just to add to that – I’ve tried including that
dynamic_sidebar('home-widget-area2')both right at the end of footer.php and also as the first thing after the nav in header.php just to see if it made a difference. The links are still built as/name/joe-bloggsfor some reason. I guess it must be something else in the theme’s functions that’s causing the problem.Any suggestions? I’d probably be happy to employ a hack for this project, even if it meant somehow hardcoding that /staff-directory/ prefix into all links?
Thanks again for looking into this.
Steve Cooke
ParticipantI see, that makes sense. The widgets could well be within the loop. I’m using some pre-defined widget areas in a theme that I’ve picked up from here: https://github.com/helpful/helpful-intranet (I don’t expect you to get involved in debugging that of course).
If you could pass your eyes over this single page template and see if it gives you any clues/confirms your suspicion, that would be a great help.
This is the code of page-home.php and the widgets are in the
dynamic_sidebar('home-widget-area2') -
AuthorPosts
