WordPress.org

Support

Support » Themes and Templates » [Resolved] Custom Taxonomy Template Tag

[Resolved] Custom Taxonomy Template Tag

Viewing 4 replies - 1 through 4 (of 4 total)
  • Till we get an equivalent, may be you can do

    strip_tags(get_the_term_list($post->ID,'people'));

    HTH
    – Rahul

    Is it possible to strip out a specific tag? I’d like to strip out links, but keep paragraph formatting.

    Here’s my code:

    <?php echo get_the_term_list($post->ID, ‘Industries’, ‘<p>’, ‘, ‘, ‘</p>’); ?>

    hello
    iam using custom taxonomies in my site,so i did have seperate templates for displaying them.
    i have created a taxonomy called people and a term called star and also respective template to star (taxonomy-people-star.php) every thing works fine http://sportsstatus.in/dev/people/star/ .
    but when i query some other taxonomy like http://sportsstatus.in/dev/people/star/?sports=tennis to it the template structure changes to the archive format. how to over this.
    i want the original template structure assigned for star(taxonomy-people-star.php) to work.

    I don’t think you could make a query on WordPress custom taxonomy template, Is it?
    ____________
    intenseblog.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Custom Taxonomy Template Tag’ is closed to new replies.
Skip to toolbar