Support » Plugin: Taxonomy Terms List » [Plugin: Taxonomy Terms List] style terms and taxonomies display them everywhere

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Michael Fields

    (@mfields)

    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://wporg.ibadboy.net/extend/plugins/taxonomy-widget/

    Best wishes,
    -Mike

    Thread Starter Aimee

    (@greatdanemaniac)

    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!

    Plugin Author Michael Fields

    (@mfields)

    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.

    Thread Starter Aimee

    (@greatdanemaniac)

    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!

    Thread Starter Aimee

    (@greatdanemaniac)

    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!

    Plugin Author Michael Fields

    (@mfields)

    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.

    Thread Starter Aimee

    (@greatdanemaniac)

    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Taxonomy Terms List] style terms and taxonomies display them everywhere’ is closed to new replies.