Maintenance 20/1004410d since update
Active installs
0
Downloads
1,004
Reviews
0
Age
12.1y
Tagsshortcodeapishortcodesconditional-tagsmoody shortcodes
Plugin info
Total downloads: 1,004
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 12/2/2013 (4410 days ago)
Added to WordPress: 12/2/2013 (12 years old)
Minimum WordPress version: 2.5
Tested up to WordPress version: 3.7.41
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4410 days ago
20/100
Is Moody Shortcodes abandoned?
Possibly abandoned (last update 4410 days ago).
Compatibility
Requires WordPress: 2.5
Tested up to: 3.7.41
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
No similar plugins found yet.
Description
Important Notes:
- This plugin is for developers, not general users.
- This plugin doesn’t have a GUI ( Admin Settings Page ).
Basic Examples
You can use this plugin in many ways depending on your needs, this examples only for learning purposes:
// Register the "test-1" shortcode, Works only in the administrators posts or outside the loop. Moody_Shortcodes_Manager::register( 'test-1', function() { if ( in_the_loop() ) { $post_author = get_post_field( 'post_author', get_post() ); if ( ! user_can( $post_author, 'administrator' ) ) { return false; } // end if } // dnd if return true; }, 'my_test_shortcode' ); // Register the "test-2" shortcode, Works only in pages or outside the loop. Moody_Shortcodes_Manager::register( 'test-2', function() { return ( ! in_the_loop() XOR get_post_type() === 'page' ); }, 'my_test_shortcode' ); // Register the "test-3" shortcode, Works only when bbPress plugin is activated. Moody_Shortcodes_Manager::register( 'test-3', function() { return function_exists( 'is_bbpress' ); }, 'my_test_shortcode' );
Contributing
If you love this plugin star/fork it on the GitHub Repository.
Installation
- Upload and install the plugin
- Use the simple API to powerful your plugin.
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
0.1
- The Initial version.