8 – File structure of libraries folder and detection of module external plugins

The module CKeditor anchor link require a CKEditor plugin.
Can this plugin be placed in subfolder of the /libraries folder or does it have imperatively to be placed at the root of /libraries ?

More generally, does drupal parse recursively the libraries folder when intenting to detect external plugins ?

plugins – Woocommerce Rental Agreement Signing Post Order

I am building an equipment rental website. Here is the user flow I was looking for and was wondering if anybody had any ideas.

User books equipment and woocommerce tallies the total based on number of days, taxes and shipping cost.

User completes order and chooses from different shipping options or chooses to pick up.

Once order is completed, I would like the woocommerce checkout data to auto render a rental agreement and credit card authorization document (that shows the full or Partial cc number) to e-sign.

What would be the best way to do this. Zapier has a e-commerce + hello sign integration but the agreement is emailed and not rendered in the browser.

I found this plugin but it seems a little limited and graphically lacking and expensive https://www.approveme.com/

I was hoping there was a way to use the meta data from the order and send it straight to some type of template in DocuSign, Echosign or Zoho Sign.

Any help is greatly appreciated!

plugins – Filter custom posts like Quizz

I am building a wine catalog, and I am looking for a plugin where I can filter custom posts based on the user answers. The answers are basically taxonomies or custom fields.

For example:

Question1: I like wines:
Answers: Red, White, Others…

Question2: I will drink my wine with:
Answers: Cheese, Meat, Fish, Pasta…

And so on…

There is a plugin for that? Or another way to achieve it?

plugins – Webpage doesn’t look like Elementor edit

I work with Elementor and OceanWP( theme ) on my website.

In the Elementor editor (mobile, tablet, desktop ), everything looks great but when I look at the webpage in the browser the layout ( mobile, tablet, desktop ) is not identical at all.

I hope someone can help me to locate the problem

Thank you!

Best, Parisa

The page I need help with : https://miscellaneumstudios.wpcomstaging.com

php – Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?

My employer has over a dozen WP sites, and we keep creating more. I decided to develop a plugin with all of the functions, etc. that we use across all the sites. We also use 3rd party plugins (such as Gravity Forms) on pretty much all of the sites. I would like to add a section on my settings page that detects if these 3rd party plugins are installed and if not, then include an “Install” button. I know how to detect the plugins, but I’m stuck at the install/activate part of the ordeal.

In my code below, I am trying to install the Fillable PDFs plugin from the settings page. The paid plugin zip file is on our main server. Other plugins I can get the zip file links directly from WordPress.org. I found the functions code online, but all I’m getting is a fatal error.

On my settings page:

<table class="form-table">
    <tr valign="top">
        <th scope="row">Fillable PDFs</th>
        <td>
        <?php 
        $fpdf_plugin_slug = 'forgravity-fillablepdfs/fillablepdfs.php';
        $fpdf_zip_url = 'https://mywebsite.com/download-plugins/forgravity-fillablepdfs_2.2.4.zip';
        if ( !is_plugin_active( $fpdf_plugin_slug ) ) {
            echo '<span class="span_install_button"><form method="post">
                <input type="hidden" name="pluginSlug" value="'.$fpdf_plugin_slug.'">
                <input type="hidden" name="pluginZip" value="'.$fpdf_zip_url.'">
                <input type="submit" name="install_plugin" class="btn" value="Install Plugin" />
            </form></span>';
        } else {
            echo 'Installed';
        } ?>
        </td>
    </tr>
</table>

In my functions:

if ( isset($_POST("install_plugin"))) {
    add_action( 'init', 'eri_install_plugin');
}
function eri_install_plugin($plugin_slug, $plugin_zip) {
  $plugin_slug = $_POST('pluginSlug');
  $plugin_zip = $_POST('pluginZip');  
    
  echo 'Starting ...<br><br>';
   
  echo 'Check if new plugin is already installed - ';
  if ( is_plugin_installed( $plugin_slug ) ) {
    $installed = true;
  } else {
    echo 'it's not installed. Installing.';
    $installed = install_plugin( $plugin_zip );
  }
   
  if ( !is_wp_error( $installed ) && $installed ) {
    echo 'Activating new plugin.';
    $activate = activate_plugin( $plugin_slug );
     
    if ( is_null($activate) ) {
      echo '<br>Done! Everything went smooth.';
    }
  } else {
    echo 'Could not install the new plugin.';
  }
}
function is_plugin_installed( $slug ) {
  if ( ! function_exists( 'get_plugins' ) ) {
    require_once ABSPATH . 'wp-admin/includes/plugin.php';
  }
  $all_plugins = get_plugins();
   
  if ( !empty( $all_plugins($slug) ) ) {
    return true;
  } else {
    return false;
  }
}
function install_plugin( $plugin_zip ) {
  include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
  wp_cache_flush();
   
  $upgrader = new Plugin_Upgrader();
  $installed = $upgrader->install( $plugin_zip );
 
  return $installed;
}

App Windows – King Oz & DSPplug Plugins Bundle 11.22.2020 WIN | NulledTeam UnderGround

171.5 MB

King OZ DSPplug boardstation v2.​

King Oz & DSPplug Plugin Pack

2

King OZ VSTplug compressor v1.6

King OZ VSTplug compressor2 v1.1

King OZ DSPplug freq3 v1.59

King OZ DSPplug omega gate v1.2

King OZ VSTplug phase cancel v1.2

King OZ DSPplug silverhawk v1.5

DOWNLOAD
nitroflare

