archives-for-custom-post-types icon indicating copy to clipboard operation
archives-for-custom-post-types copied to clipboard

Post Type in archive

Open Asamad90 opened this issue 7 years ago • 0 comments

You mentioned the following steps for 'archives-for-custom-post-types'

  1. Upload archives-for-custom-post-types.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php wp_get_archives_cpt( 'post_type=custom_post_type' ); ?> in your templates My question is in which template I should put step Number 3?I put it in function.php and it prought my site down!!!

Asamad90 avatar Jan 09 '18 22:01 Asamad90