Skip to:
Content
Pages
Categories
Search
Top
Bottom

Proper Blog Setup


  • driz
    Participant

    @driz

    Hi, I’m in the middle of developing a Magazine that uses MU’s blogs for the different sections, and then the home page will be like the portal. The main site blog is for site news. BUT I’m struggling to get it to do what I want.

    First I want it to be done so its /blog/ for the blog page, and then /blog/archives/ for the blog archives like has been done on BuddyPress.org

    How do I do this thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • It should work like that by default. What is it working like at the moment?


    driz
    Participant

    @driz

    Well the development version is here http://paperviewzine.com/blog/ but the problem I am having is that WordPress is treating both the home page and the blog as HOME so when I use is_home() it is conditioning both.

    How do I create the archives, and how I create the proper titles for the sections so for example: MY SITE — BLOG — TITLE or MY SITE — BLOG — ARCHIVES

    I don’t want to use built-in functions, rather I want to code the titles myself.

    Also how do I get the feeds to link to the blog? having the url as /feed/ to the root site is misleading when it is the blog feed and NOT a site-wide feed.

    I’m sure there’s another function check to catch that. I’ll look when I get home, can’t remember off the top of my head.

    What about something using…

    if ( is_home() && bp_is_page( 'home' ) ) {

    } else if ( bp_is_blog_page() ) {

    }


    driz
    Participant

    @driz

    The code feels a little hacky, but it does work so thanks.

    How do I add the archives then? And also fix the feed URL to be relative to the blog instead of the whole site? Thanks again.

    Don’t how this site’s archives page set up. Maybe something to do with pretty urls?

    Relative RSS feed URLs – I don’t know and you will almost certainly have to edit/create a custom theme.


    driz
    Participant

    @driz

    Bummer would really love to know how that archive is created.

    Any ideas on how the relative feeds could be created though, I am using a custom Theme anyways, but I have no idea how to go about creating the feed though.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Proper Blog Setup’ is closed to new replies.
Skip to toolbar