.

plugins – Add post attachment images their links

I have a website with alot of pictures as attachment in the posts, but i decided to use lightbox in the future. I have a big problem as of now none of them was imported as a file so they dont have the source url which is needed by all of the lightbox plugins that i found. Is it somehow possible to do this automatically as if not i gotta spend maybe a month doing it manually. In some posts i have more than 10 images… :/

plugins – How to display Elementor widget from another Elementor widget using PHP

I create a custom Elementor widget like plugin and want to use another Elementor widget from it. It is not a problem to show a standard WordPress widget (code in the function render()):

the_widget('WP_Widget_Calendar');

It is not a problem to show a post with Elementor widgets:

$plugin = ElementorPlugin::instance();
echo $plugin->frontend->get_builder_content_for_display($any_post_id);

Also I see with this code

global $wp_widget_factory;
echo '<pre>'; var_dump($wp_widget_factory->widgets); echo '</pre>';

all registered widgets:

"WP_Widget_Pages"                                          
"WP_Widget_Calendar"                                       
"WP_Widget_Archives"                                       
"WP_Widget_Media_Audio"                                    
"WP_Widget_Media_Image"                                    
"WP_Widget_Media_Gallery"                                  
"WP_Widget_Media_Video"                                    
"WP_Widget_Meta"                                           
"WP_Widget_Search"                                         
"WP_Widget_Text"                                           
"WP_Widget_Categories"                                     
"WP_Widget_Recent_Posts"                                   
"WP_Widget_Recent_Comments"                                
"WP_Widget_RSS"                                            
"WP_Widget_Tag_Cloud"                                      
"WP_Nav_Menu_Widget"                                       
"WP_Widget_Custom_HTML"                                    
"MSP_Main_Widget"                                          
"RevSliderWidget"                                          
"WpfWoofiltersWidget"                                      
"wp_ulike_widget"                                          
"WC_Widget_Cart"                                           
"WC_Widget_Layered_Nav_Filters"                            
"WC_Widget_Product_Categories"                             
"WC_Widget_Product_Search"                                 
"WC_Widget_Product_Tag_Cloud"                              
"WC_Widget_Products"                                       
"WC_Widget_Recently_Viewed"                                
"WC_Widget_Top_Rated_Products"                             
"WC_Widget_Rating_Filter"                                  
"MC4WP_Form_Widget"                                        
"Element_Pack_Elementor_Template_Widget"                   
"aux_about_widget"                                         
"aux_recent_post_widget"                                   
"aux_popular_posts_widget"                                 
"aux_testimonial"                                          
"aux_staff"                                                
"aux_audio"                                                
"aux_code"                                                 
"aux_contact_form"                                         
"aux_divider"                                              
"aux_gmaps"                                                
"aux_image"                                                
"aux_before_after"                                         
"aux_accordion_widget"                                     
"aux_tabs_widget"                                          
"aux_recent_product"                                       
"aux_latest_posts_slider"                                  
"aux_quote"                                                
"aux_search"                                               
"aux_socials_list"                                         
"aux_video"                                                
"aux_contact_box"                                          
"aux_advance_recent_product"                               
"aux_latest_vendors"                                       
"ElementorProModulesLibraryWP_WidgetsElementor_Library"
"AUXSHP_WC_Widget_Price_Filter"                            
"AUXSHP_WC_Widget_Recent_Reviews"                          
"AUXSHP_WC_Widget_Layered_Nav"                             

But how to show another data driven Elementor widget from the PHP-code in render()?

My attempt to do this with this code did not work:

$data = self::build_data(...);
$element = new ElementorProModulesCarouselWidgetsMedia_Carousel($data);
$element->print_element();

Thank you for your guidance.

plugins – Implementing Owl Carousel on the front-page.php file for my site

I am having a problem trying to get owl carousel working on the front page of my site.
https://owlcarousel2.github.io/OwlCarousel2/docs/started-installation.html

function add_owlcarousel() {
    wp_enqueue_script ( 'jquery' );
    wp_enqueue_script( 'owlcarousel', get_template_directory_uri() . '/wp-content/themes/astra-child/OwlCarousel2-2.3.4/dist/owl.carousel.js', array( 'jquery' ), false, true );
    wp_enqueue_script( 'owlcarousel-init', get_template_directory_uri() . '/wp-content/themes/astra-child/OwlCarousel2-2.3.4/dist/owl.carouselinit.js', array( 'jquery' ), false, true );
    wp_enqueue_style( 'owlcarousel-style', get_template_directory_uri() . '/wp-content/themes/astra-child/OwlCarousel2-2.3.4/dist/assets/owl.carousel.css' );
    wp_enqueue_style( 'owlcarousel-theme', get_template_directory_uri() . '/wp-content/themes/astra-child/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.css' );
    //wp_enqueue_style( 'owlcarousel-transitions', get_template_directory_uri() . '/OwlCarousel2-2.3.4/dist/assets/owl.transitions.css' );
}
add_action( 'wp_enqueue_scripts', 'add_owlcarousel' );

This is what I currently have in my functions.php file. The owlcarousel-init looks like this

$(document).ready(function(){
    $('.owl-carousel').owlCarousel();
});

Right now I am just testing with the first demo carousel on the site and I am not getting any results.

My file structure is as follows:

  • astra-child

    • OwlCarousel2-2.3.4

      • dist

        • owl.carousel.js

        • owl.carouselinit.js

        • assets

          • owl.carousel.css
          • owl.carousel.default.css