How to create a link to a category from within a post

  • Unknown's avatar

    I have a menu item that only displays a specific category. From within that category, each post, I want to include a link to take the user back to the actual category page. WordPress doesn’t seem to have this as an option when inserting a link to the post.

    How would I code that?

    I’ve tried the following based on what I dug up from the Codex:

    Return to main Maps Page
    Return to Maps Page

    The first gives me a “not found” error in Chrome.
    The second take me to the same page the link is on.

    The category “maps” is what shows up in the URL when use the category link and cat=19 is based on the category WordPress gave me, so I’m certain both are right.

    Unfortunately, the site is not live yet. I’ve got the theme built and looking good, only needs a few tweaks before I upload it. I’m trying to get most of the content input before doing so, so that once it’s up and running, all of the content of the old site will be available from the start.

    Any assistance would be helpful

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar

    Ok, I didn’t realize I was on the wrong site. Feel free to ignore this as I have posted over on the WordPress.org site for assistance.

  • Unknown's avatar

    i have a wordpress.com blog when i post and new post it is show only on home page not on that page in want to post it tell me how can i do this ?

    exp-:
    i have pages automobile,home,and tech.i want to post a new post in automobile tell me how can i do this ?

  • Unknown's avatar

    You’re better off starting your own topic for this, but the simplest way is to create a category menu item for each of the topics.

    By default, everything will show up in the main blog section unless you tell it not to. That takes some configuring of the PHP files to do. I don’t think you can do this under WordPress.com unless you’ve paid for custom design.

  • Unknown's avatar

    Bye bye ericthegrey :)

    @amrit0007
    Please don’t tag on to threads and post off-topic into them.
    You create a custom menu and add dynamic Categories pages to it.

    This explains the differences between posts > http://en.support.wordpress.com/post-vs-page/

    Pages http://en.support.wordpress.com/pages/ that we bloggers create are static ie. they do not automatically update with new content. Only dynamic pages (ie. categories, tags, archives) which are automatically created by the software when we publish a post will update automatically.

    There is only one dynamic page for posts that automatically updates in a blog and all posts will display on that page. There is no way to exclude posts from the main posts (blog) page. By default the front page of the blog will display your posts (not pages) in reverse chronological order, with the most recently published post on top. If you do not want all the posts to show on the front page, then you can create a static front page http://en.support.wordpress.com/pages/front-page/

    Though there is only one dynamic page in a blog for posts and we cannot post to more than that one page, we can create the appearance that we have posted to more than one page. We organize posts by assigning Categories to them. You can create a custom menu and add the dynamic categories pages created by the software into the custom menu. Note that until there is one published post in any category there is nothing that can be displayed on the dynamic categories pages
    http://en.support.wordpress.com/posts/categories/
    http://en.support.wordpress.com/menus/
    http://en.support.wordpress.com/menus/#adding-category-pages-to-your-menu

    Here’s a link to a custom menu walkthrough > http://onecoolsitebloggingtips.com/2011/08/11/wordpress-com-custom-menu-walk-through/

    There are many common errors, misunderstanding and misconceptions when creating custom menus and you can read about them here > http://wpbtips.wordpress.com/2011/12/19/custom-menus/

  • The topic ‘How to create a link to a category from within a post’ is closed to new replies.