Google

Monday, December 14, 2009

notepad++ multiple instances

If you want to run multiple instances of Notepad++

Easiest way is to create a shortcut on the desk top with the following :
1) Right Click desktop
2) Navigate to New -> Shortcut
3) Location of the item : "C:\Program Files\Notepad++\notepad++.exe" -multiInst
4) Name of shortcut : notepad++
5) Click Finish

The main part is adding -multiInst

For other Notepad++ Command Line Arguments
http://notepad-plus.sourceforge.net/uk/cmdLine-HOWTO.php

Thursday, December 03, 2009

Wordpress get list of shortcodes

Trying to figure out what available Wordpress shortcodes with all of your plugins installed?


<?php
global $shortcode_tags;
echo "<pre>".print_r($shortcode_tags,true)."</pre>";
?>


Seems to do the job
http://codex.wordpress.org/Shortcode_API

Wednesday, December 02, 2009

View Wordpress Plugins that are wp_enqueue_script()

To find out the list of current wordpress plugins that are wp_enqueue_script();

global $wp_scripts;
echo "<pre>".print_r($wp_scripts->registered,true)."</pre>";