Support » Plugin: Recent Posts Widget Extended » Display secondary categories & custom taxonomy

  • Hi there!

    First of all, let me thank you for such an AMAZING plugin. It truly is what I’ve been looking for for some time. Huge thanks!

    Here’s my inquiry: I would like to display all the categories (primary and secondaries) that each post is associated to. Following this other thread I managed to display the Primary Category, but I wish I could also display the rest of them.

    Also, I would like to be able to display a custom taxonomy. I tried searching the support forum for both cases, no luck.

    Thank you very much in advance!!!

    PS: final question: changes made in the plugin functions.php would be lost in a future update? Would it be better to implement any editing in a snippet? Thanks again!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • all categories:

    $html .= '<span class="rpwe-category">' . get_the_category_list(', ') . '</span>';

    PS. yes, please describe the all changes in the code

    Thank you very much for your fast and great help. I really appreciate it!

    I successfully added all the categories 🙂

    I hope you can help me with this two related issues I can’t get done:

    1. Adding a custom taxonomy to be displayed under the categories. I tried using the same code you provided, substituting “category” for my custom taxonomy slug, but it didn’t work. Broke everything, in fact.

    2. I’m a beginner in all this. I try to learn and do everything by myself, but sometimes I just don’t know how to do things or where to search for. Could you please tell me how should I write the code for all these changes to work in the Code Snippets plugin?

    Your help is much appreciated! Thank you again!!!

    1. I tested it and no effect, I can’t help

    2. sorry, I don’t know this plugin

    2. Well, I meant how to wrap your code for a snippet. I’m at a loss here.

    Thank you again.

    Excuse me for being insistent, I don’t want to be an annoyance.

    The only thing I need to finish customizing your fantastic plugin is displaying my custom taxonomy in every post, like categories. I know I asked about it and I don’t expect a detailed answer (I understand this might be tricky). I’ve been trying multiple things myself and none work.
    I would hugely appreciate if you could just point me in the right direction, please.

    It seems there’s no way I can get the get_mycustomtaxonomy_list.

    ANY help would be much appreciated.

    Thank you very much for your time 🙂

    $html .= '<span class="rpwe-category">' . get_the_term_list( $post->ID, 'portfolio-type','', ', ') . '</span>';

    portfolio-type – taxonomy (name/slug)

    That was simply perfect. Thank you very much.

    Great plugin, greater support! 🙂

    I found this thread extremely helpful. Thank you!

    How would one implement this without editing the core plugin files? Could we build a child-plugin or something like that?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Display secondary categories & custom taxonomy’ is closed to new replies.