Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mdesign-1

    (@mdesign-1)

    Ah, Got it!
    Thank you so much ??
    i realised that using your code had worked before but wasnt linking through to some of the css design and looked wrong when actually it was right ??

    Sorry for the hassle ??
    and thanks you so much you a saviour ??

    Thread Starter mdesign-1

    (@mdesign-1)

    OK so would you be able to help on code for listing posts in a specific sub category?

    Thread Starter mdesign-1

    (@mdesign-1)

    Hi! OK so got the cat number but how do i link it to sub cat?
    also due to code given it either displays nothing or if i add (see code below) to the end i get it all back but it displays all categories???

    <?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>

    So starting again because even im confused now.
    here is my code for one box:

    <div class="box">
                 <ul>
                    <?php //wp_list_bookmarks(); ?>
                     <?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>
                 </ul>
            </div>

    i want to display all posts in a sub catagory, the catagory ID (not sub cat ID) is 36

    Sorry im a pain and thank you for the fantastic help and advice so far ??

    Thread Starter mdesign-1

    (@mdesign-1)

    OK im getting confused. . .
    doesn’t take much lol

    ive tried adding the code you have given me wich works exactly the same as the code i already had???
    my guess on that issue is the problem im having with cat ID as i dont know the category ID’s. so i tried using slugs instead and that didn’t work, also having tried to change from displaying categories to sub catagories i well ended up with blank pages lol

    Please help ??
    wow i feel thick sometimes ??

    Thread Starter mdesign-1

    (@mdesign-1)

    Scrap that ive just given it a go and didn’t work ??

    here’s the code ive got plus a probably better explanation:

    <div class="box">
                 <ul>
                    <?php //wp_list_bookmarks(); ?>
                     <?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>
                 </ul>
            </div>
            <div class="box">
                 <ul>
                    <?php //wp_list_bookmarks(); ?>
                     <?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>
                 </ul>
            </div>
            <div class="box">
                 <ul>
                    <?php //wp_list_bookmarks(); ?>
                     <?php wp_list_categories('title_li=<h2>' . __('Categories') . '</h2>' ); ?>
                 </ul>
            </div>

    im trying to display the lists of posts from a different category in each [box].
    (or to be completely honest i want to display posts from a different sub-category)

    Thread Starter mdesign-1

    (@mdesign-1)

    Thanks MichaelH
    Trying not to sound stupid but where do i put this?
    i would guess at the first php line?
    <?php //wp_list_bookmarks(); ?>

    And sorry vtxyzzy this plugin does not suit what i want to use it for ?? thanks for the help any way =)

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