WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Terms List
style terms and taxonomies + display them everywhere (8 posts)

  1. greatdanemaniac
    Member
    Posted 3 years ago #

    Hi!
    I love this plugin and I'm very inspired by it. I would like to know if it's possible to use this plugin to easily display the terms and taxonomies everywhere - not just on single post view.

    I'd also would like to know if there's a way to style the taxonomies, like the arras theme has done such a great job at.

    Please tell me how this can be done. Thanks!

    http://wordpress.org/extend/plugins/taxonomy-terms-list/

  2. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    This plugin should only fire after the content on single post views. I intentionally made it a simple as possible. It is not really capable of displaying terms in other parts of your site.

    I'm not really familiar with how the Arras theme displays taxonomies, but if your active theme has widgetized sidebars, you might want to check out this plugin:

    http://wordpress.org/extend/plugins/taxonomy-widget/

    Best wishes,
    -Mike

  3. greatdanemaniac
    Member
    Posted 3 years ago #

    Ok. Thanks for letting me now. The reason I asked is that I'd really like to have a plugin that displays taxonomies like your plugin does, but also displays them on front page and archives etc. There is not one single plugin out there that does this, and I'm not capable of creating a plugin myself that can do this either...

    Thanks anyway!

  4. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    Ok, Now I understand what you are looking for. You may want to consider using get_the_term_list() in your theme. This is the same function that the plugin uses to generate the term lists.

  5. greatdanemaniac
    Member
    Posted 3 years ago #

    Yes, that's exactly what I'm looking for, but I want to use a plugin for it. I change themes so often (I sort of develop themes, but I've never released one to the public) and if I use that line of code in my theme, I always have to change my theme and it's quite disturbing. A plugin for that sort of thing would really help me a lot!

  6. greatdanemaniac
    Member
    Posted 3 years ago #

    BTW... could you please guide me in the right direction on how I can make a plugin like that myself. I want it just as simple as yours, but the taxonomies would be displayed in every sort of post view, like archives and categories as well, but most importantly on the home page.

    I would also like to style both terms and taxonomies with css. I would be the happiest girl in the world if you could help me with this.

    Thanks a bunch!

  7. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    You can fork the plugin and remove if( is_single() ) from line 54.

    When 3.1 hits the shelves, you might consider adding 'post-format' to the $default_taxonomies array on line 64.

  8. greatdanemaniac
    Member
    Posted 3 years ago #

    Ahh ok. Thanks! I'll try that.

    Also I'd like to know how I can style the name and label of the terms.
    The arras theme that I mentioned before has this in it's code:

    $postmeta .= '<div class="single-post-meta clearfix">';
    			$postmeta .= '<span class="single-post-meta-field single-post-meta-' . $term . '">' . $term_obj->labels->name . ':</span>';
    			$postmeta .= '<span class="single-post-meta-value single-post-meta-' . $term . '-value">' . $term_list  . '</span>';
    			$postmeta .= '</div>';

    the style for the taxonomies and terms are like so:

    .single-post-meta-field  { background: #313428; display: block; border: 1px solid #383332; padding: 5px 10px; color: #FFF; font-weight: 700; }
    .single-post-meta-value	 { border: 1px solid #CCC; padding: 5px 10px; background: #F0F0F0; display: block; }

    I'd like to have the same type of styling. Can you please tell me how I can make this happen?

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic