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)

6
votes
3answers
916 views

How to add “Stick this post to the front page” to front end?

I have a baseball related website with multiple authors. I use the "Stick this post to the front page" to denote an "Editor's Pick" on an article. I would like to add a link/button to allow editor to ...
6
votes
3answers
586 views

Is it a good idea to edit an already existing plugin to add more functionality?

I need to add a relatively small bit of functionality to a Wordpress plugin and I have the option to either edit the plugin directly, or scrap the plugin completely and repurpose PHP code from another ...
6
votes
2answers
4k 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 ...
6
votes
2answers
922 views

Is there a plugin that will override the “Error establishing a database connection” message? [closed]

My provider's database server recently had some downtime and my site was displaying the classic "Error establishing a database connection" message for about an hour. I knew what the problem was but ...
6
votes
3answers
7k views

Getting Path To Uploaded Attachment Image After Upload

After you have uploaded an attachment in Wordpress using the media upload screen, is there a hook or filter I can run after the image has been uploaded where I can get the path to the uploaded image ...
6
votes
2answers
1k views

How to prevent a post from being deleted?

For auditing issue, I only want a post can be trashed, but not deleted - for all users. So I have a plugin like add_action('before_delete_post', function($id) { wp_die(0); }); But ...
6
votes
4answers
341 views

How do you allow plugins to be updated using the GUI without breaking your subversion repository?

Development on a WordPress installation is under Subversion version control. We're not using externals to link in the plugins - the plugins are getting installed / updated by non-developers in charge ...
6
votes
7answers
630 views

Is it heavyweight plugins or lots of plugins that make a site slow?

I've often heard that having a lot of plugins will slow down a WordPress site. This makes sense of course, as the more code that executes, the longer it will take. I'm wondering whether the slowness ...
6
votes
5answers
2k views

How can I make an Ajax login form work with FORCE_SSL_ADMIN enabled?

I'm working on a site that requires an https secured admin area and a secure front-end area as well where private information will be shown. My preference for user login is an Ajax-enabled widget that ...
6
votes
3answers
2k views

How to create a Wordpress plugin for another wordpress plugin?

I always do changes on the Wordpress plugins for clients. But these changes are always in danger to be lost if the plugin is updated. Is there is a way to make a plugin for another plugin in ...
6
votes
1answer
53 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 ...
6
votes
6answers
6k views

Simple rich text editor in Text widget?

I've seen a few plugins that add rich text editing to the default "Text" Widget. However, all of the ones I've tested are either too complicated (or try to do too much) or don't work properly with the ...
6
votes
1answer
2k views

What plugin can I use to create a list / slideshow of featured images?

I'm looking for a plugin that will allow the user to upload files, maybe 4-10 that can be used on the homepage as part of a slideshow. I can code the slideshow part myself, if necessary, but the thing ...
6
votes
4answers
2k views

When would it make sense to use Jetpack?

There was a news item today possibly of interest to those who self-host WordPress: Automattic unveiled the Jetpack plugin. I hadn't heard of it before, but going off the announcement and the site FAQ, ...
6
votes
2answers
167 views

How to tell if a plugin is multisite compatible?

As a WordPress admin newbie, I just went through my first non-automatic WordPress upgrade. I upgraded five different WordPress installs from 4.1.3 to 4.2. They all refer to different web sites ...
6
votes
4answers
3k views

Plugin to restrict non-admin user to existing tags

Is there a plugin that would restrict non-admin users to only existing tags? I could have used categories for this, but it will be difficult to display with a large population (~1000) of tags.
6
votes
2answers
8k 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 ...
6
votes
2answers
258 views

Creating Unique Post URLs for A/B Testing… Is this even possible?

I want to create a WordPress plugin that allows me to do A/B testing for WordPress standard posts, but I can't use the Shrimptest plugin because I need a spin: Since I'm ultimately testing ...
6
votes
1answer
660 views

Create theme files for plugin

Basically I've made a plugin to create a new post type (event). Now I want to create a single-event.php layout file. I don't want to have to stick it in the theme folder, I want to put it into my ...
6
votes
5answers
7k views

InDesign to WordPress workflow

I'm working on a project for a monthly InDesign-based magazine that enables them to put their content online via WordPress. The current workflow is either: Copy/pasting from InDesign to a Word ...
6
votes
4answers
5k views

Recommended eCommerce Plugin for a T-Shirt Sales Business? [closed]

I want to create a website for my T-Shirt business. I've tried osCommerce and it's ok for a basic setup but even something simple as installing an addon for SEO turns into a nightmare of database ...
6
votes
3answers
4k views

WordPress sharding: which multi-DB plugin to use?

I've got a WordPress multisite installation that's hosting enough blogs I need to shard the database. I see there are three plugins available to spread WordPress across multiple databases: ...
6
votes
1answer
255 views

Managing WP Core & Plugin Updates for Clients

