Plugin Directory

Changeset 3053204


Ignore:
Timestamp:
03/18/2024 08:37:31 AM (2 years ago)
Author:
dmimag
Message:

Update to v. 1.2.6

Location:
dmimag-faqs/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • dmimag-faqs/trunk/dmimag-faqs.php

    r2983249 r3053204  
    1515 * Plugin URI:        https://faqs.dmimag.site
    1616 * Description:       FAQs Plugin. FAQ. Accordion Style, Guide Style
    17  * Version:           1.2.5
     17 * Version:           1.2.6
    1818 * Author:            dmimag <dmimag.site@gmail.com>
    1919 * Author URI:        https://dmimag.site
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'DMIMAG_FAQS_VERSION', '1.2.5' );
     36define( 'DMIMAG_FAQS_VERSION', '1.2.6' );
    3737
    3838/**
  • dmimag-faqs/trunk/includes/class-dmimag-faqs.php

    r2983249 r3053204  
    6868      $this->version = DMIMAG_FAQS_VERSION;
    6969    } else {
    70       $this->version = '1.2.5';
     70      $this->version = '1.2.6';
    7171    }
    7272
  • dmimag-faqs/trunk/public/class-dmimag-faqs-public.php

    r2983249 r3053204  
    6262   */
    6363  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' );
    6565  }
    6666
     
    7171   */
    7272  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') );
    7474  }
    7575 
     
    8080   */ 
    8181  function dmimag_faqs_shortcode( $atts ) {
     82   
     83    wp_enqueue_style( $this->plugin_name );
     84    wp_enqueue_script( $this->plugin_name );
     85
    8286    ob_start();
    8387   
  • dmimag-faqs/trunk/readme.txt

    r2983249 r3053204  
    44Tags: faq plugin, wordpress faq, faq, faqs, guide, docs, question, answer, accordion
    55Requires at least: 6.0
    6 Tested up to: 6.4
     6Tested up to: 6.5
    77Requires PHP: 7.4
    8 Stable tag: 1.2.5
     8Stable tag: 1.2.6
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    4343== Changelog ==
    4444
     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
    4549= 1.2.5 =
    4650- Add Schema.org/FAQPage
Note: See TracChangeset for help on using the changeset viewer.