WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
Page custom taxonomy (9 posts)

  1. jockegustin
    Member
    Posted 2 years ago #

    Hey! First off: Thanks for an awesome plugin.

    I have been working all day on implementing widget control via custom terms/taxonomy for pages. I have registered both a tag-like taxonomy and a category-like one and "connected" to the WP built-in pages.

    They both show up in the dynamic widgets edit screen and I set all options to "hide" including my custom taxonomies EXCEPT the ones I want to show (e.g. a page-tag named "poll"). The problem is that the widgets do not show up. Unless I also check the option to display the widget on that specific page but that makes the whole tagging-function pretty useless. Is there any way of making this work? There should be since your plugin discoveres my taxonomies?

    Great thanks!

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    First of all thanks for your support and compliments! :)

    I'm sorry, I have bad news for you. Custom Taxonomies are only supported for Custom Post Types. Unfortunately not for static pages.

    Did you also link the Custom Taxonomies to Custom Post Types? Otherwise, the taxonomies should not show up in DW.

  3. jockegustin
    Member
    Posted 2 years ago #

    Thanks for your reply. I just registered the taxonomy with the register_taxonomy() function with parameters "tag-name", "page". A simple non-hirarchial taxonomy to tag pages. It showed up in your plugin and if it's not supported maybe they should not show up?

  4. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    I was just able to reproduce it. I'm sorry, but this is a bug. That should not happen. Thanks for letting me know!

  5. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    As a follow up: I was able to quickly add support for Custom Taxonomies within Pages. It is included in the latest development version.

    http://downloads.wordpress.org/plugin/dynamic-widgets.zip

  6. jockegustin
    Member
    Posted 2 years ago #

    Oh man!

    How super awesome, thank you so much, seems to work like a charm!

    However there is one thing I don't understand: It works perfectly if I set all pages to "No" and then under "Pages" check the box "except for [tag-or-whatever]": "[tag-name]". Then the widgets shows on all pages with that tag. But why do the taxonomy get an own row at the bottom? Like so: [taxonomy-name] (Pages). It doesn't seem to make any difference whether I set it or not and to my customers it will only be confusing if there are two options for setting widgets on custom taxonomies.

    What am I missing or is this a bug?

  7. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    The section "[taxonomy-name] (Pages)" at the bottom you see in DW is for the archive page of that specific taxonomy. You can have a page listing all pages with [taxonomy-name]. DW recognizes this page and can act accordingly.

  8. jockegustin
    Member
    Posted 2 years ago #

    Ah, ok. Thats another great feature! Maybe you should rename it to [taxonomy-name]-archive or something to make it even more obvious?

    Again, great kudos to you :)

  9. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    Hmm... I can imagine that it is confusing. I'll add "archive" to it. Thanks for the suggestion!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic