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 (2)

4
votes
2answers
271 views

Selling WordPress sites?

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

Redesigning Custom Post Type “Add New” page

I've been browsing all over google for a solution to this. I'm writing a custom post types plugin for work to log-in visitors that we get. I initially wrote a mock-up without custom post types, then I ...
4
votes
3answers
301 views

Should a SEO plugin be necessary?

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
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
3answers
754 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
3answers
241 views

Disabled plugins are the security holes - rumor or reality?

I've read many WordPress Security blog articles, where the Security Experts're recommending some special matters to take care when somebody is concern about his/her WordPress site's security. Among ...
4
votes
1answer
64 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
4answers
6k views

Jigoshop and WooCommerce differences

I'm aware that WooCommerce is a fork of jigoshop, and there was some controversy, however now that both have had releases since their divergence, how do they differ in features and direction?
4
votes
4answers
4k views

Consuming an external API in WordPress?

I have a client who has a WordPress website, and he want to extend it to add new functionalities. These functionalities are included in a website I have already done (a kind of search engine over a ...
4
votes
1answer
51 views

Does a plugin's “main” file need to be named the same as the folder containing it?

I remember - many moons ago - debugging a plugin that I was building for a very, very, long time. The only thing that fixed my issue (which I can't remember for the life of me), was to name the ...
4
votes
1answer
2k views

Custom Filter in Wordpress to modify footer information via plugin?

Basically, I've got a plugin that searches for certain tokens in the entire page and replaces the tokens with images. The problem is, I've got one of those tokens in the footer and, as far as I can ...
4
votes
3answers
8k views

insert data in database table from plugin with WP3.1

I am quite new in WP Plugin World. I am trying to develop a plugin in WP 3.1 when I am trying to insert data into my table named "wp_enam" in the following way: $wpdb->insert($wpdb->enam, ...
4
votes
3answers
938 views

Plugin update error message

I'm working on a client website where the framework requires a specific plugin version to work properly. With the follow lines of code in my functions.php file, it stops the plugin from updating ...
4
votes
2answers
731 views

Replacing Icons in the Dashboard

Is there a way for me to replace the icons in the WordPress Dashboard with custom ones? I'm imagining there's got to be a way to do this with the functions.php or, more ideally, with a custom-built ...
4
votes
1answer
3k views

Reposition WooCommerce breadcrumb outside of wrapper content

I currently have this code in my functions file for the WooCommerce plugin.. function my_theme_wrapper_start() { echo the_breadcrumb(); echo '<section role="main"><div ...
4
votes
2answers
745 views

How can I log a user out of Wordpress before the page loads?

I would am using the code below so that on my wordpress site if ?logout is appended to the end of the URL the user will be logged out. This works well - if the user visits a page such as ...
4
votes
2answers
218 views

What does a security risk in a plugin look like?

My server was hacked this weekend. By the Russians! Of the 50+ domains on my server, every single one had a hacked .htaccess file which was redirecting search results and a few other things to a ...
4
votes
3answers
2k views

How to delete the Hello Dolly plugin automatically?

I'm planing to create a plugin called Goodbye Dolly. Once installed, it will take care for the installation to remove the auto-installing Hello Dolly (Wordpress Plugin) shipping with wordpress. This ...
4
votes
1answer
412 views

Building a custom REST API

I have a WordPress.org site which takes user input, searches a custom database and displays the results of the query. I have this working using the wpdb class. Now I'm trying to get this working for ...
4
votes
2answers
6k views

Changing WooCommerce Display Price Based on User Role & Category [closed]

I'm looking to display a different price based on a user role (wholesaler, dealer, etc) AND based on the category. There's a dynamic pricing plugin that displays these discounts once an item is added ...
4
votes
2answers
277 views

How to read configuration file in wordpress or PHP

I am not sure how relevant this is,i am working with Java based web-application, so in some cases we need to define some properties which can be used in entire web application like Google API Key ...
4
votes
2answers
48 views

What is the correct way for a theme to support plugin UIs?

For instance if my plugin is creating a form on a page, what can I do to make it as easy as possible for theme developers to skin the form too?
4
votes
3answers
1k views

Hide wordpress plugins from list

I am using a couple of wordpress plugins for my theme, enabling them programmatically. I would not want the user of my theme to be bugged with plugin updates for these plugins, as well as viewing ...
4
votes
1answer
997 views

How Is Network Activate Different From Activate (by Implementation)?

How is plugin network activate different from normal activation by implementation? What is done/not done in network activation that is done/not done in activation?
4
votes
3answers
34k views

WooCommerce shop page to use my custom template [closed]

Before asking the question I want to tell you that I have already asked the question in http://stackoverflow.com/questions/15025213/wordpress-woocommerce-template-file-overiding I am using the ...
4
votes
2answers
2k views

Load plugin on specific page only

I have plugin I would like to use only on the contact page, however the script and css is being loaded on every page. Aside from the increased http requests, it is also causing another script to not ...
4
votes
1answer
95 views

Output in XHTML or HTML 5 for plugins?

I'm currently writing a plugin that displays some images - possibly with captions. So, I was wondering whether to use XHTML (<div>s and <span>s) or HTML 5 (<figure> and ...
4
votes
3answers
609 views

How can I reduce the amount of files loaded/included per plugin?

I have a Wordpress site that uses several plugins, namely 8. Most of these plugins include a lot of their own JS and CSS files, some even include so much as 3 separate CSS files. One can imagine that ...
4
votes
2answers
81 views

Beta Versioning of Plugins

When I'm writing a fix to some bugs, I often increment the version and send it to the bug finder to see if my fix works. If I have 1.2.5 and I want to create a beta that will become redundant once I ...
4
votes
4answers
231 views

Is there an A/B testing plugin that lets you vary the heading, featured image, and content in a Wordpress post?

If not, are there alternate solutions that can let me accomplish this? Do I need to develop my own plugin?
4
votes
1answer
829 views

How Do I add a redirect rule to Wordpress?

Right now, I'm able to dynamically generate js and css, based on my theme options To do that i set up a query var, that if present redirects to a php file, which then loads itself as a javascript ...
4
votes
2answers
2k views

Preserve custom URL parameter on more pages

I created a custom URL parameter for sorting posts by their vote scores. I have a "most voted" link that sends a ?sort=most_voted URL paramater and using a query posts filter I display posts with most ...
4
votes
3answers
472 views

How to delete custom taxonomy terms in plugin's uninstall.php?

I am writing my plugin's uninstall.php file and would like it to delete any terms that were created in the plugin's custom taxonomy. In the plugin's uninstall.php file I am using this: // Delete all ...
4
votes
1answer
180 views

Upload specific images to specific folder

I am trying to find a way to upload few selective images to selective folders in WordPress but not able to find a way so far. I do not want to change default work press setting to upload images as ...
4
votes
1answer
91 views

“Donate to this plugin” for WordPress.org Plugin Authors

I recently saw a link titled "Donate to this plugin >" link on a WordPress theme (and then I did!). How is this added to a plugin's page on wordpress.org? Here's a screenshot:
4
votes
1answer
631 views

Creating a user's own folder on user registration

I need a plugin or some guidence on creating a user's own folder on user registation. For example...A user clicks on Register and registers ... I need wordpress to create a directory which would be ...
4
votes
3answers
369 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, ...
4
votes
2answers
4k views

SSL redirect loop using Wordpress HTTPS Plugin

I'm using Wordpress in a NginX server proxying to an apache server which serves the pages. Recently we wanted to force the use of SSL at least in the Admin section, so we installed the Wordpress HTTPS ...
4
votes
1answer
77 views

When coding a Wordpress theme, where does the theme (i.e. the presentation) end and the plugin (i.e. the functionality) begin?

The best guideline I have seen for what should be in a theme is to put "functionality" in a plugin. I am looking at adding more "premium features" like jQuery image sliders. This requires a back-end ...
4
votes
6answers
3k views

Suggestion and Voting Plugin for Wordpress [closed]

I'm looking for a plugin for wordpress 3 that will allow me to setup a suggestion page. I'll post a question or idea at the top, and then users can post thier suggestions in the comments. then other ...
4
votes
4answers
182 views

Core framework/helpers for logging stuff?

I'm writing two plugins at the moment which need to (optionally) log stuff...lots of stuff...somewhere. Since i don't like the 'you need to have proper permissions in this and that folder' messages of ...
4
votes
2answers
250 views

Plugin for sharing on social sites? [closed]

I'm looking for a plugin that enables sharing an article on sites like Facebook, Twitter and LinkeIn. One catch is that I want a plugin that respect the privacy of the user and doesn't include ...
4
votes
2answers
789 views

OpenID for WordPress 3.x? [duplicate]

Possible Duplicate: How to implement a customizable free OpenID authentication? Is there any WordPress plugin that provides OpenID authentication for comments that works in WordPress 3.0? ...
4
votes
1answer
108 views

Tracing the life of a query

I can't find documentation regarding this - but is there a way to see how a query might bounce around from one filter to another? I've got a list of possible wp_filters and their relevance but I ...
4
votes
1answer
3k views

Change Label for field used in Woo Commerce

I'm using WooCommerce, and using a BACS Payment method which is actually Bank Trasnfer. The fields account details are fine, but for Indian context.. i need to change following two fields labels to ...
4
votes
1answer
2k views

In what order does WordPress load plugin files?

In what order are plugins loaded in WordPress? And within a particular plugin's folder, what order is followed for loading?
4
votes
3answers
619 views

Rename files on upload

I have been trying to rename my images on upload and only piece of code I found was the one that uses a 32char hash. function make_filename_hash($filename) { $info = pathinfo($filename); $ext ...
4
votes
3answers
435 views

Handling jQuery Component Collision

In plugin development, what is the best practice to prevent jQuery component collision on the front end? For instance, let's say I include the jQuery Apprise dialog in a plugin that loads this on the ...
4
votes
1answer
3k 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"; ...
4
votes
1answer
2k views

Using functions from a plugin in your theme

I am a beginner to wordpress (and to php for that matter). I am trying to understand some of the basics, and building a little e-commerce store using a plugin called "Jigoshop." I'm reading through ...