Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pietsj

    (@pietsj)

    I inserted the version you suggested 2 weeks ago, but still have problem noted above.

    ????

    Thread Starter pietsj

    (@pietsj)

    berteh – yes, big help. Worked fine with one remaining issue.

    Whether i use that plugin’s widget or XYDAC’s taxonomy term list (which just lists, not as a pulldown), i get the following behavior… the website (www.PostAndCoach.org) has both public and private posts. Yes, whether one is logged in or not, both taxonomy widgets only list as selectable options those items appearing among the set of public posts. You do not see nor can you select options that only appear among the set of private posts, but of course that is needed. The good news is that if you do a search (on one of the selectable items), you do correctly get both public and private posts if you are logged in.

    Any idea how to get it to list as selectable options both public and private?

    Thread Starter pietsj

    (@pietsj)

    Sorry, but I’m not a strong enough programmer for that to help. I’m guessing that I should either (a) somehow change the widget “Xydac Taxonomy Term List” that I’m currently using or (b) create something that replaces that widget in the sidebar.

    I understand the function wp_dropdown_categories. But if I’m to alter the Xydac widget, i don’t understand where and how.

    Thanks for your help so far.

    Thread Starter pietsj

    (@pietsj)

    Go to https://www.PostAndCoach.org
    I have created XYDAC Taxonomies “clubs” and “speaker”. Each post you see now lists the values of those taxonomies before the body of each post. (Thanks the hint on how to do that.) Because you aren’t logged in, you will see only a few posts made public. There are more that are private.

    In the side bar, I’ve used the “Xydac taxonomy term list” to create search options for “clubs” and “speaker”. To search (whether one is logged in or not), it only lists those clubs and speakers that are among the subset of posts that are public. If a club or speaker is only identified among posts that are private, it is not listed and therefore cannot be searched for. [If you send me an email address, i can give you a PW to log in.] The good thing is that if you can search on a speaker or a club (i.e. it is listed), you do get from the archives all the posts from that speaker or club – both public and private (if you are logged in.

    Thread Starter pietsj

    (@pietsj)

    I understand how to print things before the post itself (see below), but i don’t know the comment to extract the terms for the post for a given XYDAC taxonomy. Please help.

    I tried something like $club_list in the following code in place of $categories_list and then definiting $club_list = get_terms( $instance[‘taxonomy’]);
    but replacing ‘taxonomy’ with ‘clubs’ as that is the name of one of the XYDAC taxonomy. That failed.

    – – – – – – – – – – – – –

    <?php
    $categories_list = get_the_category_list( __( ‘, ‘, ‘sundance’ ) );
    if ( $categories_list && sundance_categorized_blog() ) :
    ?>
    <span class=”cat-links”>
    <?php
    printf( __( ‘Speech purposes %1$s’, ‘sundance’ ), $categories_list );
    ?>
    </span>

    <?php endif; ?>

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