Changeset 2970366
- Timestamp:
- 09/22/2023 07:47:53 PM (2 years ago)
- Location:
- simple-post-template
- Files:
-
- 62 added
- 3 edited
-
tags/2.2.5 (added)
-
tags/2.2.5/admin (added)
-
tags/2.2.5/admin/class-advanced-content-templates-admin.php (added)
-
tags/2.2.5/admin/index.php (added)
-
tags/2.2.5/admin/partials (added)
-
tags/2.2.5/admin/partials/advanced-content-templates-admin-display.php (added)
-
tags/2.2.5/admin/partials/advanced-content-templates-admin-sidecar.php (added)
-
tags/2.2.5/admin/partials/advanced-content-templates-admin-upgrade.php (added)
-
tags/2.2.5/composer.json (added)
-
tags/2.2.5/composer.lock (added)
-
tags/2.2.5/includes (added)
-
tags/2.2.5/includes/class-advanced-content-templates-i18n.php (added)
-
tags/2.2.5/includes/class-advanced-content-templates-loader.php (added)
-
tags/2.2.5/includes/class-advanced-content-templates.php (added)
-
tags/2.2.5/includes/index.php (added)
-
tags/2.2.5/index.php (added)
-
tags/2.2.5/languages (added)
-
tags/2.2.5/languages/advanced-content-templates.pot (added)
-
tags/2.2.5/lib (added)
-
tags/2.2.5/lib/wordpress-simple-settings.php (added)
-
tags/2.2.5/license.txt (added)
-
tags/2.2.5/public (added)
-
tags/2.2.5/public/class-advanced-content-templates-public.php (added)
-
tags/2.2.5/public/index.php (added)
-
tags/2.2.5/readme.txt (added)
-
tags/2.2.5/simple-content-template.php (added)
-
tags/2.2.5/uninstall.php (added)
-
tags/2.2.5/vendor (added)
-
tags/2.2.5/vendor/autoload.php (added)
-
tags/2.2.5/vendor/composer (added)
-
tags/2.2.5/vendor/composer/ClassLoader.php (added)
-
tags/2.2.5/vendor/composer/InstalledVersions.php (added)
-
tags/2.2.5/vendor/composer/LICENSE (added)
-
tags/2.2.5/vendor/composer/autoload_classmap.php (added)
-
tags/2.2.5/vendor/composer/autoload_namespaces.php (added)
-
tags/2.2.5/vendor/composer/autoload_psr4.php (added)
-
tags/2.2.5/vendor/composer/autoload_real.php (added)
-
tags/2.2.5/vendor/composer/autoload_static.php (added)
-
tags/2.2.5/vendor/composer/installed.json (added)
-
tags/2.2.5/vendor/composer/installed.php (added)
-
tags/2.2.5/vendor/composer/platform_check.php (added)
-
tags/2.2.5/vendor/objectivco (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/.gitignore (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/LICENSE (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/README.md (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/composer.json (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples/awesome-plugin (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples/awesome-plugin/awesome-plugin-admin.php (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples/awesome-plugin/awesome-plugin.php (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples/awesome-plugin/inc (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/examples/awesome-plugin/inc/wordpress-simple-settings.php (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/src (added)
-
tags/2.2.5/vendor/objectivco/wordpress-simple-settings/src/wordpress-simple-settings.php (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/.gitignore (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/LICENSE (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/README.md (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/composer.json (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/src (added)
-
tags/2.2.5/vendor/objectivco/wp_tabbed_navigation/src/class-wp-tabbed-navigation.php (added)
-
trunk/public/class-advanced-content-templates-public.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/simple-content-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-post-template/trunk/public/class-advanced-content-templates-public.php
r1632943 r2970366 21 21 * @author Clifton Griffin <[email protected]> 22 22 */ 23 class Simple_Content_Templates_Public { 23 class Simple_Content_Templates_Public 24 { 24 25 25 /**26 * The ID of this plugin.27 *28 * @since 1.0.029 * @access private30 * @var string $Simple_Content_Templates The ID of this plugin.31 */32 private $plugin_name;26 /** 27 * The ID of this plugin. 28 * 29 * @since 1.0.0 30 * @access private 31 * @var string $Simple_Content_Templates The ID of this plugin. 32 */ 33 private $plugin_name; 33 34 34 /**35 * The version of this plugin.36 *37 * @since 1.0.038 * @access private39 * @var string $version The current version of this plugin.40 */41 private $version;35 /** 36 * The version of this plugin. 37 * 38 * @since 1.0.0 39 * @access private 40 * @var string $version The current version of this plugin. 41 */ 42 private $version; 42 43 43 /**44 * Main instance of this plugin.45 *46 * @since 1.0.047 * @access private48 * @var string $plugin_name The ID of this plugin.49 */50 private $plugin;44 /** 45 * Main instance of this plugin. 46 * 47 * @since 1.0.0 48 * @access private 49 * @var string $plugin_name The ID of this plugin. 50 */ 51 private $plugin; 51 52 52 /** 53 * Initialize the class and set its properties. 54 * 55 * @since 1.0.0 56 * @param string $Simple_Content_Templates The name of the plugin. 57 * @param string $version The version of this plugin. 58 */ 59 public function __construct( $Simple_Content_Templates, $version, $plugin ) { 53 /** 54 * Initialize the class and set its properties. 55 * 56 * @since 1.0.0 57 * @param string $Simple_Content_Templates The name of the plugin. 58 * @param string $version The version of this plugin. 59 */ 60 public function __construct($Simple_Content_Templates, $version, $plugin) 61 { 60 62 61 $this->plugin_name = $Simple_Content_Templates; 62 $this->version = $version; 63 $this->plugin = $plugin; 63 $this->plugin_name = $Simple_Content_Templates; 64 $this->version = $version; 65 $this->plugin = $plugin; 66 } 64 67 65 } 68 /** 69 * Registers the post type 70 * 71 * @access public 72 * @return void 73 */ 74 function register_post_type() 75 { 66 76 67 /** 68 * Registers the post type 69 * 70 * @access public 71 * @return void 72 */ 73 function register_post_type() { 77 // Register Post Type 78 $menu_icon = "dashicons-welcome-write-blog"; 74 79 75 // Register Post Type 76 $menu_icon = "dashicons-welcome-write-blog"; 77 78 register_post_type($this->plugin->post_type, array( 'label' => 'Simple Content Templates','description' => '','public' => false, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true,'capability_type' => 'post','menu_icon' => $menu_icon, 'hierarchical' => false,'rewrite' => array('slug' => ''), 'query_var' => true, 'exclude_from_search' => true, 'show_in_nav_menus' => false, 'supports' => array('title','editor','excerpt','comments','revisions'),'labels' => array ( 79 'name' => 'Simple Content Templates', 80 'singular_name' => 'Content Template', 81 'menu_name' => 'Content Templates', 82 'add_new' => 'Add Template', 83 'add_new_item' => 'Add New Template', 84 'edit' => 'Edit', 85 'edit_item' => 'Edit Template', 86 'new_item' => 'New Template', 87 'view' => 'View Template', 88 'view_item' => 'View Template', 89 'search_items' => 'Search Templates', 90 'not_found' => 'No Templates Found', 91 'not_found_in_trash' => 'No Templates Found in Trash', 92 'parent' => 'Parent Template', 93 ),) ); 94 95 } 96 80 register_post_type( 81 $this->plugin->post_type, 82 array( 83 'label' => 'Simple Content Templates', 84 'description' => '', 85 'public' => false, 86 'publicly_queryable' => false, 87 'has_archive' => false, 88 'show_ui' => true, 89 'show_in_menu' => true, 90 'capability_type' => 'post', 91 'menu_icon' => $menu_icon, 92 'hierarchical' => false, 93 'rewrite' => array('slug' => ''), 94 'query_var' => true, 95 'exclude_from_search' => true, 96 'show_in_nav_menus' => false, 97 'supports' => 98 array( 99 'title', 100 'editor', 101 'excerpt', 102 'comments', 103 'revisions' 104 ), 105 'labels' => 106 array ( 107 'name' => 'Simple Content Templates', 108 'singular_name' => 'Content Template', 109 'menu_name' => 'Content Templates', 110 'add_new' => 'Add Template', 111 'add_new_item' => 'Add New Template', 112 'edit' => 'Edit', 113 'edit_item' => 'Edit Template', 114 'new_item' => 'New Template', 115 'view' => 'View Template', 116 'view_item' => 'View Template', 117 'search_items' => 'Search Templates', 118 'not_found' => 'No Templates Found', 119 'not_found_in_trash' => 'No Templates Found in Trash', 120 'parent' => 'Parent Template', 121 ), 122 ) 123 ); 124 } 97 125 } -
simple-post-template/trunk/readme.txt
r2970365 r2970366 4 4 Requires at least: 3.6 5 5 Tested up to: 6.3.1 6 Stable tag: 2.2. 46 Stable tag: 2.2.5 7 7 8 8 Create content templates for your posts and pages. When creating a new post or page use one of your content templates as the starting point! … … 37 37 == Changelog == 38 38 39 **Version 2.2.5** 40 41 * Bump version 42 * Missed on small fix I wanted to make earlier, tweak applied 43 39 44 **Version 2.2.4** 40 45 -
simple-post-template/trunk/simple-content-template.php
r2970365 r2970366 17 17 * Plugin URI: https://www.advancedcontenttemplates.com/ 18 18 * Description: A simple to use content template system. Create similarly structured posts & pages with ease. 19 * Version: 2.2. 419 * Version: 2.2.5 20 20 * Author: Clifton Griffin 21 21 * Author URI: https://objectiv.co … … 32 32 } 33 33 34 define('CGD_SCT_VERSION', '2.2. 4');34 define('CGD_SCT_VERSION', '2.2.5'); 35 35 define('CGD_SCT_NAME', 'Simple Content Templates'); 36 36
Note: See TracChangeset
for help on using the changeset viewer.