Plugin Directory

Changeset 2940015


Ignore:
Timestamp:
07/18/2023 05:41:42 PM (3 years ago)
Author:
aiwp
Message:

Updated version 1.4.2

Location:
ai-addons-for-elementor/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • ai-addons-for-elementor/trunk/ai-addons.php

    r2938191 r2940015  
    44    Plugin URI: http://aiaddons.ai/
    55    Description: Discover the most advanced Elementor addons: AI featured widgets, Header & Footer builders, Mega menu builder, layout pack, drag and drop custom controls and potent custom controls.
    6     Version: 1.4.1
     6    Version: 1.4.2
    77    Author: AI WP
    88    Author URI: https://profiles.wordpress.org/aiwp/
  • ai-addons-for-elementor/trunk/includes/base/addon-base.php

    r2938131 r2940015  
    8888            //Form Widgets
    8989            'contact-form-7'    => [ 'url' => 'https://aiaddons.ai/contact-form-demo/', 'pro' => false, 'title' => esc_html__( 'Elementor Contact Form 7 Widget', 'ai-addons' ) ],
     90            'ninja-form'    => [ 'url' => 'https://aiaddons.ai/ninja-form-demo/', 'pro' => false, 'title' => esc_html__( 'Elementor Ninja Form Widget', 'ai-addons' ) ],
     91            'wp-form'   => [ 'url' => 'https://aiaddons.ai/wp-form-demo/', 'pro' => false, 'title' => esc_html__( 'Elementor WP Form Widget', 'ai-addons' ) ],
    9092           
    9193            //Post Widget
  • ai-addons-for-elementor/trunk/includes/class.ai-post-elements.php

    r2913771 r2940015  
    3535        global $wpdb;
    3636        $forms = array( '' => esc_html__( 'None', 'ai-addons' ) );
    37         $result = $wpdb->get_results( "SELECT id, title FROM ". $wpdb->prefix ."nf3_forms" );
    38 
    39         if( !empty( $result ) ){
    40             foreach( $result as $key ){
    41                 $forms[$key->id] = $key->title;
     37        if( class_exists( "Ninja_Forms" ) ){
     38            $result = $wpdb->get_results( "SELECT id, title FROM ". $wpdb->prefix ."nf3_forms" );
     39
     40            if( !empty( $result ) ){
     41                foreach( $result as $key ){
     42                    $forms[$key->id] = $key->title;
     43                }
    4244            }
    4345        }
    4446       
    4547        return $forms;
     48       
     49    }
     50   
     51    function get_wp_forms() {
     52       
     53        static $forms_list = [];
     54       
     55        if( function_exists( 'wpforms' ) && empty( $forms_list ) ) {
     56            $forms = wpforms()->form->get();
     57            if ( ! empty( $forms ) ) {
     58                $forms_list[0] = esc_html__( 'Select a form', 'ai-addons' );
     59                foreach ( $forms as $form ) {
     60                    $forms_list[ $form->ID ] = mb_strlen( $form->post_title ) > 100 ? mb_substr( $form->post_title, 0, 97 ) . '...' : $form->post_title;
     61                }
     62            }
     63        }
     64
     65        return $forms_list;
    4666       
    4767    }
  • ai-addons-for-elementor/trunk/readme.txt

    r2938191 r2940015  
    1 === AI Elementor Addons and Templates ===
     1=== AI Elementor Addons ===
    22Contributors: AI WP
    33Tags: elementor, elementor addons, elementor templates, elementor widgets, elementor elements
     
    55Tested up to: 6.2
    66Requires PHP: 5.7
    7 Stable tag: 1.4.1
     7Stable tag: 1.4.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1010
    11 AI Elementor Addons comes with 58+ elementor widgets and modules can be used to add content using OpenAI GPT, extra design elements, animation effects, sliders, and more to any Elementor page.
     11AI Elementor Addons comes with 62+ elementor widgets and modules can be used to add content using OpenAI GPT, extra design elements, animation effects, sliders, and more to any Elementor page.
    1212
    1313== Description ==
     
    1515### THE #1 AI ELEMENTOR ADDONS
    1616
    17 Introducing our exceptional lineup of over 58+ addons and widgets for [Elementor](https://wordpress.org/plugins/elementor/), the leading website builder. Created with a focus on empowering web designers and developers, our add-ons seamlessly integrate with Elementor, providing a vast array of dynamic features and functionalities. Elevate your website creation process with our meticulously crafted add-ons, offering an extensive.
     17Introducing our exceptional lineup of over 62+ addons and widgets for [Elementor](https://wordpress.org/plugins/elementor/), the leading website builder. Created with a focus on empowering web designers and developers, our add-ons seamlessly integrate with Elementor, providing a vast array of dynamic features and functionalities. Elevate your website creation process with our meticulously crafted add-ons, offering an extensive.
    1818
    1919The [AI Elementor Addons](https://aiaddons.ai/) are powerful tools that enhance the functionality and capabilities of the Elementor page builder plugin. These AI add-ons utilize artificial intelligence algorithms to provide advanced features, automation, and intelligent recommendations for creating stunning websites. These add-ons save time, enhance user experience, and provide valuable insights for optimizing your website's performance.
     
    186186== Changelog ==
    187187
     188= 1.4.2 - July 18, 2023 =
     189
     190* Wp Form widget added
     191* Ninja form widget added
     192* Front-end styles updated
     193
    188194= 1.4.1 - July 13, 2023 =
    189195
Note: See TracChangeset for help on using the changeset viewer.