allow multisite in the installation process
allow multisite in the installation process
allow multisite in the installation process
There is more to do to clean up a site than export/import posts data. The malware can be anywhere. And it could have gotten into your site via many paths. Before you export/import posts, you need to ensure that the current posts are not the source of malware. I’d do a whole cleaning of the … Read more
Instead of going for a complex nested array, I decided that it might be best to keep it to simple two level set of arrays. $x = array( 101 => [ (int $parent_id), (bool $completed) ], 102 => [ (int $parent_id), (bool $completed) ], 103 => [ (int $parent_id), (bool $completed) ], 104 => [ … Read more
Did it yourself. If someone needs: // Adding a field to sort on the category edit page add_action( ‘product_cat_edit_form_fields’, ‘product_cat_edit_category’, 5 ); function product_cat_edit_category( $term ) { $term_order = get_term( $term->term_id, ‘product_cat’ ); ?> <tr> <th scope=”row”><label for=”description”>Сортировка</label></th> <td><input type=”text” name=”term_order” value=”<?php echo $term_order->term_order; ?>”></td> </tr> <?php } // Update term_order value when saving taxonomy … Read more
Yes it is possible, one simple way is to delete wp-config.php and add wp-config-sample.php then open the site in the browser, it ask you to install the wordpress. So, install a fresh wordpress. After that open your phpmyadmin, select the database which wordpress created for you, then check all tables of this database then select … Read more
Using Filters to modify contect – DB query results alwats appear fist
Trigger on DB make problem on wordpress?
Try using 127.0.0.1:3306 instead of using localhost. :3306 is the default port when using PHP7. That should do it.
Reusing old post IDs
Is it safe to add INDEX to a column in WordPress database?