WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type Archives
is_post_type_archive (3 posts)

  1. Frumph
    Member
    Posted 3 years ago #

    function is_post_type_archive() is a function in wordpress 3.1 wp-includes/query.php, this needs to be renamed, you missed this one when you were doing prefix's for your other functions ;)

    - Phil

    http://wordpress.org/extend/plugins/custom-post-type-archives/

  2. rATRIJS
    Member
    Plugin Author

    Posted 3 years ago #

    This should be fixed on the v1.5 which should be available in the next few minutes.

    Please note that function 'is_post_type_archive' is renamed to 'pta_is_post_type_archive' so if you use it in your theme then you should change those function calls to call the correct function, because WordPress's built in function won't work with this plugin (it won't return expected results).

  3. Mike Fowler
    Member
    Posted 3 years ago #

    Glad I saw this, and thanks a lot for fixing :)

    Should be updated in the plugin Description.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic