Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Having two different posting pages is pretty simple. I’m not the best at explaining things, but it isn’t very hard at all.

    Now, when you write a post, you get to choose a category to put it under. Lets say you write a post and you want to put it under the category,

    My Category 1,

    Well, if you go to your wordpress website and type in

    https://www.-YOUR-DOMAIN-.com?cat=3

    or

    https://www.-YOUR-DOMAIN-.com/category/My-Category-1

    depending upon how you have your permalinks setup under the admin setting, (you can also just go to your post page, and normally the post will say something like this: posted under My Category 1.),

    you will see all the posts for that specific category. So every post you write will show up in that category archive.

    So what we want to do now is have that archive page to be the other page for posting post. So just edit the navigation bar in the header.php, and get rid of the php that makes pages show up automatically and do it manually. This isn’t hard if you know what you’re doing. Also, remove the h2 files in the achive.php page just to make the archive page look like a real page, and not an archive page. Normally the h2 tag with read: Archive for My Category 1.

    Now, You have done it. You have two post pages. Your regular post page, and your archive page that is blended in to look just like a regular wordpress post page.

    But we still have every thing that shows up on the My Category 1 page, on your other post page.

    Here’s how to fix that.

    in the main index template (index.php), look for the php code for the post. And right after the loop, which looks something like this:

    <?php
    if ( have_posts() ) : while ( have_posts() ) : the_post();

    add this:

    if (in_category('YOUR CATEGORY ID') && is_home() ) continue;
    //This Excludes the specific category from showing up on the main page

    Now, where it says YOUR CATEGORY ID, make that be the id of your category, such as My Category 1. What this code does is excludes the category of your choice from showing up on the main page. The only way I know of to find the category id, is to change the permalink settings temporally to the default setting. Then go yourwebsite and go to the category you want to find the id of, and at the very end of it, it should say something like this:

    https://www.-YOUR-DOMAIN-.com?cat=3

    the number is the category id. Then you can switch back to your other permalink setting. (I recommend the custom post permalink which is

    /%postname%/

    Well, now you have two post pages to post on. You can tag a post to as many categories as you like, but if you post it to the category that you wish not to show on the main page, then it will not show up on the main page.

    This may seen like alot of stuff to do, but its not really at all.

    I hope this helps. God Bless! ?

    Having two different posting pages is pretty simple. I’m not the best at explaining things, but it isn’t very hard at all.

    Now, when you write a post, you get to choose a category to put it under. Lets say you write a post and you want to put it under the category,

    My Category 1,

    Well, if you go to your wordpress website and type in

    https://www.-YOUR-DOMAIN-.com?cat=3

    or

    https://www.-YOUR-DOMAIN-.com/category/My-Category-1

    depending upon how you have your permalinks setup under the admin setting, (you can also just go to your post page, and normally the post will say something like this: posted under My Category 1.),

    you will see all the posts for that specific category. So every post you write will show up in that category archive.

    So what we want to do now is have that archive page to be the other page for posting post. So just edit the navigation bar in the header.php, and get rid of the php that makes pages show up automatically and do it manually. This isn’t hard if you know what you’re doing. Also, remove the h2 files in the achive.php page just to make the archive page look like a real page, and not an archive page. Normally the h2 tag with read: Archive for My Category 1.

    Now, You have done it. You have two post pages. Your regular post page, and your archive page that is blended in to look just like a regular wordpress post page.

    But we still have every thing that shows up on the My Category 1 page, on your other post page.

    Here’s how to fix that.

    in the main index template (index.php), look for the php code for the post. And right after the loop, which looks something like this:

    <?php
    if ( have_posts() ) : while ( have_posts() ) : the_post();

    add this:

    if (in_category('YOUR CATEGORY ID') && is_home() ) continue;
    //This Excludes the specific category from showing up on the main page

    Now, where it says YOUR CATEGORY ID, make that be the id of your category, such as My Category 1. What this code does is excludes the category of your choice from showing up on the main page. The only way I know of to find the category id, is to change the permalink settings temporally to the default setting. Then go yourwebsite and go to the category you want to find the id of, and at the very end of it, it should say something like this:

    https://www.-YOUR-DOMAIN-.com?cat=3

    the number is the category id. Then you can switch back to your other permalink setting. (I recommend the custom post permalink which is

    /%postname%/

    Well, now you have two post pages to post on. You can tag a post to as many categories as you like, but if you post it to the category that you wish not to show on the main page, then it will not show up on the main page.

    This may seen like alot of stuff to do, but its not really at all.

    I hope this helps. God Bless! ?

    Having two different posting pages is pretty simple. I’m not the best at explaining things, but it isn’t very hard at all.

    Now, when you write a post, you get to choose a category to put it under. Lets say you write a post and you want to put it under the category,

    My Category 1,

    Well, if you go to your wordpress website and type in

    https://www.-YOUR-DOMAIN-.com?cat=3

    or

    https://www.-YOUR-DOMAIN-.com/category/My-Category-1

    depending upon how you have your permalinks setup under the admin setting, (you can also just go to your post page, and normally the post will say something like this: posted under My Category 1.),

    you will see all the posts for that specific category. So every post you write will show up in that category archive.

    So what we want to do now is have that archive page to be the other page for posting post. So just edit the navigation bar in the header.php, and get rid of the php that makes pages show up automatically and do it manually. This isn’t hard if you know what you’re doing. Also, remove the h2 files in the achive.php page just to make the archive page look like a real page, and not an archive page. Normally the h2 tag with read: Archive for My Category 1.

    Now, You have done it. You have two post pages. Your regular post page, and your archive page that is blended in to look just like a regular wordpress post page.

    But we still have every thing that shows up on the My Category 1 page, on your other post page.

    Here’s how to fix that.

    in the main index template (index.php), look for the php code for the post. And right after the loop, which looks something like this:

    <?php
    if ( have_posts() ) : while ( have_posts() ) : the_post();

    add this:

    if (in_category('YOUR CATEGORY ID') && is_home() ) continue;
    //This Excludes the specific category from showing up on the main page

    Now, where it says YOUR CATEGORY ID, make that be the id of your category, such as My Category 1. What this code does is excludes the category of your choice from showing up on the main page. The only way I know of to find the category id, is to change the permalink settings temporally to the default setting. Then go yourwebsite and go to the category you want to find the id of, and at the very end of it, it should say something like this:

    https://www.-YOUR-DOMAIN-.com?cat=3

    the number is the category id. Then you can switch back to your other permalink setting. (I recommend the custom post permalink which is

    /%postname%/

    Well, now you have two post pages to post on. You can tag a post to as many categories as you like, but if you post it to the category that you wish not to show on the main page, then it will not show up on the main page.

    This may seen like alot of stuff to do, but its not really at all.

    I hope this helps. God Bless! ?

Viewing 3 replies - 1 through 3 (of 3 total)