cconstantine on "[Plugin: Organize Series] something like the_tags() or the_terms() but for series membership"

ساخت وبلاگ

For a given post, I can get the post's tags via the_tags() or custom taxonomy values using the_terms(). Is there anything like that to fetch the series that the current post belongs to?

I display of some post meta data, I have code that lists tags and a custom taxonomy like the following. These two functions have the nice effect of generating no output if there are no results. I can code that in my own function though, if I can just figure out how to get the list of series teh current post belong to.

<aside class="post-meta"> <ul> <li class="categories"><?php the_category( ', ' ); ?></li> <?php the_tags( '<li class="tags">', ', ','</li>' ); ?> <?php the_terms($post->ID, 'people', '<li class="author">', ', ','</li>' ); ?> </ul> </aside>

https://wordpress.org/plugins/organize-series/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 108 تاريخ : جمعه 17 ارديبهشت 1395 ساعت: 5:52