WordPress.org

Ready to get started?Download WordPress

Forums

Display Widgets
[resolved] Custom Post Type Archive control (6 posts)

  1. jacobdubail
    Member
    Posted 1 year ago #

    Hello and thanks for such a useful plugin.

    I am in a situation where I need to display one widget on the regular Archives page, and another widget on a Custom Post Type Archive page.

    Currently, there is only a checkbox for Archives, which obviously controls all archives for all post types.

    Could you add the option for custom post type archives, as well, as you have done for custom taxonomies?

    Many thanks,
    Jacob

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

  2. tomoki
    Member
    Posted 1 year ago #

    I added it manually based on the existing code. For anyone interested, replace display-widgets.php with this:
    http://pastebin.com/q75Vdhvk

    It's not thoroughly tested so use at your own risk.

  3. ehaddad
    Member
    Posted 1 year ago #

    Huge thanks!

  4. ArielK
    Member
    Posted 1 year ago #

    This is an interesting update. It would be good if it will be in the next version of the plugin

  5. sswells
    Member
    Plugin Author

    Posted 7 months ago #

    @tomoki, thanks for the code. This has been added in v2.0. Thanks again!

  6. tomoki
    Member
    Posted 7 months ago #

    Great news, glad to be of help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.