WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images
Include exclude (14 posts)

  1. Daiv Mowbray
    Member
    Posted 3 years ago #

    Is there ant way to exclude or include only certain taxonomies?
    ie: [taxonomy_image_plugin taxonomy="category" exclude="23, 34, 45"]
    where 23, 34, 45 are categories.

    Thanx for the plugin, works great.

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

  2. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    Daiv,
    I'm almost done with a rewrite to this plugin that fixes many bugs reported by users . I'll see if I can work this functionality in.

  3. Daiv Mowbray
    Member
    Posted 3 years ago #

    Hello Michael,
    I had actually done this myself earlier,
    Forgot that I'd added it.
    I had made a number of adjustments to the plugin
    some months back. I updated to your latest
    version, and applied my changes to it.
    If you'd like a copy of my version I could post it here
    for you to have a look, and use what you like.

  4. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    That would be really helpful. I want to add in more front-end goodness before I release 0.6. Please post the code to pastebin and I'll have a look. Thanks!

  5. earthjibber
    Member
    Posted 3 years ago #

    Daiv

    I tried to look for your solution to include/exclude taxonomies in pastebin and I couldn't find it. I really need to find it so if you could point me in the right direction that would be great.

    Michael, thanks for this plugin it works great, just need to get the include/exclude thing figured out.

    thanks,
    Eric

  6. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    earthjibber, you're welcome. I think I have some time this week to get this plugin polished up and a new version released. Would you be available to help test the new version? If so, please get in touch: michael [at] mfields {dot} org.

  7. hughhempel
    Member
    Posted 3 years ago #

    Hi Michael,

    Any ETA on your new version? I would be happy to test...

    Love it so far... Especially the simplicity...

    Can you share a sentence or 2 about your rationale for storing the "pairs" in the wp_option table versus other methods (e.g custom table(s))?

    I am a tad more warm and fuzzy about the idea of having the pairs accessible from a table in the event that the plugin becomes obsolete/incompatible... Your thinking might make me more comfortable... I am potentially investing a TON of man hours building out the taxonomy on this plug-in for a client and need some path to salvation...

    Thanks again for the great work!

    Hugh

  8. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    Hugh,

    Hopefully by Monday or Tuesday. I got sidetracked with some other things this week. In regards to your other question: It's quick, easy and I don't like the idea of releasing a public plugin that uses custom tables. The option should scale well enough for most users. Larger sites with thousands of terms may want to hack the plugin and use a custom table.

    The data is completely readable and writable using the WordPress API. If the plugin were ever to become obsolete or incompatible - this *should* not affect on the data you have already stored. On another note, I would be happy to recode the plugin to use a termmeta table if WordPress had one. Currently it does not and I have not heard much chatter about adding one. Even if my plugin used the current Metadata API to its full potential, it would still involve using a custom table - one that WordPress does not recognize without custom code. IMO you would be in the same boat with either storage method.

  9. hughhempel
    Member
    Posted 3 years ago #

    Hi Michael,
    Wow! Thanks for the fast and thoughtful reply! I actually see your well made point and wholly agree.
    I know how getting sidetracked can be... Good luck getting the next V done...
    I know I am probably missing something obvious, but where would I find a description for how to add code to my theme ("Genesis Framework" custom child theme) to display just the image similar to the way another plug-in (that I wish to replace with yours) is displaying the "people mag" image here...

    In the example, I am using a custom tax called "media-publication" where the specific category is "people magazine" (slug:people)... The post shown has "people" as it's sole category...

    Thanks in advance, and i reiterate how impressed I am by your quick and thoughtful (good) answer...

    Best,

    Hugh

  10. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    You're welcome ;)

    This is about the closest to an example that I have. This functionality will be supported in all releases. I'm sure you can modify it to display only one term:

    http://wordpress.org/support/topic/plugin-taxonomy-images-beta-images-and-link-in-post?replies=5#post-1480786

  11. hughhempel
    Member
    Posted 3 years ago #

    Thanks!

    Sorry I missed that post... I should be able to put it together from that...

    Do you think that I am planning on using your plug-in somewhat in the way you intend it to be used? Seems like the shortcodes are more about displaying all terms...

    Just curious...

    Thanks again... I am off to sleep for now...

    Best,

    hh

  12. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    It's completely the way that it was intended to be used. I just only seemed to build in the functionality that I needed at the time that I made it. Hence the need for a new version :)

  13. hughhempel
    Member
    Posted 3 years ago #

    Looking forward to the new version... Will test quickly as soon as you are ready...
    Thanks again!

  14. Michael Fields
    Themer
    Plugin Author

    Posted 3 years ago #

    New version is ready for all who want to test!

    http://wordpress.mfields.org/2010/taxonomy-images-0-6-release-candidate/

    @Daiv and @earthjibber - I added include and exclude :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic