• Resolved blueyez

    (@blueyez)


    well i have next

    CAT1
    – SUB CAT1-1
    – SUB CAT1-2
    CAT2
    – SUB CAT2-1
    – SUB CAT2-2

    i try to make next:

    when i click CAT1 – display only the post ( there is only one post ) asociated with this category

    then when i go to SUBCAT1-1/2 show only post asociated with the category…

    and so far for CAT2 & SUBCAT2-1/2

Viewing 9 replies - 1 through 9 (of 9 total)
  • aufzynden

    (@aufzynden)

    Yes, I want this too, but I didn’t get the problem solved. Spend a lot of time while search and doing the try/error thing.
    In my humble opinion it’s a design error of the wordpress-software: why shall I have subcategories, if all posts list up in the main category? Interestingly the number of posts in the parent category is shown correctly ??

    So if anyone have an answer…

    Best wishes
    Stefan

    Thread Starter blueyez

    (@blueyez)

    that is true Aufzynden… why we have subcategories when all posts list up in the main one…

    i was thinking to block the main categories

    like

    CAT1 ( <a href="javascript:void(0)">CAT1</a> )
    -SUB CAT1-1 ( normal link )
    -SUB CAT1-2 ( normal link )

    but i don`t know how exctlly to do that… searching…

    maybe someone those..

    Thread Starter blueyez

    (@blueyez)

    someone… ? any ideas ?

    aufzynden

    (@aufzynden)

    OK, until now I’m so far that only the function get_posts() will work as we both wanted it. I checked the SQL and it’ll be alright.
    Unfortunately I didn’t get this function to work.
    The normal way of “while (have_posts()) : the_post();” doesn’t work.
    I read at the reference of WP_Query but my english is too bad to get it.

    Anyone else who can help?

    Regards
    Stefan

    moshu

    (@moshu)

    There used to be a plugin for 1.5.x
    https://www.blogwaffe.com:8000/2005/05/31/294/
    Never tried to make it work with 2.x – but there is nothing to loose, you may want to try it!

    Thread Starter blueyez

    (@blueyez)

    well this work for me :)))))
    i`m so happy. tkz a lot moshu.

    i hope will work for Aufzynden :-s

    i use wp 2.0.5, hope there will be no problems with the plugin… but i think there will be some… the version of the plugin is for 1.5.*

    u can download the plugin hre https://dev.wp-plugins.org/browser/just-one-category/tags/0.3

    anyway if someone else knows a better/stable ( for 2.0.5 ) plugin, please post here. have a nice day :X

    moshu

    (@moshu)

    A lot of plugins made during the 1.5.x “era” work quite well with later versions (2.x). I just wasn’t sure about this one.

    Thread Starter blueyez

    (@blueyez)

    tkz a lot again }{ :X

    aufzynden

    (@aufzynden)

    Yes, it works for me too! Thanks a lot for sharing your knownledge ??

    Greetings
    Stefan

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘cat / subcat / list post’ is closed to new replies.