This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Backdrop Post Types

Description

Backdrop Post Types allows you to create a new post type without configurations. By Default, Portfolio Post Type is registered.

Working with Themes

By default, portoflio post type is already registered. If you wish to not used the default post type, you can disable it using add_filter(); in your functions.php as follow

add_filter( ‘backdrop_post_types_override_portfolio’, ‘__return_true’ );

To create a new post type by creating a folder called post-types/demo.php somewhere in your theme and use the following to register a new post type.

$demo = new \Benlumia007\BackdropPostTypes\Register\PostType( ‘demo’ );
$demo->create_post_type( ‘demo’, ‘Demo’, ‘Demos’ );
$demo->register();

Installation

1.0 – In your admin panel, go to Appearance -> Plugins and click the Add New button.
2.0 – Click Upload and Choose File, then select the theme’s ZIP file. Click Install Now.
3.0 – Click Activate to use your new plugin right away.

FAQ

How to disabled the default post type ( portoflio )
add_filter( ‘backdrop_post_types_override_portfolio’, ‘__return_true’ );

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Backdrop Post Types” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Backdrop Post Types” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

added with_front = false

1.0.0

Release Date: April 16, 2019

  • Initial Release