Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

learn more… | top users | synonyms (3)

5
votes
1answer
296 views

How are plugins in the WordPress plugin directory ranked?

When searching the plugin directory on wordpress.org how are the results ranked? It seems the main components are number of downloads and rating, or is there actually a full blown algorithm behind it ...
5
votes
1answer
464 views

Do plugin files have to follow a specific convention to be “picked up” by WordPress?

I developed a plugin using the normal convention of naming the main plugin file after the plugin folder (i.e. prefix-someplugin for the folder and prefix-someplugin.php for the file). However, I saw ...
5
votes
3answers
896 views

Is there a plugin for posting inline comments, like in MS Word? [closed]

I want to make a cookbook style wordpress website, on which visitors can place comments inline. Like you do in a paper book with a pen: between the lines. Or like how MS Word handles comments. Does ...
5
votes
3answers
3k views

How can I find plugins' slug?

I'm wondering how can I find plugins' slug (slug = internal name used by WordPress to do plugin updates and to determine which plugins are currently active)? It is usually plugin's folder name but if ...
5
votes
1answer
872 views

Show Similar Post Titles ( Similar to Stack Exchange )

I really like how Stack Exchange sites handle posts, where after you finish typing the title it will list out similar titles. How can I implement something similar on my WordPress installation? The ...
5
votes
1answer
5k views

[Plugin WPML] : How to create a translation of a post using the WPML API?

I'm trying to figure out how to create a translation for a post using the internal WPML API (inc/wpml-api.php) I simply want to create a translation for post ID xx, set some content and publish it. ...
5
votes
3answers
552 views

WordPress Plugin Development from Scratch. How?

I would like to learn how to create a plugin from scratch, there are tons of tutorials out there on the internet, but they are either premium or not a reliable resource. would like to know which are ...
5
votes
3answers
2k views

Query Posts by Custom Field 'Price'

I'd like to display all posts within a given price range. For example: When a user inputs 100 and 1000 (in two separate form fields) - my site will display all posts that have a custom field called ...
5
votes
1answer
3k views

Is it possible to define a template for a custom post type within a plugin independent of the active theme?

I'm writing a plugin to manage data about open-source projects. I developed an object model and have successfully created all custom post types and taxonomies, as well as implemented the correct ...
5
votes
3answers
419 views

Plugin (or Theme) containing its own Plugins?

My Theme defines its own actions and filters so that it can be extended by third-parties without having to fork or modify the Theme's core code. I already have a few plugins specific to my Theme, ...
5
votes
1answer
5k views

wp_mail and BCC headers

I'm using WP 3.3.1 I am trying to add BCC onto the headers of an email I'm sending out, but the BCC is not being added. public $from = "sender@example.com"; public $replyTo = "sender@example.com"; ...
5
votes
1answer
205 views

Help making my pagination plugin better

I'm not sure if this is the right place to ask for this kind of help since is not an actual question but hopefully I can learn a thing or two. I'm developing a plugin (my first one) inspired in the ...
5
votes
2answers
1k views

Prevent publishing the post before setting a featured image?

As the title says , I want a plugin/function to prevent/inform the user when he tries to publish the post without setting the featured image. ANY HELP ???
5
votes
1answer
3k views

How Do I Use The Wordpress Plugin Posts 2 Posts by Scribu?

I have a Wordpress site that relies on relationships quite heavily. It's a record label website where artists can be related to tours, reviews, album releases and store items throughout the site. I ...
5
votes
1answer
125 views

Allowing Two Developers Access to a Plugin on the WordPress.org Plugin Repository?

The question is "How to Allow Two Developers Access to a Plugin on the WordPress.org Plugin Repository?" This question was asked on the wp-hackers list and @EAMann answered it nicely and it's a great ...
5
votes
2answers
999 views

What security concerns should I have when setting FS_METHOD to “direct” in wp-config?

