Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter grishart

    (@grishart)

    Hi
    Thanks that has worked great. The only problem I am having is in one of the blogs that I have set up to only show a certain category. (I have set up a template file called ‘category-create-2.php’ that has a different design to the other blog) However when I click on to a story from the create blog it show in single.php which is in the design of the other blog. Should I set up a ‘single-create-2.php’ with `<?php
    /*
    Template Name: category-create-2
    */
    ?>` at the top of it so the category blog doesn’t revert to the other hierarchy?

    Sorry if this post doesn’t make sense, If more details are required please let me know.

    Thanks for your time

    No – single post templates don’t work in the same way unless you’re using custom post types. What you could possibly do is use get_template_part along with in_category to load different single loop templates.

    Thread Starter grishart

    (@grishart)

    Hi
    I am not sure I understand is it better to use two installs of WP if the two blogs have a different design template? As all looks good until I click on the post or read more and then it uses the single.php which looks like the other blog. It has the header and footer the same but uses a custom sidebar so not sure a get template part would work?

    Thread Starter grishart

    (@grishart)

    Hi Should I be looking at the achive.php or index.php to do this and get read of the single.php?
    thanks

    Did you have a look at the two links I posted above?

    Thread Starter grishart

    (@grishart)

    Hi
    Yes thanks, but they say it can’t show a different side bar depending on the page you are on. so would show the list of recent posts from the other blog.

    I can’t seem to get to the bottom of it and think it may need a second install of wordpress.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘two blogs on one wordpress installation’ is closed to new replies.