If you have a slow import, or if you're running into a lot of server timeouts, then you can follow these steps to optimize your import.
Follow all of the steps listed here: http://www.wpallimport.com/documentation/troubleshooting/slow-imports/.
| add_filter( 'gform_entry_detail_meta_boxes', 'add_delete_attachment_meta_box', 10, 3 ); | |
| function add_delete_attachment_meta_box( $meta_boxes, $entry, $form ) { | |
| $my_form_id = 3; | |
| if ( $form['id'] == $my_form_id ) { | |
| if ( ! isset( $meta_boxes['payment'] ) ) { | |
| $meta_boxes['payment'] = array( | |
| 'title' => esc_html__( 'Delete Attachments', 'gravityforms' ), |
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
If you have a slow import, or if you're running into a lot of server timeouts, then you can follow these steps to optimize your import.
Follow all of the steps listed here: http://www.wpallimport.com/documentation/troubleshooting/slow-imports/.
| <?php | |
| /** | |
| * @package RSFormCleanUp | |
| * @copyright Copyright 2018 René Kreijveld, DSD Business Internet. | |
| * @license GNU General Public License version 2 or later. | |
| */ | |
| /** | |
| * A command line cron job to remove submission data from RSFormPro database tables. | |
| * Based on the excellent work of Peter Martin, db8.nl, see https://gist.github.com/pe7er/47bf1020b12ef29df8603fa80d1fdccd |
| <?php // Do not include this if already open! Code goes in theme functions.php. | |
| // Disable all payment gateways on the checkout page and replace the "Pay" button by "Place order" | |
| add_filter( 'woocommerce_cart_needs_payment', '__return_false' ); |
| <?php | |
| /** | |
| * @version 1.0.0 | |
| * @package Readmedia | |
| * @copyright Copyright (C) 2018 David Jardin - djumla GmbH | |
| * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
| * @link http://www.djumla.de | |
| * Add this to .htaccess: | |
| * RewriteRule ^images\/downloads\/.*$ readmedia.php [L] |
| <?php | |
| declare(strict_types=1); | |
| /** | |
| * Render All Joomla! 4 Standard Form Fields | |
| * | |
| * @version 1.0.0 | |
| * @package all | |
| * @author Alexandre ELISÉ <[email protected]> | |
| * @copyright (c) 2009-2021 . Alexandre ELISÉ . Tous droits réservés. | |
| * @license GPL-2.0-and-later GNU General Public License v2.0 or later |
| <label for="demo">Demo</label> | |
| <select id="demo" name="demo"> | |
| <?php array_unshift($this->myExampleOptionsArray, null); ?> | |
| <?php echo HTMLHelper::_('select.options', $this->myExampleOptionsArray, 'value', 'text', $this->selectedOptionValue ?? '');?> | |
| </select> |
| <?php | |
| defined('_JEXEC') or die; | |
| ?> | |
| <div class="latestnews"> | |
| <ul class="list-group list-group-flush"> | |
| <?php foreach ($list as $item) : $image = json_decode($item->images); ?> | |
| <?php | |
| // most important part | |
| // context: | |
| // for articles: com_content.article |