Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I would also be interested in this feature…

    the closest thing I could find was:
    Role Manager

    while being very powerful it doesn’t quite solve my problems

    Thread Starter mdesilets

    (@mdesilets)

    that does make more sense… thank you again for your time

    Thread Starter mdesilets

    (@mdesilets)

    Otto,

    Thanks for your reply! I’ve almost solved my problem ?? now all I need is some styling and a pesky more link… Is there a cleaner way to do this?

    <?php
    $categories = get_categories("title_li=&orderby=name&hide_empty=0&child_of=5");
    foreach ((array) $categories as $cat) {
    $cat_link = '<h2 class="subhead1"><a href="' . get_category_link($cat->cat_ID) . '" title="' . sprintf(__("View all posts in %s"), $cat->cat_name) . '" ' . $rel . '>' . $cat->cat_name.'</a></h2>';
    ?>
    <p><?php echo $cat_link . '' . $cat->category_description; ?></p>
    Thread Starter mdesilets

    (@mdesilets)

    The code I was trying to work with…

    <?php wp_list_categories('orderby=id&show_count=10
    &use_desc_for_title=1&child_of=5'); ?> <?php echo category_description(5); ?>

    while this does list the categories… and the second part lists the description… they dont work together… I think I should be using a template but dont know where to start

    What I think Root was trying to say… but couldnt find the words to do it decently or explain why… Is that if you dont have a decent amount of content on your homepage. It wont get indexed properly.

    I think you should lose the landing page have the first page of the site be

    https://www.lowerhousecc.com/news

    Marty

    Forum: Fixing WordPress
    In reply to: List Child Pages
    Thread Starter mdesilets

    (@mdesilets)

    having a great time having a conversation with myself… ultimately?

    I decided on this… as I dont want the navigation to change when visiting sub pages…

    <?php
    if($post->post_parent == 0)
    {
    wp_list_pages(“title_li=&child_of=”.$post->ID.”&show_date=modified&date_format=$date_format&location=sidebar&sort_column=menu_order”);
    }
    else
    {
    wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&show_date=modified&date_format=$date_format&location=sidebar&sort_column=menu_order”);
    }
    ?>

    hopefully this will help someone

    Forum: Fixing WordPress
    In reply to: List Child Pages
    Thread Starter mdesilets

    (@mdesilets)

    This worked even better to suit my needs!

    <?php
        wp_list_pages("child_of=".$post->post_parent."&sort_column=menu_order&depth=3&title_li=");
    
    ?>
    Forum: Fixing WordPress
    In reply to: List Child Pages
    Thread Starter mdesilets

    (@mdesilets)

    I was able to solve it with:

    <?php
    wp_list_pages("child_of=".$post->ID."&sort_column=menu_order&depth=3&title_li=");
    ?>

    but im not sure thats the best solution…

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