How Can I Pass the Shortcode’s $atts Variable to the Plugin’s Javascript Function

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

Change wording of admin menu item?

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

Hide price & title in store thumbnail dispay? [closed]

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

upgrade plugin in wordpress

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.