Skip to:

Re: Question about section in functions.php

John James Jacoby


Using that function would break your specific setup (which is nicely integrated now by the way.)

It basically looks to see if where the user currently is, is within the HOME_BLOG_SLUG area. If so, it then checks to see if they’re looking at a index/category/archive setup, or if they’re viewing a single post.

Since you have your main blog divided from the community how you do, and have some special routing of where things are and how to get there, I think you should be okay without this function.

One thing I noticed however, is that your test blog uses a subdomain, where as the main blog uses a sub directory. This may be the next hurdle in your install to figure out, because I’ve yet to see a situation that handled both smoothly.

Skip to toolbar