WordPress.org

Forums

Category post location (6 posts)

  1. cdages
    Member
    Posted 8 years ago #

    Hi

    First off let me tell you I know absolutely nothing about PHP and a fairly new user of WP of about 3 mos.

    I am trying to create a new category that is not related to the main blog theme.

    I can create the category, and get a post into it. Problem being that it shows up on the main page of my blog, as well as the category itself. It is treating it as a regular post. Been reading forum for answers and haven't found the answer I need.

    Was thinking maybe since the theme I am using doesn't have parent/child pages, that may be the problem?

    I really wanted to create another blog, but didn't want to do another full install and use another MySql DB. All the remedies for that sounded pretty complex for someone with no PHP knowledge.

    Thanks
    Cindy

  2. vkaryl
    Member
    Posted 8 years ago #

    You don't have to do another db - you do another install, yes, but in the wp-config.php file you give the tables a different prefix so it's a different blog entirely.

    Yes there are ways to exclude categories and posts in those categories from displaying, but honestly, setting up a second wp install with a different db prefix is way simpler.

  3. cdages
    Member
    Posted 8 years ago #

    vkaryl,

    Thank you for the reply. Couple more noobie questions. Can you give me an example of a different prefix for the tables? Do you mean like the blog name? I installed in a directory that was the name of my blog instead of the default WPblog type directory.
    And how do you keep the 2nd install from automatically making another DB?

    Thanking you in advance for the help.

    Cindy

  4. vkaryl
    Member
    Posted 8 years ago #

    Sure....

    Your original wp install would have set itself up as (probably) table prefix wp_ - verify this by looking at wp-config.php.

    So you can make a subfolder on your webspace, naming it "blog2" or whatthehellever, and in the wp-config.php file for that install, you use the same database info as the first install, but where the file asks for "prefix" info, you input blog2_ (using whatever you like for the prefix).

    Done this way, the second install doesn't even get the option of making a second db.

    [Really though, if you're with a host only allowing 1 db, you might look into other hosts - that's so far back in the 90's it's not funny....]

  5. cdages
    Member
    Posted 8 years ago #

    vkaryl,

    lol OK, no I have 5 DB available but didn't want to tie one of the 2 I have left with another blog in case I really needed them for something else.

    I think I understand now, and I really appreciate your help, thank you very much.

    Cindy

  6. vkaryl
    Member
    Posted 8 years ago #

    Well, if you get stuck again, post back. I'm off here shortly - it's late - but others should be able to help.

Topic Closed

This topic has been closed to new replies.

About this Topic