WordPress.org

Ready to get started?Download WordPress

Forums

Humans TXT
[resolved] Humans TXT plugin breaking my custom post types (4 posts)

  1. xnau
    Member
    Posted 3 years ago #

    Just installed the Humans TXT plugin. Plugin works fine, but then my custom post types were all returning 404's. I had to deactivate and then reinitialize permalinks to the the custom post types working again.

    http://wordpress.org/extend/plugins/humanstxt/

  2. Till Krüss
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for the feedback. This plugin is executing flush_rewrite_rules(false) on the init action. Please make sure you add your custom rewrite rules before that.

  3. xnau
    Member
    Posted 3 years ago #

    Took me a minute to understand what you meant, but what I did was add a priority to the init action on my custom post type (2--just a guess), and then updated permalinks. Everything is working together great now...thanks!

    add_action( 'init', 'vrtheme_event_type_register', 2 );

  4. Till Krüss
    Member
    Plugin Author

    Posted 3 years ago #

    ah okay great thanks! I'll consider increasing the priority on my side : )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags