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)

0
votes
1answer
2k views

Using AJAX to run SQL statement and populate dropdown

I am trying to create a search where the user selects two different bits of data from the database and it then prints some results that meet requirements. I know I need to use AJAX, or something ...
0
votes
0answers
14 views

WordPress custom setup with “uploads” folder on a separate server; and “themes” and “plugins” on two different servers

I am setting up a WordPress site on Linux (and using Amazon AWS if this matters to you), and would like to do it as follows: A separate server for the DB server A separate server for the "uploads" ...
0
votes
0answers
14 views

WordPress database error Duplicate entry 'cron' for key 'option_name' for query [on hold]

Today i see the error's with my website and it seems to slow down the performace of the website when i was having very high traffic on the website. I bought Vaultpress plugin for the backup and i was ...
0
votes
1answer
1k views

“switchEditors is not defined” with wp_editor() in jQuery UI tabs

Making a WordPress plugin, using WordPress 3.5.2 I'm using wp_editor() on the front end, inside jquery UI tabs [ajax loading tabs + 2 editors on the same panel], and I'm getting the following error, ...
-1
votes
0answers
8 views

Stop monitoring site by Jetpack that doesn't exist anymore [on hold]

I activated the Jetpack monitoring plugin for my blog. After a while, I decided to quit the blog completely, so I made a hard rm -rf wp/ on my machine. Consequently, I received a monitoring notice ...
0
votes
2answers
35 views

How to get the real address from a url (permalink)

For some reason i need the actual address of current page in my plugin , but after searching i can not find any answer on how i can get the real address of current page. I tested many functions for ...
2
votes
4answers
8k views

Different template of products for specific category. WooCommerce

For example i have category coffee machines, and one template for coffee machine single product template, but for category coffee i want to have different single-product.php template, how to implement ...
2
votes
3answers
2k views

Convert WordPress posts to products in WooCommerce

Is there anyway I could convert all the posts e have right now on our WordPress install into products using some MySQL query or something like that?
0
votes
2answers
18 views

Create Table on Plugin Activation

// Initialization and Hooks global $wpdb; global $wp_version; global $wpmyfirstplugin_version; global $wpmyfirstplugin_db_version; global $wpmyfirstplugin_table_name; global $wp_version; ...
0
votes
1answer
348 views

Undefined constant error in pluggable.php

Ok, so to preface this question, I think this error is caused by the plugin I am developing. I actually am trying to create a v2 of the plugin, and every time I try to overwrite the plugin files in ...
0
votes
0answers
15 views

Updating plugins in 4.0.1 creates directory structure in WP root

I’m experiencing a weird behavior in a WordPress 4.0.1 install that I have never noticed on any other installation: Whenever I try updating a plugin from within the WordPress dashboard, the update ...
2
votes
2answers
1k views

Custom Taxonomy in plugin and template

I have a plugin that I am developing that is using custom post types and taxonomies. My question is this. How can I load the content/theme data from my plugin on to the page when the go to the custom ...
-1
votes
3answers
897 views

How to use 'Event Manager Shortcodes' plugin via the php code? [on hold]

I am using Event Manager plugin. I want to use many of the shortcodes via php code. e.g [events_calendar]
0
votes
0answers
9 views

user profile how to make site field required

In the user profile page there is a site url text box. how can i adjust the site input field to required? how can i validate that it is true site? thank u
0
votes
0answers
182 views

Errors and notices after update to WP 4.0 [on hold]

I recently updated my WP 3.8 to WP 4.0 . Then few errors and problems start appearing. On Dashboard under "Wordpress News" it says: RSS Error: WP HTTP Error: name lookup timed out Other than that ...
8
votes
1answer
238 views

WP_User_Query and non-unique usermeta data

We have an issue with a WP plugin that we wrote and maintain - Export User Data A user has reported an issue that non-unique user meta data records are not being returned correctly - here In the ...
-3
votes
0answers
21 views

Combine multiple plugins in to one

I am looking at possibly coding few plugins to work together. Do I have to remove all plugins' headers? Can I put their headers as shown here: Combine multiple plugins into one? into loader.php using ...
5
votes
1answer
2k views

Combine multiple plugins into one?

I've collected a few plugins that each have specific functionality I need for what would otherwise be a single large plugin. Is it possible to bundle these into a single installable zip?
0
votes
3answers
5k views

Add quantity field with each product on shop page-wooCommerce [on hold]

I want to add quantity field with each product on shop page. I have used <input type="number" step="1" min="1" name="quantity" value="" title="Qty" class="input-text qty text"/> code in ...
1
vote
1answer
365 views

wp_specialchars and wp_specialchars_decode in a shortcode plugin

I have written my first plugin, a shortcode plugin. I have read about wp_specialchars and wp_specialchars_decode but I'm not sure how to use them. The plugin read a shortcode allowing some parameters ...
0
votes
0answers
15 views

Wordpress NetworkError 403/404 : for /wp-admin/admin-ajax.php on this server [on hold]

admin-ajax.php file not found in registration using userpro plugin. i check field validation using admin-ajax.php its workind but click on register button using admin-ajax.php its not working ...
0
votes
2answers
301 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
0
votes
0answers
13 views

Global Signup/Login in two wordpress site some like similar to stackoverflow?

I have two different wordpress installation at two different server one at mydomain.com and other at subdomain.mydomain.com having different database. My question is how I implement global ...
0
votes
1answer
432 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
0answers
5 views

RSS Error: WP HTTP Error: Could not resolve host: planet.wordpress.org; & all amazon plugins are down

