• My blog is all serious. I want to add a category to post about the fun stuff in my life that I current post elsewhere in my Windows Live Space. But, I do not want to add those fun posts unless I can shuffle them off to the side someplace. I want you to have to make a special trip to see them, like with a link.

    I also want to have a separate color scheme, if possible.

    What would be the easiest way?

    I would like to avoid making a separate blog entirely for this purpose, if possible.

    Thank you,

    X

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can hide a category from appearing in the menu by excluding it…

    Template Tags/wp list categories

    You can also use a plugin like User Access Manager to assign a category to a specific group of people who are allowed to see it.

    There is such a thing as parent themes and child themes but I have never tried it. You can get just about anything you want to display on the screen with Conditional Tags and Page Templates though.

    Thread Starter x-evolutionist

    (@x-evolutionist)

    Hi SS Minnow:

    I appreciate the information! I’m not brave enough to edit any of the php’s (yet). I’ll have to summon up some courage.

    Thank you!

    X

    Hi X,

    If your front page shows your blogposts of all your categories then you want to exclude the posts in your funstuff category from that, by editing index.php

    An example is found here: http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category

    Next, find the id of your category “funstuff” and remember the number.
    You do that by going into Dashboard/Posts/Categories and in the list hover over the category title; the id is readable in the browsers bottom bar.

    Now copy category.php within your themes folder and save it with the name category-10.php (if 10 is the id of funstuff).

    Then comes the styling. Styling is done in your css but for this specific template (category-10.php) to have a different styling you need to make the div id’s and the classes specific.
    So change <div id="container"> into <div id="container10">
    Change <div class="post" into <div class="post10" etc etc

    Next go into your style.css and copy the relevant blocks like container:

    #container
    {
    	background: #FFFFF2;
    	float: left;
    	width: 420px;
    	margin: 0px;
    	padding: 0px 0px 6px;
    	border-left: 1px solid #FF6600;
    	border-right: 1px solid #FF6600;
    }

    on an empty line below it with the name changed, like:

    #container10
    {
    	background: #FFFFF2;
    	float: left;
    	width: 420px;
    	margin: 0px;
    	padding: 0px 0px 6px;
    	border-left: 1px solid #FF6600;
    	border-right: 1px solid #FF6600;
    }

    etc etc

    Now, for your funstuff category you can edit in these specific code blocs (with the 10 in their name) and that won’t affect the rest of yor site.

    So, ok, a little php and some css, but for that there is a nice tool:
    Get Firefox and then the free Firefox addon Firebug. You can then click anywhere in your site and see what piece of the css influences that piece of your site and you can even make changes but not save them, so it is safe to practice.

    And, always backup your theme files before editing so you can rollback. Just use ftp to make a copy to your PC.

    Thread Starter x-evolutionist

    (@x-evolutionist)

    Hi henkholland,

    Thank you very much for the information! I apprecate it.

    X

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make category invisible to main blog, but accessible with a link.’ is closed to new replies.