WordPress.org

Ready to get started?Download WordPress

Forums

Better Tag Cloud
[resolved] Displaying Custom Taxonomies from a custom post type in a tag cloud? (4 posts)

  1. rossagrant
    Member
    Posted 3 years ago #

    Hi all,
    I have recently added a custom post type which also has 2 custom taxonomies. One called 'Shows' and one called 'Locations'. I want to display some of these in a custom tag cloud.

    I have installed the plugin Better Tag Cloud which will call the correct tags into the cloud but clicking one takes me to a 'Page Not Found' error.

    The URL is just http://www.mysite.com/tag

    The URL should be http://www.mysite.com/shows/'tag term'

    Does anyone know what I could be doing wrong or know of a better way/ different plugin to display custom taxonomies?

    Thanks for your time!
    Ross :)

    http://wordpress.org/extend/plugins/nktagcloud/

  2. ventaur
    Member
    Posted 3 years ago #

    Hi Ross,

    I had this same problem and found the line needing a fix. The file needing the fix is nktagcloud/inc/page.php, line 223.

    Change:
    $link = get_tag_link( $tag->term_id );

    To:
    $link = get_term_link( $tag, $args['taxonomy'] );

    Regards,

    Matt

  3. circlecube
    Member
    Posted 3 years ago #

    I had this same issue and this fix fixed it for me.

    @nkuttler, Can we get this added to the next version update?? It'd be awesome! Thanks for the great plugin too, btw.

  4. nkuttler
    Member
    Plugin Author

    Posted 3 years ago #

    Hi and thanks for reporting this! I'm just uploading a new release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic