Tag Archives: Plugin Development

Major Changes in the WordPress.org Plugin Directory

The new plugin Reviews feature suggests a shifting approach to the WordPress ecosystem. Reviews: a new tab in town On every plugin page, there is now a Reviews tab. This is in addition to the Support tab that WordPress added … Continue reading

Posted in WordPress | Tagged , , , | 2 Comments

Generate a Link to Activate a Plugin in WordPress

Here’s another specialized plugin development tip! If you want to create a link to activate a plugin, you need to know the path of the plugin file. Let’s use Akismet for this example. $path = ‘akismet/akismet.php’; $link = wp_nonce_url(admin_url(‘plugins.php?action=activate&plugin=’.$path), ‘activate-plugin_’.$path); … Continue reading

Posted in Web Development, WordPress | Tagged , | Leave a comment

Yourls Google Analytics Link Tagging

In my last post, I wrote about the benefits of using YOURLS, a self-hosted link-shortening service. I’m finding that YOURLS is great, but it’s not perfect. Some of the issues I have experience are part of what you get using most … Continue reading

Posted in Plugins, Web Development | Tagged , , , , , , | 22 Comments

Passing parameters from PHP to Javascripts in plugins » Otto on WordPress

Much cleaner. One static and unchanging JS file to cache. Parameters get put into your HTML itself as a one-liner. You can deal with the parameters using a normal PHP array before passing them over. No need to screw around … Continue reading

Posted in QuickTip, WordPress | Tagged , , , | 1 Comment

Storing Data in WordPress Plugins – A Quick Rundown

Coding better WordPress plugins As I’ve worked with WordPress plugins, I’ve learned new ways of working with WordPress. WordPress has tons of built-in functionality that is very useful and easy to use once discovered. I am by no means a … Continue reading

Posted in Code, WordPress | Tagged , , , , , | 1 Comment