PHP code example of wpscholar / wp-post-subtitle
1. Go to this page and download the library: Download wpscholar/wp-post-subtitle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wpscholar / wp-post-subtitle example snippets
add_post_type_support( 'post', 'subtitle' );
add_action( 'after_setup_theme', '\wpscholar\WordPress\PostSubtitle::initialize' );