• If you’re lamenting the fact that wp_get_archives() still doesn’t accept custom post types, this is your plugin. See the documentation for the plugin’s own alternative. It is a direct copy of the core function with CPT support added.

    Be sure to use if(function_exists('cptda_get_archives')) { … } to confirm the plugin is present before assuming the functions exist.

  • The topic ‘Does the job’ is closed to new replies.