Changeset 2777219
- Timestamp:
- 08/29/2022 01:40:56 PM (4 years ago)
- Location:
- hellowoofy-com/trunk
- Files:
-
- 1 added
- 3 edited
-
admin/class-custom-post-archieve.php (added)
-
admin/class-custom-post-template.php (modified) (2 diffs)
-
hellowoofy-com.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hellowoofy-com/trunk/admin/class-custom-post-template.php
r2747043 r2777219 19 19 public function __construct() { 20 20 add_filter( 'single_template', array( 'Custom_Post_Template', 'mws_single_story_template' ) ); 21 22 add_filter( 'archive_template', array($this, 'get_custom_post_type_template') ) ; 21 23 } 22 24 /** … … 32 34 return $template; 33 35 } 36 37 public function get_custom_post_type_template( $archive_template ) { 38 global $post; 39 if (is_archive() && get_post_type($post) == 'webstories') { 40 return plugin_dir_path( __FILE__ ) . 'class-custom-post-archieve.php'; 41 } 42 return $archive_template; 43 } 44 34 45 } 35 46 new Custom_Post_Template(); -
hellowoofy-com/trunk/hellowoofy-com.php
r2765844 r2777219 4 4 * Plugin URI: https://hellowoofy.com/hellowoofy-wordpress-plugin/ 5 5 * Description: Create marketing content automatically using data science. 6 * Version: 1.1. 16 * Version: 1.1.2 7 7 * Author: HelloWoofy.com 8 8 * Author URI: https://hellowoofy.com … … 39 39 } 40 40 if ( ! defined( 'MWS_PLUGIN_VERSION' ) ) { 41 define( 'MWS_PLUGIN_VERSION', '1.1. 1' );41 define( 'MWS_PLUGIN_VERSION', '1.1.2' ); 42 42 } 43 43 -
hellowoofy-com/trunk/readme.txt
r2765844 r2777219 5 5 Requires at least: 3.5 6 6 Tested up to: 6.0 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 Requires PHP: 5.6.20 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.