installed wp verson 4-1 rc (release candidate) On my admin dashboard i have noticed that the feeds (other wordpres news, wordpress development blog, and incoming links) are no longer working. ...
0
votes
1answer
24 views

Working plugin code breaks admin

I would appreciate any criticism for the big chunk of code below. What I'm trying to do is query a set of custom posts and return them in a table based on custom fields. It works ... the table is ...
5
votes
3answers
760 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 ...
1
vote
2answers
480 views

Using plugin functionality in external php script not working

I am encountering a strange problem which I couldn't solve so far. I'm calling a .php script via cronjob (Debian/GNU Linux). To use wordpress functionailty I added: define('WP_USE_THEMES', false); ...
-3
votes
0answers
13 views

How to create a drop down field in custom theme option menu? [on hold]

I am making a theme in wordpress and want to add some fields to the option menu example: dropdown,Text fields etc. but i want to do it using array like: $options = array ( array( "name" => ...
1
vote
1answer
37 views

Show list of loaded php files from plugins

So currently I have the following code and it shows me a list of all the php files loaded from the theme. So how can I edit this to show either all php files or just the plugin ones? functions.php ...
0
votes
1answer
21 views

Add bcc to contact from on wordpress

I found a script for making your own contact form in your wordpress site (without plugin) Now, I want to add more clients email accounts as a BCC or CC. how can I do that? This is me code which ...
4
votes
0answers
25 views

Override Wordpress user with Oauth2 account

My first time here, so I hope this question is in the appropriate place. I am trying to setup Wordpress as an OAuth2 client. All of our users are stored in our proprietary CMS which is an OAuth ...
1
vote
1answer
8 views

Deactivate plugins using Migrate DB's find and replace options

If possible, how would I go about disabling plugins using the Find and Replace options the Migrate DB plugin offers? What I hope to achieve I use Migrate DB to bring copies of production DBs down to ...
3
votes
5answers
7k views

Adding onload to body

I'm currently trying to develop a plugin that will embed a Google Earth Tour into a WP post / page via a shortcode. The issue I am running into is that for the tour to load, I have to add an ...
0
votes
0answers
38 views

How to create WordPress plugins that are closed source? [on hold]

How would someone go about making a WordPress plugin closed source when at the same time the person has to download all the .php scripts to install.
-2
votes
0answers
11 views

Font awesome wordpress [on hold]

I'm looking for a "Genie lamp" in font awesome wordpress plugin. I tryied fa-eye but don't work. Anybody knows if i can get it? Thanks
-1
votes
0answers
6 views

Point system for social shares [on hold]

I'm wondering if there is a plugin that will award users points for social shares (twitter, facebook, pintrest, etc...). Does anyone know of any? Thanks, Todd
-5
votes
0answers
22 views

Multiple steps form in Wordpress [on hold]

Dear Wordpress Developers, I need a multiple steps form Wordpress plugin. I need such kind of form and at the end to display the price based on the choices made by the user. What Plugin would you ...
0
votes
1answer
349 views

How to add a full edit link to front-end editor?

I would like to add a full edit button to the Front-end Editor plugin. It's currently like this: [EDIT] Text text text I would like to make it like: [EDIT] Text text text (enables front-end ...
0
votes
0answers
12 views

Is it good practice to use WordPress nonce values to restrict page access?

I'm working with a colleague on a WordPress plugin. Part of the plugin functionality is showing dynamic lists with links which allow you to open a new page. Depending on the user's role, they may or ...
-2
votes
1answer
107 views

Error after updating to WooCommerce 2.0.15 [closed]

Warning: in_array() expects parameter 2 to be array, null given in /home/semprebemcasados/www/wp-includes/taxonomy.php on line 2092 Warning: Invalid argument supplied for foreach() in ...
1
vote
2answers
317 views

Moving image attachment from post to another?

How to move image attachment from post to another (not to "Remove Permanently" and Re-Upload) ? I'm using WordPress 3.5.0 and I have a thousand images to process. Is there a built-in function for ...
-4
votes
0answers
23 views
0
votes
0answers
12 views

How to import Google Spreadsheet into TablePress? [closed]

I am trying to setup Automatic Periodic Table Import TablePress plugin and having a problem with importing Google Spreadsheet table. I need to create a URI to target table with something like ...
0
votes
0answers
6 views

Custom table in my plugin print UTF-8 (מוברש) charsets and not hebrew

i have created custom table in wordpress db to use my plugins needs. i have campaigns with hebrew names, this saved to column (varchar(100) utf8_unicode_ci ) in the DB i dont see hebrew but this: ...
0
votes
2answers
2k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
0
votes
1answer
357 views

query_vars in plugin when using custom permalinks

I am trying to do the following I need to get the category of the current page at the plugin level so before it goes to archive.php orsingle.php so i have a plugin to do this and based upon ...
0
votes
1answer
302 views

pre_set_site_transient_update_plugins wont call on hosted webspace

Iam trying to use "pre_set_site_transient_update_plugins" to update my plugin from a GitHub repository. For that Iam using this example https://github.com/bfintal/Plugin-Update. On my Dev-System ...
0
votes
0answers
14 views

How to create an XML Exporter?

I made an XML Exporter in PHP and then thought it would be really useful as a Wordpress plugin, however I'm having some difficulty as I'm new to Wordpress. I wrote an Exporter in PHP that allowed ...
2
votes
4answers
3k views

Error when updating plugins by FTP “Unable to locate WordPress Content directory (wp-content).”

I run apache2 on Ubuntu, i'm sure there is a configuration or permission problem causing this. When I attempt to update plugins through the admin control panel, after I enter the FTP login/pass and ...