TobinShields
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to post categories inside of a pageAh! I got it! Thank you! I got this! This works amazingly! Thank you sir. This is going to make my life a lot easier.
Forum: Fixing WordPress
In reply to: How to post categories inside of a pageOkay, so you have helped A LOT. But just one tiny last thing.
I am staring at the custom field, and I am not really sure what to put in. I put ‘blog’ as both the name and value, but on the actual site it gave me the error “Sorry, the page your requested could not be found, or no longer exists”. Quite disheartening.
Help?
Thanks,
TobinForum: Fixing WordPress
In reply to: How to post categories inside of a pageAh! Yes, I saw that. However, ‘Category’ appears quite often, and I wasn’t sure what to change.
<?php
if (is_page() ) {
$category = get_post_meta($posts[0]->ID, ‘category’, true);
}
if ($category) {
$cat = get_cat_ID($category);What ‘Category’ would I end up changing?
Thanks again! I know I am asking very basic questions, but thanks for bearing with me.
-Tobin
Forum: Fixing WordPress
In reply to: How to post categories inside of a pageAwesome! So I looked at the “Page of Posts” section, and I saved the .php file, and was able to see it when I made a new post. However, my next question is (and I know this is really basic) what would I change in that code to make it so “blog” was my selected category?
Thanks for your help!
Forum: Fixing WordPress
In reply to: How to post categories inside of a pageThanks for the quick reply! I am reading through that guide, and I guess I have just one quick question: where do I save my page template? I looked at my theme, and I don’t want to put it in the wrong spot.
-Thanks!