Global matrix for shortcodes/content for every page

You should insert the following code in functions.php of your theme. /* Global matrix for shortcodes/content for every page */ $locations = array( array( ‘location’ => ‘location 1’, ‘telephone’ => ‘0121 34838383′, ’email’ => ‘[email protected]’ ), array( ‘location’ => ‘location 2’, ‘telephone’ => ‘92939393’, ’email’ => ‘[email protected]’ ), array( ‘location’ => ‘location 3’, ‘telephone’ => … Read more

Is it possible to install two mail plugins together in a single WordPress site? How to do it? [closed]

You can install our WordPress plugin to synchronise your WordPress subscribers with your SendinBlue account and send newsletters. To do so, we invite you to refer to our step by step guide. In addition, installing SendinBlue plugin for WordPress should not interfere with your current MailPoet plugin. We just ran a test with both SendinBlue … Read more

Disable a WordPress site

An easy way is to create a file called ‘maintenance’ and place it in your sites root folder. When WP sees that file, it puts up a ‘down for maintenance’ type file. You can still get into the admin area, but the ‘public’ can’t see the file. Another way is to rename the ‘.htaccess’ file … Read more

download_url() appears as grey icons

When using the wp_handle_sideload function then, as @xvilo pointed out in a comment, it isn’t creating the meta data wordpress needs to display the image in the media library. As I can not see where the wp_handle_sideload function is writing the data to the db, I don’t understand why the files are being displayed in … Read more

Confused about shortcode and settings values

As you can see in the Shortcode API, there is no jquery involved in evaluating shortcodes. Shortcodes are evaluated on the server side, in PHP, not on the client side with jquery. It is entirely up to you what you do with attributes in the shortcode. If the user writes something like: [demo speed=2000] you … Read more