• https://www.strictly-porn.com/

    I have 3 categories I want to put into the blog. My stories, others and the section to shoe people how to shoot porn.

    However I only have one category showing. How do I put all 3 in there and add the posts to that category?

    Also how do I put banners in the right hand column?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Have you tried creating all of the relevant categories and filing published posts under them?

    Thread Starter Paulstewart

    (@paulstewart)

    Yes and the posts appear on the main page. Which is where I go wrong.

    Thread Starter Paulstewart

    (@paulstewart)

    I don’t want the stories from other sections to appear in the main part of the blog.
    I need stories to be where they are.
    Other people stories in that section
    Learn to shoot porn stories in that section

    Do I make a page and then create the category?

    You need to create a custom query in your theme’s index.php template file to exclude those categories that you don’t want to appear on your site’s main posts page. WordPress creates category pages for each of your site’s categories by default, you could just add those category links to a custom menu.

    Thread Starter Paulstewart

    (@paulstewart)

    Thanks, will give it a shot.

    Thread Starter Paulstewart

    (@paulstewart)

    Nope, way above my head.

    Hi,
    it’s not so difficult if you know what to look for. Which categories should be excluded from showing up on the main page?

    If you want to show, say, stories on the main page and exclude the other two categories, you should add

    <?php
    if ( is_home() ) {
    	query_posts( 'cat=-1,-2' );
    }
    ?>

    in the index.php file, right before this code appears:
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    You also need to replace the numbers in the first code (1&2) with the correct category numbers, which can be found on the category page in your admin interface of wordpress.

    Hope this helps a bit. If you’re still confused, I’ll try to explain it better ??

    Thread Starter Paulstewart

    (@paulstewart)

    OK will give that a go. I’m a pornographer and it’s well know we are not very clever. LOL

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[NSFW] Add a story in a different catagory and banners’ is closed to new replies.