How to show my sidebar in specific page only?
The way to use is_page with multiple pages is as follows: is_page(array(42,’about-me’,’Contact’)); You have to use the array keyword
The way to use is_page with multiple pages is as follows: is_page(array(42,’about-me’,’Contact’)); You have to use the array keyword
You need to have some initial (maybe global) js var markers_array = [];. Then use an ajax callback function to bump your markers into that array. Register your scripts // Define $root_url = plugin_dir_path(); // Example path $ajax_nonce=”your_nonce”; $ajax_nonce_val=”your_val”; // Ajax wp_register_script( ‘json2’, false, false, false, true ); wp_enqueue_script( ‘json2’ ); wp_enqueue_script( ‘ajax-script’ ,”{$root_url}js/ajax_json.js” // … Read more
WordPress does not have a built-in audio player. You will need to use one of the myriad audio-player Plugins available.
Wow… this one is not a simple one… it’s not a matter of calling the magic function uploadimages()… I wish it would 🙂 I’ve learned from a tutorial I cannot seem to find (but this one seems fair) and from analyzing other plugins. The following is just a general orientation, sorry for not making a … Read more
Inside the plugin folder check for File: jigoshop_taxonomy.php Line no: 120 You will see register_post_type( “product”, array( ‘labels’ => array( ‘name’ => __( ‘Products’, ‘jigoshop’ ), ‘singular_name’ => __( ‘Product’, ‘jigoshop’ ), ‘all_items’ => __( ‘All Products’, ‘jigoshop’ ), ‘add_new’ => __( ‘Add Product’, ‘jigoshop’ ), ‘add_new_item’ => __( ‘Add New Product’, ‘jigoshop’ ), ‘edit’ … Read more
Twenty Eleven and Twenty Twelve use the widgets_init action. Given that these themes are generally considered to use best practices for theme development, I think this hook would be ideal.
There are a couple solutions. The solution I would recommend is to remove the actions that prints the price & title in the first place. The main reason I suggest programmatically removing the actions is because it is theme independent. These modifications should work for any theme and you don’t have to worry about CSS … Read more
Downgrade tham to Contributors user role.
Sure, just download the plugin and unzip it overriding the existing plugin directory in wp-content\plugins, or in a new dir named as the plugin if you want to install a new one.
the plugin is causing a 500 error but php debugging is turned off. The fix it, FTP into the server and remove the plugin then your admin will be back up and running.