Custom Taxonomy Sort
get_the_term_list() not using sort? (5 posts)

  1. Anointed
    Posted 4 years ago #

    I use the following to display my custom terms:
    <?php echo get_the_term_list( $post->ID, 'series', ' ', ', ', '' ); ?>

    Is there any way to get this function to accept the custom sort order?

    I have tried a number of different options, but none seem to kick in.



  2. Zack Tollman
    Plugin Author

    Posted 4 years ago #

    @Anointed...in short, yes! I'm going to try and get to this soon. I just need to apply a filter for that function. I have been meaning to thoroughly go back through this plugin and add support for more functions. I'll start with this one.

  3. Anointed
    Posted 4 years ago #

    thank you

  4. Zack Tollman
    Plugin Author

    Posted 4 years ago #

    Anointed...just wanted to let you know that this is still on my radar. I'm hoping to get to this soon.

  5. Zack Tollman
    Plugin Author

    Posted 4 years ago #

    Hi Anointed,

    I've spent some time looking into this issue. I apologize for the delay. I cannot seem to recreate the problem.

    I've gone through and tested the get_the_term_list function with both built in and custom taxonomies. It is displaying the proper order in my setup. With that said, I could see a situation where the sort might not be displayed. It would only happen in a very rare circumstance, one which I could not even create when I was trying. That said, I did apply the sorting algorithm in another place to try to catch when this situation arises. I just updated this and it should be available to download from the WP repo/available for automatic upgrade within 15 minutes.

    The biggest problem here is that I could not create the problem, so it is hard for me to know if I fixed it. Please let me know if this fixed your issue. If not, let's talk some more so I can try to get this sorted out.

    Thank you so much for your feedback!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Taxonomy Sort
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic