Grow your CSS skills. Land your dream job.

Retrieve categories and posts by post id in WordPress?

  • # May 31, 2011 at 6:57 pm

    How can i retrieve tags and categories of a post, if i have the posts’ id with me? I want to do the same outside the loop. Please help.

    # May 31, 2011 at 7:16 pm

    If you have the id of the post, you can run a query that will only loop through that post, but I don’t think that’s what you’re aiming for.

    # June 1, 2011 at 7:32 pm

    Thanks for replying. Actually before I read your reply, I tried the option as suggested by you and was able to accomplish my work.

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".