I have recently had an issue where I have been unable to install the WP Smush Pro plugin because I don't have the Manual Install or One-Click Installation options available. I came across this post ...
5
votes
1answer
146 views

Plugin Unit Test for Table and Option Creation

I've started to incorporate unit testing in my build. I have a class that creates a database table and a database version option. I have no idea how to test if the table and option are being created. ...
5
votes
1answer
591 views

Wordpress URL Rewrite not working

I'm trying to create a custom url rewrite for my wordpress plugin. function insert_plugin_rewrite_rule($rules) { global $wp, $wp_rewrite; $wp->add_query_var('update_slug'); $ret = ...
5
votes
4answers
3k views

How to make plugin required in a wp theme without using php conditional statements when calling an individual function from that plugin?

One of my Wordpress themes requires a few third party plugins to run correctly. Most of the times I used to call functions from third party plugins using conditional statements like ...
5
votes
1answer
114 views

Reordering themes in admin panel

I've been searching for a hook to change the order in which themes are displayed in the admin panel (i.e. wp-admin/themes.php) but so far haven't been successful. Is there an existing hook to do ...
5
votes
4answers
3k views

How do I create an HTML embed code to publish WP posts on other non-WP websites?

I would like to offer an embed code on my WP blog allowing users to re-publish recent posts on their websites using HTML/ Javascript code snippet that they can copy from my WP site and paste into ...
5
votes
5answers
2k views

Wordpress Contact Form 7 [closed]

I have a simple contact form using CONTACT FORM 7 PLUGIN on a page on my site. I want user to be able to download a video file only after he/she fills out the form and the form submission is ...
5
votes
8answers
3k views

How to automatically install default Wordpress plugins?

I setup a decent number of Wordpress installations clients/friends. There are a number of plugins that I use on every instance. Is there a good way to automatically have these plugins installed on ...
5
votes
5answers
868 views

Membership / subscription plugins - alternatives [closed]

Does anyone have recommendations (backed by experience) for a membership plugin that can Provide for recurring subscriptions via PayPal Allow selected posts to be visible only to subscription ...
5
votes
2answers
966 views

Any plugin out there that uses WP's internal image uploader?

I'm trying to use the media uploader thing from WP (the form from the pop-up with crunching and all that), and can't figure out how. Is there any plugin out there that uses it? It would be easier to ...
5
votes
1answer
590 views

User-Specific Timezones? Hack? Plugin?

Is there any way, whether it be a hack, a plugin, etc., to give users their own timezone? I am using a purchased SMS plugin. Users (my clients) login and are able to send out text messages when they ...
5
votes
2answers
1k views

Admin plugin, how can I output a different content-type?

I'm creating a plugin with an admin page that needs to: stream a file for download (set content-type & other headers) display HTML without the admin menu etc In both of these cases the 'pages' ...
5
votes
2answers
2k views

custom XMLRPC method plus authentication of user & WooCommerce order

I'm working with a custom XML-RPC method to capture some information for a plugin I am building. When activated the user has to authenticate themselves by entering there user/password given to them ...
5
votes
2answers
4k views

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration

I'm running WordPress on localhost WAMP server and whenever I go to "Plugins" or "Dashboard > Updates" or even to "Dashboard" nothing loads (no WordPress news, no updates, I'm not able to search for ...
4
votes
8answers
6k views

is_plugin_active function doesn't exist

I'm using WordPress 3.0.5 and have tested with 3.1rc4. In the main PHP file of my plugin, when I try to call is_plugin_active I get Call to undefined function is_plugin_active(). I can call add_action ...
4
votes
7answers
258 views

Plugin or mod for wordpress to make content publication SUPER easy

Well, im making a wordpress web page for my dad, a psychiatrist, who barely knows how to check his email. He wants to put content regulary but the actual admin interface of wordpress is way to complex ...
4
votes
2answers
6k views

how to create child WordPress plugin

I like to create child plugin.. Explanation :- I have one parent plugin named X. This will work independently (like other existing plugins). Now I decided to add some extra features to that plugin ...
4
votes
3answers
9k views

