WordPress.org

Ready to get started?Download WordPress

Forums

Tags List Tag? (4 posts)

  1. WPITn2shape
    Member
    Posted 6 years ago #

    There's a link for the tag get_the_tag_list()

    yet there's no page for it and VOILA, I tried using it and it doesn't work. Is there such tag or no? Why's it in the template tags list?

    So maybe we can only have a tag cloud? This isn't very friendly to certain blog layouts, and we're used to having things a certain way, some of us may have trouble forcing clouds to fit.

  2. WPITn2shape
    Member
    Posted 6 years ago #

    OK you can actually turn the tag "cloud" into a regular list with

    smallest=9&largest=9&number=0&orderby=name&format=list

    Where 9 and 9 can change, but must be the same.

    :-)

    But the template tags page also has a link for "wp_generate_tags_list", which also doesn't work, and would be redundant anyway.

    I don't wish to edit this myself, just in case it's up to someone who maybe knows they should be there or something. :-)

  3. MichaelH
    Member
    Posted 6 years ago #

    They're there as an invitation to someone willing to complete them ;)

    But both are usable template tags. Just because it is not documented in Codex doesn't mean you can't use it.

  4. tinuviel
    Member
    Posted 6 years ago #

    I'm confused. I'm trying to show my tag list instead of a category list (it's the way the client wants the site to work).

    I included:

    <?php
    if(get_the_tag_list()) {
     get_the_tag_list('<ul><li>','</li><li>','</li></ul>');
    }
    echo (get_the_tag_list());
    ?>

    and it doesn't work. What am I doing wrong in the call?

Topic Closed

This topic has been closed to new replies.

About this Topic