Changeset 3351165
- Timestamp:
- 08/27/2025 11:49:57 AM (6 months ago)
- Location:
- xpose-content
- Files:
-
- 46 added
- 2 edited
-
tags/0.9.10 (added)
-
tags/0.9.10/assets (added)
-
tags/0.9.10/assets/css (added)
-
tags/0.9.10/assets/css/xc-all.css (added)
-
tags/0.9.10/assets/css/xc-styles.css (added)
-
tags/0.9.10/assets/fonts (added)
-
tags/0.9.10/assets/fonts/fa-brands-400.eot (added)
-
tags/0.9.10/assets/fonts/fa-brands-400.svg (added)
-
tags/0.9.10/assets/fonts/fa-brands-400.ttf (added)
-
tags/0.9.10/assets/fonts/fa-brands-400.woff (added)
-
tags/0.9.10/assets/fonts/fa-brands-400.woff2 (added)
-
tags/0.9.10/assets/fonts/fa-regular-400.eot (added)
-
tags/0.9.10/assets/fonts/fa-regular-400.svg (added)
-
tags/0.9.10/assets/fonts/fa-regular-400.ttf (added)
-
tags/0.9.10/assets/fonts/fa-regular-400.woff (added)
-
tags/0.9.10/assets/fonts/fa-regular-400.woff2 (added)
-
tags/0.9.10/assets/fonts/fa-solid-900.eot (added)
-
tags/0.9.10/assets/fonts/fa-solid-900.svg (added)
-
tags/0.9.10/assets/fonts/fa-solid-900.ttf (added)
-
tags/0.9.10/assets/fonts/fa-solid-900.woff (added)
-
tags/0.9.10/assets/fonts/fa-solid-900.woff2 (added)
-
tags/0.9.10/assets/images (added)
-
tags/0.9.10/assets/images/onpage-icon.png (added)
-
tags/0.9.10/assets/images/xpose-content-icon.png (added)
-
tags/0.9.10/includes (added)
-
tags/0.9.10/includes/footer-credits.php (added)
-
tags/0.9.10/includes/xc-class-queries.php (added)
-
tags/0.9.10/languages (added)
-
tags/0.9.10/languages/xpose-content-pt_BR.mo (added)
-
tags/0.9.10/languages/xpose-content-pt_BR.po (added)
-
tags/0.9.10/languages/xpose-content.pot (added)
-
tags/0.9.10/readme.txt (added)
-
tags/0.9.10/views (added)
-
tags/0.9.10/views/xc-custom-export.php (added)
-
tags/0.9.10/views/xc-custom.php (added)
-
tags/0.9.10/views/xc-dash.php (added)
-
tags/0.9.10/views/xc-pages-export.php (added)
-
tags/0.9.10/views/xc-pages-onpage.php (added)
-
tags/0.9.10/views/xc-pages.php (added)
-
tags/0.9.10/views/xc-posts-export.php (added)
-
tags/0.9.10/views/xc-posts-onpage.php (added)
-
tags/0.9.10/views/xc-posts.php (added)
-
tags/0.9.10/views/xc-products-export.php (added)
-
tags/0.9.10/views/xc-products-onpage.php (added)
-
tags/0.9.10/views/xc-products.php (added)
-
tags/0.9.10/xpose-content.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/xpose-content.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xpose-content/trunk/readme.txt
r3326330 r3351165 5 5 Requires at least: 6.1 6 6 Tested up to: 6.8 7 Stable tag: 0.9. 97 Stable tag: 0.9.10 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 46 46 ## Changelog 47 ### 0.9.10 48 * Get-It-On: On-Page Features, Check the basic informations of Pages, Posts and Products. 47 49 ### 0.9.9 48 50 * Is Classified: Improvements in the Code, and the new Visual Identity of the XC. -
xpose-content/trunk/xpose-content.php
r3326330 r3351165 4 4 * Plugin URI: https://xposecontent.com/ 5 5 * Description: Xpose Content is a tool for managers who want to view and manage all the content of a site, blog or ecommerce project. Check the main metrics related to published content and export them to spreadsheets. 6 * Version: 0.9. 96 * Version: 0.9.10 7 7 * Author: Leonardo de Souza 8 * Author URI: https://g estordeconteudo.com/8 * Author URI: https://grunge.com.br/ 9 9 * License: GPL v2 or later 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 69 69 'XC Products', 70 70 'manage_options', 71 'xc-prod cuts',71 'xc-products', 72 72 'xpco_products' 73 73 ); … … 80 80 'xpco_custom' 81 81 ); 82 add_submenu_page( 83 null, 84 'Posts OnPage', 85 'XC Posts OnPage', 86 'manage_options', 87 'xc-posts-onpage', 88 'xpco_posts_onpage' 89 ); 90 add_submenu_page( 91 null, 92 'Pages OnPage', 93 'XC Pages OnPage', 94 'manage_options', 95 'xc-pages-onpage', 96 'xpco_pages_onpage' 97 ); 98 add_submenu_page( 99 null, 100 'Products OnPage', 101 'XC Products OnPage', 102 'manage_options', 103 'xc-products-onpage', 104 'xpco_products_onpage' 105 ); 106 add_submenu_page( 107 null, 108 'Custom OnPage', 109 'XC Custom OnPage', 110 'manage_options', 111 'xc-custom-posts-onpage', 112 'xpco_custom_posts_onpage' 113 ); 114 } 115 116 // Admin Submenu 117 add_action( 'admin_head', 'xpco_force_open_menu' ); 118 function xpco_force_open_menu() { 119 global $plugin_page, $submenu_file; 120 $onpage_list = array( 121 'xc-posts-onpage' => 'xc-posts', 122 'xc-pages-onpage' => 'xc-pages', 123 'xc-products-onpage' => 'xc-products', 124 'xc-custom-posts-onpage' => 'xc-custom', 125 ); 126 if ( isset($_GET['page']) ) { 127 $page = sanitize_key( wp_unslash( $_GET['page'] ) ); 128 if ( isset($onpage_list[$page]) ) { 129 $plugin_page = 'xc-dashboard'; 130 $submenu_file = $onpage_list[$page]; 131 } 132 } 82 133 } 83 134 … … 95 146 add_action( 'init', 'xpco_posts_export' ); 96 147 148 function xpco_posts_onpage(){ 149 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-posts-onpage.php' ); 150 } 151 97 152 function xpco_pages(){ 98 153 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-pages.php' ); … … 104 159 add_action( 'init', 'xpco_pages_export' ); 105 160 161 function xpco_pages_onpage(){ 162 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-pages-onpage.php' ); 163 } 164 106 165 function xpco_products(){ 107 166 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-products.php' ); … … 113 172 add_action( 'init', 'xpco_products_export' ); 114 173 174 function xpco_products_onpage(){ 175 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-products-onpage.php' ); 176 } 177 115 178 function xpco_custom(){ 116 179 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-custom.php' ); … … 122 185 add_action( 'init', 'xpco_custom_export' ); 123 186 187 function xpco_custom_posts_onpage(){ 188 require_once( plugin_dir_path( __FILE__ ) . 'views/xc-custom-posts-onpage.php' ); 189 } 190 124 191 // Used Styles 125 192 function xpose_content_stylesheets(){ 126 // Define The Version as a Timestamp or a Static Version Number 127 $version = '0.9.9'; 128 // Enqueue The Styles With Versioning 193 $version = '0.9.10'; 129 194 wp_enqueue_style( 'xc-styles', plugins_url( '/assets/css/xc-styles.css', __FILE__ ), array(), $version ); 130 195 wp_enqueue_style( 'xc-all', plugins_url( '/assets/css/xc-all.css', __FILE__ ), array(), $version ); … … 137 202 } 138 203 add_action( 'init', 'xpose_content_load_textdomain' ); 204 205 // Description Links 206 add_filter( 'plugin_row_meta', 'xpose_content_meta_links', 10, 2 ); 207 function xpose_content_meta_links( $xc_links, $file ) { 208 if ( plugin_basename(__FILE__) == $file ) { 209 $xc_links[] = '<a href="' . esc_url( 'https://www.amazon.com.br/dp/B0FGFGL13X' ) . '" target="_blank">' . esc_html( 'Check my Book' ) . '</a>'; 210 } 211 return $xc_links; 212 } 139 213 ?>
Note: See TracChangeset
for help on using the changeset viewer.