Changeset 3053204
- Timestamp:
- 03/18/2024 08:37:31 AM (2 years ago)
- Location:
- dmimag-faqs/trunk
- Files:
-
- 2 added
- 4 edited
-
dmimag-faqs.php (modified) (2 diffs)
-
includes/class-dmimag-faqs.php (modified) (1 diff)
-
public/class-dmimag-faqs-public.php (modified) (3 diffs)
-
public/css/dmimag-faqs-public.min.css (added)
-
public/js/dmimag-faqs-public.min.js (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dmimag-faqs/trunk/dmimag-faqs.php
r2983249 r3053204 15 15 * Plugin URI: https://faqs.dmimag.site 16 16 * Description: FAQs Plugin. FAQ. Accordion Style, Guide Style 17 * Version: 1.2. 517 * Version: 1.2.6 18 18 * Author: dmimag <dmimag.site@gmail.com> 19 19 * Author URI: https://dmimag.site … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'DMIMAG_FAQS_VERSION', '1.2. 5' );36 define( 'DMIMAG_FAQS_VERSION', '1.2.6' ); 37 37 38 38 /** -
dmimag-faqs/trunk/includes/class-dmimag-faqs.php
r2983249 r3053204 68 68 $this->version = DMIMAG_FAQS_VERSION; 69 69 } else { 70 $this->version = '1.2. 5';70 $this->version = '1.2.6'; 71 71 } 72 72 -
dmimag-faqs/trunk/public/class-dmimag-faqs-public.php
r2983249 r3053204 62 62 */ 63 63 public function enqueue_styles() { 64 wp_ enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/dmimag-faqs-public.css', array(), $this->version, 'all' );64 wp_register_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/dmimag-faqs-public.min.css', null, $this->version, 'all' ); 65 65 } 66 66 … … 71 71 */ 72 72 public function enqueue_scripts() { 73 wp_ enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/dmimag-faqs-public.js', array( 'jquery' ), $this->version, 'in_footer');73 wp_register_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/dmimag-faqs-public.min.js', array( 'jquery' ), $this->version, array( 'in_footer' => true, 'strategy' => 'async') ); 74 74 } 75 75 … … 80 80 */ 81 81 function dmimag_faqs_shortcode( $atts ) { 82 83 wp_enqueue_style( $this->plugin_name ); 84 wp_enqueue_script( $this->plugin_name ); 85 82 86 ob_start(); 83 87 -
dmimag-faqs/trunk/readme.txt
r2983249 r3053204 4 4 Tags: faq plugin, wordpress faq, faq, faqs, guide, docs, question, answer, accordion 5 5 Requires at least: 6.0 6 Tested up to: 6. 46 Tested up to: 6.5 7 7 Requires PHP: 7.4 8 Stable tag: 1.2. 58 Stable tag: 1.2.6 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 43 43 == Changelog == 44 44 45 = 1.2.6 = 46 - Changed the way the plugin styles and scripts are displayed. CSS and JS are only displayed when using the plugin shortcode. Minify CSS and JS 47 - Fixed minor bugs 48 45 49 = 1.2.5 = 46 50 - Add Schema.org/FAQPage
Note: See TracChangeset
for help on using the changeset viewer.