Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Erik

    (@axel-hoel)

    Glad it worked for you ?? It’s one of my favourites as well!

    If I remember correctly, since it’s K2, you might have to edit header.php directly. There will probably be something between
    <title></title>
    that has
    is_category()
    which defines what the title displays if the page that loads is a category.

    You might find the WordPress documentation on Conditional Category Tags rather more useful in terms of customising this tag part further to suit your (Uncle’s) site.

    And finally, if you wanted to change the layout of how the category page is displayed, it’s best to refer to the ‘Category Templates’ documentation link that moshu posted much earlier.

    It worked! but once again i said something and meant something else….
    I managed to get as static <title> tag, but when i once of the pages thats using the Page Links To plugin, i get all of my content in that category, but just above it, there is a text sayning

    Archive for the ‘video’ Category

    I better give you a link since i can’t explain properly
    LINK

    I belive it has something to do with K2, and i tried to turn the function “archive pages” both on and of, but non of it removed the help

    Thanks for putting up with me!

    @manturafs; I’m sorry but i don’t have the Breadcrumb Navigation XT. plugin installed.

    Thread Starter Erik

    (@axel-hoel)

    A brief explanation –

    Posts – used for dynamic content (like news or articles)

    Pages – used for static content – things that never change, like your Uncle’s contact details.

    If your uncle is constantly adding new artwork to his portfolio, perhaps his art should be posted as ‘Posts’ and not ‘Pages’. Then he has an ‘Art’ category and a ‘video’ category’.

    By default, WordPress can display every single post in a category, and the link is usually something like:
    https://www.yoursite.com/category/art/

    So this is your link.

    And then, to post these ‘links’ in your navigation, you can use a plugin like Page Links To, where you create ‘pretend’ pages that actually are linked to the category page.

    Thanks a lot!
    The plugin you linked to works like a charm!
    However, i would like to make a couple of cosmetic changes. When somebody (me) clicks on the art page, the browser sends me to https://mysite.no/categoty/art but at the top of the page the text

    Archive for the ‘art’ Category

    shows up.
    How do i remove the text? I’m running the latest version of K2, and the archives is starting to annoy me.

    Thanks again for all your help!

    Thread Starter Erik

    (@axel-hoel)

    You don’t need Pages for what you want. That’s your first mistake…

    WP does it for you out of the box: when clicking on a category name(link) it will display ONLY posts from that category. Every WP installation does it without your intervention.

    You may use the Category Templates IF you want to style differently the layout of the posts listing for different categories. If not, you don’t need them.

    Okay… i need to link, that sounds smart….
    but how do i make the link?

    To make it all easier, i figured i should link to the page this time
    LINK

    Don’t bother with the text, it’s in swedish.
    I have three pages, Art, Video and CV
    If you click the art page, you get all my posts, since i want a static “start” page, i just set the art page to show all of my posts….
    I’m starting to get a felling that tells me i should change that…

    So, how do i post these “links” and make them look like pages, but showing only one category?

    Really appreciate the help!

    Thread Starter Erik

    (@axel-hoel)

    I suppose i shuold have been more specific…
    Sorry about that.

    We are indeed talking about
    Pages

    I have two Pages, VIDEO and ART, and i also got two categories, VIDEO and ART. As you might guess, i want the two categories on different Pages.

    I don’t really understand how work with Category_Templates

    How should i modify the code to only show one category per page?

    Really Grateful for you answer!

Viewing 4 replies - 1 through 4 (of 4 total)