• I’m setting up a video podcast using wordpress 2.51. The podcast will have one new video a week but I want to create a daily blog that keeps people visiting on a regular basis. The blog will just have links to other sites instead of a brand new video. I don’t want any of the blog posts to show up on the main site, just in the blog page, which is a separate category.

    I was thinking of doing it like this:

    site.com -> main podcast site
    site.com/blog -> daily blog

    However, I don’t want to set up two separate wordpress installations if I don’t have to. Is there any way to do this under one wordpress installation?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yeah, Categories.

    you want your vidcast on your main page, and you want your blog posts on /blog, right?

    so check out: https://codex.www.ads-software.com/Template_Tags/query_posts

    You can use that to extract posts from the ‘videos’ category into a page template.

    Then what you want is to use the feature in the wordpress options to make that page, with the page template that extracts posts from the videos category to be your MAIN page.

    Then you make a page called ‘blog’ and set that as your posts page in options.

    Job done.

    Thread Starter clockworkjoe

    (@clockworkjoe)

    Care to elaorate? How do i set up a page that only lists one category or keep the main index from listing the daily blog posts?

    yeah, sorry I went back and edited once I realised it may not be as obvious as I thought.

    check out this link as well: https://codex.www.ads-software.com/The_Loop

    the basic idea is to start off with a page called ‘videos’ which extracts your videos from the videos category using a custom loop (via query_posts, and a custom page template in your theme).

    and then you want a blank page called ‘blog’.

    then in options/reading you specify the videos page as your homepage, and the blog page as your posts page.

    there, I think that’s clearer – sorry my post content often reflects the chaos around me when I write them.

    Thread Starter clockworkjoe

    (@clockworkjoe)

    One question. Both the video and blog category will have categories under them.

    Video
    Video A
    Video B
    Video C

    Blog
    Blog A
    Blog B
    Blog C

    etc.

    If I just use the parent video and blog tags for this looping stuff, will it take the child categories as well?

    yes, absolutely…

    in fact, you don’t really need to worry about the blog part.

    if you extract the video category, all the children will be included on the video page… and that’s where the restriction ends.

    on the blog page, the ‘video’ category is excluded, and so are its children, but all other main categories are still available, so you don’t specifically need a ‘blog’ category.

    *all* other categories become regular blog posts.

    Thread Starter clockworkjoe

    (@clockworkjoe)

    One last question: how will the RSS feeds be handled? I know you can get RSS feeds for specific categories but can you generate a feed for the blog and main video site?

    sure.

    Basically, the main video page is a category, right? so you generate a feed for it by pointing to /category/videos/feed

    you can exclude the videos from your blog’s RSS feed, by building your feed link with the category exclusion in it.

    For example: yoursite.com/feed?cat=-70 where 70 is the category ID of the videos parent category.

    if you didn’t want to put this into the actual link, I’m sure there are at least 3 plugins to do this for you in the background.

    this stuff takes a tiny amount of fiddling, but it really beats having two installs of wordpress, 2 cookies, 2 logins to do anything, 2 upgrades for new versions, 2 sets of plugins, etc etc etc.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Secondary blog under main wordpress installation’ is closed to new replies.