I'd like to know how you go about managing WP Core & Plugin updates for clients? It's a service my web company would like to start offering but we are unsure of the best solution. Let me provide ...
6
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 ...
6
votes
2answers
1k views

Looking for a Table of Contents (TOC) plugin for WordPress

I am looking for a simple TOC plugin for WordPress that would create a ToC similar to the one from MediaWiki (Wikipedia). Usually I need this only for big pages and the TOC needs to be generated based ...
6
votes
5answers
25k views

Is there a good plugin for an online booking system..? [closed]

I need to quote for a job, and I think due to the budget it will need a plugin. I’ve been having a look around online - can anyone recommend me a good quality plugin that allows for a booking system ...
6
votes
1answer
142 views

Rewriting every url

I have a question regarding permalinks and rewriting url's. I am writing a translation plugin and I would like to add the language shortcode in my url (Something like ...
6
votes
1answer
10k views

How to custom crop each image size?

I have over 6 image sizes, Therefore WP cannot satisfy every size with proper cropping as some images get their head cut off and some don't. Is there a plugin that lets me choose the cropping area of ...
6
votes
3answers
1k 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 ...
6
votes
0answers
64 views

How to moderate posts

I am writing a plugin that will moderate all posts regardless of what level user posted them. It will check the post content and title against a list of words and if any are in the post, I want to put ...
6
votes
1answer
10k views

How does Woocommerce store variation attributes, and how can they be retrieved per-variation? [closed]

I am trying to pull out a list of product variations from a Woocommerce installation, with their attributes - something like this: product id variationid name color size 5 1234 ...
5
votes
8answers
7k 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 ...
5
votes
2answers
5k views

How to do I get a list of active plugins on my wordpress blog programmatically?

I have 2 blogs, one which is multisite and one which isn't. I want to get a list of plugins active on both the blogs so I can compare them. On the multisite blog, I want to list the plugins which are ...
5
votes
2answers
1k views

How to tell if Jetpack's Photon is active?

There are multiple ways to identify if a plugin is active (here's one) but how can we identify if a specific JetPack component is active, for example Photon?
5
votes
1answer
9k 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 ...
5
votes
2answers
608 views

Open Source plugin and requires licence

Hi I am thinking of releasing a plugin, it seems that WordPress pushes for all plugins to be released as GPL. I have no problem with that, but I've noticed that Gravity forms plugin is GPL + requires ...
5
votes
2answers
3k views

What WordPress API function lists active/inactive plugins?

After seeing thousands of useful API functions in the WordPress core, I'm surprised to discover today that there ain't a function that would list the active plug-ins. I don't know you but I'm quite ...
5
votes
3answers
10k 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?
5
votes
3answers
919 views

Allowing Yoast SEO plugin to track me

I've recently installed the WordPress SEO plugin by Yoast and it's asking me whether to allow it or not to track my blog? Seems like a stupid question on my part but I'm still new on the blogging ...
5
votes
2answers
1k views

Where can I find a schema of wordpress plugin core architecture?

There are plenty of articles which explain how to create a wordpress plugin. I'm not looking for that, I'm looking for a schema of the core architecture of a wordpress plugin (an UML class diagram and ...
5
votes
3answers
812 views

Disabled plugins are they security holes - rumor or reality?

I've read many WordPress Security blog articles where the Security Experts are recommending some special steps to take care when somebody is concerned about his/her WordPress site's security. One of ...
5
votes
3answers
12k views

How to edit a wordpress plugin without break its update process

I would like to add some additional features/functionality with already available WordPress plugin. Is it possible to carry over my customization while updating the plugin?
5
votes
1answer
6k 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 ...
5
votes
3answers
3k 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 ...
5
votes
2answers
669 views

Use a plugin to handle custom post types?

I've seen some tutorials showing how to create custom post types - the process seems straightforward enough. The issue I have with this is that the custom type information is part of the theme, and ...
5
votes
1answer
22k views

Given the ID of a product in woocommerce, how can I get its URL?

Say I have the ID of a product in wooCommerce; can I generate its URL somehow? (example /shop/fresh-apples)
5
votes
1answer
2k views

How to make simply “report” button on posts

I'm building up a video-site using wordpress. It embeds videos from different sites. I really need a simply "Report broken video"-button that saves the url in a database or emails it to me. I've ...
5
votes
1answer
7k views

How can I see all the actions attached to an “add_action” hook?

I'm working with the admin bar and trying to debug some of the menus and their priorities. I know several callbacks get bound to actions, such as this one: add_action( 'admin_bar_menu', ...
5
votes
5answers
417 views

Login with OpenID, similar to Stack Exchange sites?

Basically, I would like to add something like this into my WordPress site (which obviously will also give the user an option to sign up for an account using WordPress' default sign up system): Is ...
5
votes
4answers
2k views

What is the best page ordering plugin that works well with WPML? [closed]

The title says it all. What is the best page ordering plugin that works well with WPML? It seems that may are reporting issues with different plugins such as my page order and WPML page order. ...