Will Flutter work with WordPress 3.0?

Magic Fields is very similar to flutter and is compatible with WordPress 3 If do you want switch between flutter to magic fields you have here a little help for do it http://magicfields.org/script-for-migrate-from-flutter-v-1-1-and-1-0/

Calling a plugin in theme development

You must check the documentation of the plugin. Is it supporting shortcodes? Do sometingh like <? do_shortcode(‘[plugin_shortcode]’); ?> Has function to call in the theme? Do something like <? my_plugin_function(); ?>

Variable from a plugin into a theme

Your webhost has disabled register_globals in the php.ini, so you have to “register” your variables manually everytime you want to use it. For example: <?php global $xavi; echo $xavi; ?> Another approach is using the $GLOBALS array: <?php echo $GLOBALS[‘xavi’]; ?> But in my opinion, you should avoid using globals. Instead use a simple registry-class, … Read more

How to remove duplicate Custom Fields?

You can delete directly from the database, using an SQL statement like: delete from wp_postmeta where meta_id in ( select * from ( select meta_id from wp_postmeta a where a.meta_key = ‘blogger_blog’ and meta_id not in ( select min(meta_id) from wp_postmeta b where b.post_id = a.post_id and b.meta_key = ‘blogger_blog’ ) ) as x ); … Read more

Plugin custom Action Hook not working

Your plugin needs to wait for the themes functions.php file to be loaded. Try this: <?php /* Plugin Name: Demo Plugin Version: 1.0 */ add_action( ‘after_setup_theme’, function() { do_action( ‘basic_action_demo’ ); } ); ?> The after_setup_theme hook is run immediately after functions.php is loaded. Update for your comment below. In your plugin create a function … Read more