Problem with Categories
-
Hello Everybody,
I’m using two different version of WP in two different sites. One has a wp-categories table and the second one doesn’t.
I used to show parts of my blog post on my site to attract people into my blog using a simple SQL query like
SELECTID
,post_title
,post_content
FROMwp_posts
WHEREpost_content
!= ” ORDER BYpost_date
DESC LIMIT 5Up to now, I didn’t even though about sharing my posts into categories or such so everything was working excellently.
Nevertheless, nowadays I’ve different categories in my blog and I’d like to show into my site(s) posts related to this very site. So 1 category’s posts go to one site and so on.
But, as far as I search, in my DB all the [wp-posts][post_category] are set to 0, even if post are in different categories (and appear so in my blog). So what? I though I could have my post selected in function of those categories but all those are set to 0.
Could someone tell me what the problem with my categories? I do highlight the point that I already have different posts into different categories and that my blog is able to show those categories’ posts correctly.
Thank for your help and sorry not to have been able to shorten that much.
Rui
- The topic ‘Problem with Categories’ is closed to new replies.