Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter mrerikmt

    (@mrerikmt)

    <a href="index.php?cat=14">Category Title</a>

    <a href="index.php?cat=14">Tea Fairy</a>

    <a href="index.php?cat=14">tea-fairy</a>

    Hi @mrerikmt of course it shows page not found since you’re using “Post Name” in your Permalinks but in your code e.g.

    <a href="index.php?cat=14">Category Title</a>

    what you’re using here is the default permalink.

    Try changing the ff. to

    <a href="domain.com/category/category-title">Category Title</a>

    something like that

    Hope that helps.

    [ Please stop putting on that signature, it will be removed everytime. ]

    Thread Starter mrerikmt

    (@mrerikmt)

    Thanks for the help. I tried it but it’s not working.

    Is this how it is supposed to look?

    `Tea Fairy

    “category” is referenced in there three times and I’m not really sure how that is supposed to be represented each time.

    The blog category is called Tea Fairy which I have also seen as tea-fairy and the ID is 14.

    Thanks.

    Thread Starter mrerikmt

    (@mrerikmt)

    Alright, sorry. I’m putting this code between backticks and it’s making it a hyper link anyway. Here’s another try.

    <a href="templemountaintea.com/category/tea-fairy">Tea Fairy</a>

    try and use https:// with your site url;

    i.e.

    <a href="https://templemountaintea.com/category/tea-fairy">Tea Fairy</a>

    this is exactly the way, the post catgories are linked below the post in you ‘blog’ section.

    Thread Starter mrerikmt

    (@mrerikmt)

    Thanks for taking the time to look at that for me. Unfortunately it didn’t work either. I ended up setting up a second navigation bar for the pages that needed this link and am just using that until I can figure this out.

    Thanks again.

    Hello mrerikmt,

    Do you have a category template with the same cat numb you are giving?
    Category Title

    create a template called category-14.php , add your query there and this will work.

    <a href="index.php?cat=14">Category Title</a>
    sorry forgot to wrap the code

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘link to specific blog category’ is closed to new replies.