Changeset 3071422
- Timestamp:
- 04/16/2024 09:07:01 AM (2 years ago)
- Location:
- genesis-author-pro
- Files:
-
- 33 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/classes (added)
-
tags/1.2/classes/class.Genesis_Author_Pro.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Activation.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Book_Meta.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_CPT.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Save.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Template.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Widget.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Widget_Admin.php (added)
-
tags/1.2/classes/class.Genesis_Author_Pro_Widget_Output.php (added)
-
tags/1.2/classes/index.php (added)
-
tags/1.2/functions (added)
-
tags/1.2/functions/index.php (added)
-
tags/1.2/functions/template.php (added)
-
tags/1.2/index.php (added)
-
tags/1.2/languages (added)
-
tags/1.2/languages/genesis-author-pro.pot (added)
-
tags/1.2/plugin.php (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/resources (added)
-
tags/1.2/resources/css (added)
-
tags/1.2/resources/css/admin.css (added)
-
tags/1.2/resources/css/default.css (added)
-
tags/1.2/resources/css/index.php (added)
-
tags/1.2/resources/index.php (added)
-
tags/1.2/templates (added)
-
tags/1.2/templates/archive-books.php (added)
-
tags/1.2/templates/index.php (added)
-
tags/1.2/templates/single-books.php (added)
-
tags/1.2/templates/taxonomy-book-authors.php (added)
-
tags/1.2/templates/taxonomy-book-series.php (added)
-
tags/1.2/templates/taxonomy-book-tags.php (added)
-
trunk/plugin.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
genesis-author-pro/trunk/plugin.php
r3012924 r3071422 5 5 Plugin URI: https://wordpress.org/plugins/genesis-author-pro/ 6 6 Description: Adds default Book CPT to any Genesis HTML5 theme. 7 Version: 1. 17 Version: 1.2 8 8 Author: OsomPress 9 9 Author URI: https://www.osompress.com/ … … 68 68 add_action( 'init', array( 'Genesis_Author_Pro_CPT', 'init' ), 1 ); 69 69 70 add_action( 'init', 'author_pro_init' ); 71 /** 72 * Action added on the init hook. 73 * @access public 74 * @return void 75 */ 76 77 function author_pro_init(){ 78 79 add_action( 'after_setup_theme' , array( 'Genesis_Author_Pro_CPT', 'maybe_add_image_size' ) ); 80 add_action( 'load-post.php' , array( 'Genesis_Author_Pro' , 'maybe_do_book_meta' ) ); 81 add_action( 'load-post-new.php' , array( 'Genesis_Author_Pro' , 'maybe_do_book_meta' ) ); 82 add_action( 'load-edit-tags.php' , array( 'Genesis_Author_Pro' , 'maybe_enqueue_scripts' ) ); 83 add_filter( 'bulk_post_updated_messages', array( 'Genesis_Author_Pro' , 'bulk_updated_messages' ), 10, 2 ); 84 add_action( 'save_post' , array( 'Genesis_Author_Pro' , 'maybe_do_save' ), 10, 2 ); 85 86 } 87 70 88 add_action( 'genesis_init', 'genesis_author_pro_init' ); 89 71 90 /** 72 91 * Action added on the genesis_init hook. … … 77 96 * @return void 78 97 */ 98 79 99 function genesis_author_pro_init(){ 80 100 81 101 $archive_page_hook = sprintf( 'load-%1$s_page_genesis-cpt-archive-%1$s', 'books' ); 82 83 add_filter( 'template_include', array( 'Genesis_Author_Pro_Template', 'maybe_include_template' ) );84 85 102 add_action( 'init' , array( 'Genesis_Author_Pro_CPT', 'maybe_remove_genesis_sidebar_form' ), 11 ); 86 103 add_action( 'admin_init' , array( 'Genesis_Author_Pro_CPT', 'remove_genesis_layout_options' ), 11 ); 87 add_action( 'after_setup_theme' , array( 'Genesis_Author_Pro_CPT', 'maybe_add_image_size' ) ); 88 add_action( 'load-post.php' , array( 'Genesis_Author_Pro' , 'maybe_do_book_meta' ) ); 89 add_action( 'load-post-new.php' , array( 'Genesis_Author_Pro' , 'maybe_do_book_meta' ) ); 90 add_action( 'load-edit-tags.php' , array( 'Genesis_Author_Pro' , 'maybe_enqueue_scripts' ) ); 104 add_filter( 'template_include', array( 'Genesis_Author_Pro_Template', 'maybe_include_template' ) ); 91 105 add_action( $archive_page_hook , array( 'Genesis_Author_Pro' , 'maybe_enqueue_scripts' ) ); 92 add_filter( 'bulk_post_updated_messages', array( 'Genesis_Author_Pro' , 'bulk_updated_messages' ), 10, 2 );93 add_action( 'save_post' , array( 'Genesis_Author_Pro' , 'maybe_do_save' ), 10, 2 );94 106 add_action( 'widgets_init' , array( 'Genesis_Author_Pro' , 'widgets_init' ) ); 95 107 -
genesis-author-pro/trunk/readme.txt
r3063463 r3071422 4 4 Requires at least: 5.0 5 5 Tested up to: 6.5 6 Stable tag: 1. 16 Stable tag: 1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Adds a book library to any Genesis child theme to attractively display book details in single and archive views. 10 Adds a book library to any any WordPress theme. 11 In Genesis child theme also attractively display book details in single and archive views. 11 12 12 13 == Description == … … 56 57 The date will be stored in a computer readable format and then output following the date format set in the WordPress options. 57 58 58 Templatesare built into the plugin with default CSS to create the basic layout for all child themes. Templates follow standard WP template hierarchy so if the template is in the child theme, that will override the template in the plugin. Templates include:59 For Genesis child themes also offer templates that are built into the plugin with default CSS to create the basic layout for all child themes. Templates follow standard WP template hierarchy so if the template is in the child theme, that will override the template in the plugin. Templates include: 59 60 60 61 * single-books.php … … 72 73 73 74 == Changelog == 75 76 = 1.2 = 77 * You can use now the plugin with other themes, not only Genesis child themes. 74 78 75 79 = 1.1 =
Note: See TracChangeset
for help on using the changeset viewer.