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
5answers
822 views

Adding Additional Attributes in Script Tag for 3rd party JS

I ran into this when attempting to integrate Dropbox's drop in chooser API to a plugin I'm writing. The API documentation instructs you to place the following script tag at the top of your file: ...
4
votes
2answers
235 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
47 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
905 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
25k views

WooCommerce shop page to use my custom template

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
1answer
4k views

Woocommerce Add Variation Product to Cart from custom link

I am trying to add a variation product to my cart directly through a link. I am setting the variation_id with the query string. As far as I can tell I am sending the data the exact same way as the ...
4
votes
2answers
1k 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
88 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
497 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
76 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
1answer
3k views

How to set back-end language per user?

I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
4
votes
1answer
720 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
264 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
153 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
3answers
344 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
1answer
73 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
1answer
667 views

Avoid posting duplicate title posts

I really like how StackExchange sites handle posts, where after you finish typing the title, it will list out similar titles. Is there a plugin or a tutorial to make this happen for self hosted ...
4
votes
6answers
2k 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
168 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
245 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
781 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
104 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
2k 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
3answers
477 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
382 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
2answers
3k 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
1k 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 ...
4
votes
2answers
5k views

WP E-commerce: Showing 3 random products from current category when viewing product

This is more of a template tag question than a programming question, but since WPEC's wiki and forum is quite useless I had to give it a shot here. Using shortcodes you can easily include a given ...
4
votes
1answer
2k views

How to override normal Wordpress search in Buddypress?

hi i have wordpress and buddypress installed and i wanted to be able to search through forum posts, blog posts and other info all over the site. i found Search Engine (Wordpress Plugin) and installed ...
4
votes
4answers
456 views

How to transfer a WordPress blog to a different domain?

Let's say we are currently hosting our WordPress blog on certain domain and would like to move it to a new domain. How to do this with the least hassle and SEO hit? Are there any plugins that could ...
4
votes
1answer
573 views

How can I allow moderated anonymous contributors to post to my blog?

How can I allow moderated anonymous contributors to post to my blog?
4
votes
1answer
200 views

Using plural-only translation of register_post_status() in plugin

tl;dr: My plugin wants to translate strings from core or other plugins that use _n_noop(). How? This question related to this plugin and is sort of a follow up to this question. My plugin adds ...
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
2answers
984 views

Forum plugin that allows private groups that are invite only [closed]

I'm looking for a plugin that would allow me to create private groups for discussion that are invite only. These would be for people who have taken a workshop and want to remain in communication with ...
4
votes
1answer
183 views

Which method is best to enqueue scripts

I'm currently authoring the development of a plugin for wordpress, and I'm having trouble figuring out which would be the best way to add scripts to the plugin. I'm in the process of adding more ...
4
votes
1answer
368 views

Disable saving comment details (name, e-mail) in cookie?

The European Union has introduced a directive requiring that websites obtain permission for setting all 'non-essential' cookies. In the UK (where my site is based), the appropriate detail is explained ...
4
votes
5answers
351 views

Delete Post With No Traffic?

My site has over 8k posts, some of which are outdated. To keep site maintainable and tidy, I want to delete all post with no traffic. Can this be done? Is there any plugin for this purpose? Or any ...
4
votes
1answer
208 views

Automattic's eCommerce Plugin

Question Does anyone know what plugin Automattic uses for their eCommerce functionality in the MU installation of WordPress located on the free sub-domains at wordpress.com? Please share where it ...
4
votes
2answers
683 views

How can I make it so the Add New Post page has Visibility set to Private by default?

I'm trying to create a plugin that alters the Add New Post page so the Visibility field says "Private" by default: Status: Draft Visibility: **Private** Publish immediately [Publish] ...as opposed ...
4
votes
8answers
2k 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 ...
4
votes
1answer
423 views

How to Add jQuery Infinite Scroll to My Custom Archive Page

I currently have a custom archive page that displays my current post at the top and then links to all of my older posts below that. However, I need to break up the page so that it displays the ...
4
votes
3answers
6k views

WooCommerce with thousands of products - site is very slow - optimize db queries?

So far I've got around 8,000 products in my WooCommerce and the product page on the front end takes several seconds to load, even after caching. My VPS host says that I should have multiple ...
4
votes
1answer
176 views

Automatically Creating Posts for Popular Forum Topics or Products

I am integrating a Wordpress template with Buddypress (with bbPress included). I would like to automatically create a post for popular forum topics so that it will show in my main page. I am hoping ...
4
votes
1answer
1k views

Searching users with WP_List_Table plug-in

I am trying to devlope a plugin that will search and return my users so I can edit some other metatdata that belongs to them. I have been using the plug-in listed on the Codex as my starting point. I ...
4
votes
2answers
1k 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 ...
4
votes
1answer
121 views

Being notified when some YouTube video in some post becomes unavailable

Is there a plugin or some PHP code that notifies you whenever a YouTube videos becomes unavailable in some post of a WordPress website ?
4
votes
2answers
463 views

use Wordpress theme / plugin editor in my plugin

Is there a way to use the wordpress theme / plugin editor inside my plugin to give the user the ability to edit the css file of my plugin ? Im building a plugin that gives the user an option to add ...
4
votes
3answers
266 views

What's the recommended process for organising collaborative posting?

The users over at the scifi/fantasy SE site are getting our blog organised. We definitely need: To know who is writing (or planning to write) about what. What stage (planning, writing, ...