Add Plugins to Wordpress Theme

I'm creating a wordpress theme that I aim to sell at some point. Now, I've discovered that some of the wordpress.org plugins would be great for things that I want to do. They already hold much of the ...
4
votes
4answers
2k views

Best practice way to delete user meta data during plugin uninstall?

If a plugin stores data in the usermeta tables what is the best practice method to delete these entries for all users in uninstall.php? I could access the database directly but is there another way?
4
votes
3answers
1k views

How much should I charge for creating a WordPress plugin?

How much should I charge for creating a custom WordPress plugin? (working as a freelancer)
4
votes
3answers
8k views

How to call a plugin function from index.php [closed]

I have created a function in my plugin myplugin with the name foo, how to call it from the frontend? e.g. index.php?
4
votes
1answer
8k views

How to add a new product type on woocommerce product types? [closed]

I want to add a new custom "product type" to woocommerce plugin: Tried to duplicate one of currently exist product type files (woocommerce template structure) as a new file (file name and inside ...
4
votes
2answers
2k views

How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)

To Wordpress' visual editor (TinyMCE), I would like to add a button that adds four non-breaking spaces when clicked, like this:      I found some plugins that ...
4
votes
1answer
3k views

Importing Tweets with certain hashtags into Wordpress

I'm looking for a way to import tweets into Wordpress as posts. In fact, I want to display tweets about a certain topic on a page in Wordpress. So page A would contain tweets about hashtag x, and page ...
4
votes
3answers
2k views

Creating two database tables via plugin

I'm working on a voting plugin for my site and I want to create 2 tables: one that stores votes and another that stores voter ips. In Codex it suggests to use an if statement to see if the table has ...
4
votes
3answers
330 views

Should a SEO plugin be necessary? [closed]

I'm using the All in One SEO plugin for my site. The extra fields and options it supplies seem like they could be handled via a theme, possibly negating the use for a plugin. Should SEO ...
4
votes
2answers
25k views

How to edit the get_price_html on woocommerce

I am trying to edit the price value for a single product. In single-product/price.php there is a template call to $product->get_price_html. How can I edit that function/method to change the way the ...
4
votes
4answers
518 views

Automating deprecated call checks?

I've recently started revamping and re-releasing some abandoned (yet important) WordPress plugins. As I walk through the code patching other bugs, my IDE highlights deprecated function calls for me, ...
4
votes
2answers
276 views

Selling WordPress sites?

What are the laws concerning developing WordPress sites using other developers' plugins and then selling the sites?
4
votes
3answers
4k views

Suggest a plugin for up/down voting posts [closed]

I need a free wordpress plugin that will allow the users to upvote or down vote every post. Something similar to stackoverflow.com If not give me suggestions of how to create one. I am a java ...
4
votes
3answers
3k views

Creating a default Custom Post Template that a Theme can override

I'm in the midst of building a Wordpress Plugin that adds a custom post type, for which I'd like to include a default template to display. Essentially, this is an event management plugin, and the ...
4
votes
4answers
5k views

Resizing all images

I have just changed the theme on my blog, and because of a small page width, it breaks the layout. Most of my earlier images (attached in posts) are around 600px in width, and now I need to resize all ...
4
votes
3answers
841 views

Secure WordPress paid plug-in

I want to create a WordPress plug-in but also want to ensure that the plugin can only be used after it has been activated with a serial key that should be unique for each domain. What is the best way ...
4
votes
1answer
69 views

Which files get updated in a plugin update?

When a user updates a plugin from the WordPress admin panel, does every plugin file get overwritten, or just the ones that have changed from the previous version? For example, let's say that a plugin ...
4
votes
2answers
1k views

How To Determine If A Filter Is Called In A Sidebar/Widget Context?

So I have a plugin that appends or prepends an enhanced author biography to the content of a page/post/custom post type. It does this by hooking to either the_content or the_excerpt and ...