- Contributors: @iceicetimmy, @shaunbent
- Tags: ACF, Post Type Selector
- Requires at least: 3.4
- Tested up to: 4.0.1
- Stable tag: trunk
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Provides the option to select a single or multiple post types
This add-on will work with:
- version 4 and up
- version 3 and bellow
This add-on can be treated as both a WP plugin and a theme include.
- Copy the 'acf-post-type-selector' folder into your plugins folder
- Activate the plugin via the Plugins admin page
-
Copy the 'acf-post-type-selector' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
-
Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-post-type-selector.php file)
add_action( 'acf/register_fields', 'my_register_fields' ); function my_register_fields() { include_once( 'acf-post-type-selector}/acf-post-type-selector.php' ); }
- Initial Release.