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)

2
votes
0answers
34 views

Auto Load Plugin Hooks inside Must Use Plugin

I am creating a custom MU plugin to run on a multi-site network. I am working on a function that will dynamically include files containing additional action and filter hooks based on the active ...
2
votes
0answers
31 views

Having Multiple authors for the same WordPress Plugin

Is it possible to have more than one author for a WordPress plugin using the plugin comment block? I searched for it, but I think it's not possible through the default way. Is there a workaround for ...
2
votes
0answers
30 views

Display (and manage) webcam images?

I have a webcam that write every minutes or so, an image to an ftp folder on the server where WP is installed. My question is how to get the last image displayed on page, with refresh every 60 second, ...
2
votes
0answers
109 views

Multisite Widget/Content

I'm using WordPress multisite and need to display content across all subsites in the sidebar. This is a network of 50+ sites so updating all 50+ sidebars with this content every few days is not ...
2
votes
0answers
274 views

Custom media upload content for inserting custom post shortcode

I’m working on a plugin that creates custom post type “portfolio” along with shortcode to insert in any page or post. The shortcode is: [portfolio option1=“1” option2=“0” option3=“1” ] And it works ...
2
votes
0answers
275 views

Plugin or advice on how to parse XML in real-time?

I am working on a project for my university basketball team. During each game their statistics software will create an XML file and update it mid-game with player statistics, shots, etc. What I ...
2
votes
0answers
36 views

PGP-Encrypt system-generated notifications

I was wondering if there is a way to get Wordpress to encrypt notification mails ("Please moderate ..." and so on) using PGP. I have found a bunch of plugins providing PGP-encrypted eMail forms, but ...
2
votes
0answers
2k views

Display products for a category, sorted by post_excerpt

I'd like to display a list of products for a certain category, sorted by the post_excerpt. The original code I used was this: $args = array( 'tax_query' => array( array( ...
2
votes
0answers
215 views

Wordpress with CAS+LDAP and standard WP accounts

I have a wordpress site setup with the wpCAS-w-LDAP plugin for logins. It's working perfectly except for one thing. We have some users who can't login using the CAS system since they don't have an ...
2
votes
0answers
290 views

post_content getting cut off on blank space on $wpdb->update

I am publishing the following post via xmlrpc <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html><head><meta ...
1
vote
0answers
42 views

Is there an equivalent to Drupal's Batch API in WordPress?

I'm wondering if there is some sort of equivalent to Drupal's Batch API in WordPress? Basically, the API allows you to register a batch request and Drupal will call your function over and over again ...
1
vote
0answers
16 views

Let readers suggest edits from the frontend

I'd like to make my articles editable at the front-end for any reader who visits the site. (More like a wiki). I don't really want to trouble them through the registration process. I have no idea how ...
1
vote
0answers
21 views

Trouble adding tiny mce to textarea in custom plugin

I'm using the Sunrise open-source OOP framework to develop my plugin. I am building out a new settings page and I'm having trouble adding in a WYSIWYG/tiny MCE textarea to the settings page. I've ...
1
vote
0answers
8 views

automatic plugin install availability: server configuration

This link shows how it may be possible that WordPress may not be able to download and install a plugin via its web interface (known as automatic plugin install). However it may be still be able to ...
1
vote
0answers
44 views

Render custom php template into string

I have a native php template, say, <div> <?= $data ?> </div> Deeply inside the wordpress plugin page I need to render it into string. I feel I miss something well-known here, but ...
1
vote
0answers
23 views

Upgrade Private Plugin without Deleting

I've seen numerous questions asking a way to update a private plugin by checking to self-hosted repository, or update plugin from personal API, but my question is quite different. As we all know, if ...
1
vote
0answers
22 views

Automatically populate title field

I have a WordPress website with Gravity Forms and people can share YouTube videos on it. (The form can be found here: http://shareminecraftvideos.com) Now what I want is to automatically take the ...
1
vote
0answers
43 views

How to remove custom post type and add category and post name

I have a custom post type called listing and taxonomy for this listing is called listing_cat. At the moment my wordpress permalinks appear in this format ...
1
vote
0answers
47 views

register_settings callback function posing problem

Hi I am writing this plugin as an exercise and everything is working except when I try to validate image upload through register_setting callback function it doesn't save data to options.php at all. ...
1
vote
0answers
58 views

Plugin: How to make links in admin page open up inside of the admin panel

In writing my plugin, I have added my menus and submenus to the admin page. The pages load and function as intended. What I am trying to do is create some links inside of these pages that will pass ...
1
vote
0answers
106 views

Using color picker in plugin, does input attribute order matter?

I'm trying to use the WP color picker in a plugin admin menu and it doesn't seem to be doing anything at all. I'm following the directions here: ...
1
vote
0answers
113 views

Manually set a custom admin sub-menu selected?

This question might have been asked already, and if so I apologize but none of the other answers pointed me in the right direction. I am developing my first Wordpress plugin. Lets say it contains the ...
1
vote
0answers
195 views

Wordpress 3.8.3. custom theme - sliders won't load js/css files

I'm building custom WP theme and I have issues with sliders. None of those I've tried to install worked. When I looked into the developers console, and searched for their js/css files, they where not ...
1
vote
0answers
26 views

A include_template Question

Right now I am building virtual pages on a wordpress install. I use the include_template hook to add some logic that checks for a 404 page & some regex to look for a specific pattern. This seems ...
1
vote
0answers
22 views

Is there a directory my plugin can write files to that cannot be viewed via the browser/url?

I want to restrict access to some files uploaded via the admin interface but I cannot rely on the ability to use .htaccess (could be turned off, or they might be using a non-apache web server). I ...
1
vote
0answers
49 views

Retrieving Meta from Image Attachment

I currently have added a meta box to the media library popup using the following: // ADD CUSTOM INFO INSIDE THE MEDIA LIBRARY function AddLibraryFields( $form_fields, $post ) { ...
1
vote
0answers
1k views

WordPress JS- Visual Composer

I am trying to make a sense in which I can put the whole functionality of JavaScript Visual Composer as it is to the front-end of the WordPress site. As I want that user should not use the wp-admin ...
1
vote
0answers
54 views

Wordpress plugin creating database in localhost but not on real host

So I am busy creating a plugin that creates a custom table to read in some data. The plugin works 100% on localhost but does not create the table in the db on the real host. I have debug enables and ...
1
vote
0answers
78 views

How can I register a hook for all Custom Post Types that are published?

I'm developing a plugin. I want that when every Custom Post Type is published, a hook is called (where I send an email notification to the administrator). I know I can use: ...
1
vote
0answers
198 views

How to display taxonomy images with wp_list_categories?

I am trying to display only sub taxonomies with images of current taxonomy in taxonomy page. I have created custom taxonomies for a custom post type and using the plugin Categories Images to add a ...
1
vote
0answers
45 views

Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?

After WP3.8.1 upgraded, two plugins I made for my networks both stopped working. Each runs on a separate multisite install. I posted the error report on the Wordpress form: ...
1
vote
0answers
28 views

Wordpress does not show products when the value of post_parent is not 0

I use wp-e-commerce. I created a custom post type called "event". I would like to create new "event" as a parent and hook products under it. When I "hook" a product under post parent "event", ...
1
vote
0answers
51 views

Enabling user creation with “ Active Directory Integration”

For our internal wordpress site, we have installed the plugin "Active Directory Integration" and we are able to have the users login using the domain password. How to have the users getting created ...
1
vote
0answers
77 views

Image upload and other options in the same plugin settings form?

I write a wordpress plugin. My plugin has two options. One is an image upload mechanism and the other is a checkbox. My code is below: <?php /* Plugin Name: Plugin Name Plugin URI: Description: ...
1
vote
0answers
262 views

Bulk update all posts from plugin settings screen

I'm writing a plugin right now that will populate custom metadata for all posts on the site based on a certain rule. I've already created a Plugin's settings page and a logic that should be triggered ...
1
vote
0answers
31 views

Lock access to plugin options

While editing a post/page, that item is locked to the current user. How can something similar be accomplished with the settings pages? Take this for example. admin A is changing settings for a ...
1
vote
0answers
53 views

Custom message on plugin uninstall

I'm writing a small wordpress plugin that creates some custom files, but I'm wondering if there is a way to show a quick "reminder" pop-up or message when a user deactivates the plugin. I just want ...
1
vote
0answers
40 views

remove add new post, if there is already one post

I have a custom post type, but I want to allow only one post. if the user posts then the add new post should should be disabled or removed. so only post is allowed of that custom post type. If the one ...
1
vote
0answers
33 views

Single, unzipped PHP file as plugin?

WordPress plugins commonly come in the form of a "zip" file, which can contain multiple files of PHP source code. Can a plugin come in the form of a single, unzipped, PHP source code file, with a ...
1
vote
0answers
204 views

Adding Custom Product Attribute and Variable in WooCommerce Programatically

Can you please let me know how I can add Custom Product Attribute and Variable in WooCommerce Programatically? I know this easy to be done in Woocommerce GUI but I need to do this through ...
1
vote
0answers
151 views

How can I include the custom field in Woocommerce in my IPN

I use Woocommerce plugin. All works great, I have added a custom field or attribute to a product which is fine and it shows on the products detail page but my problem is getting this data to come ...
1
vote
0answers
219 views

Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work

I've got the proper debugging constants defined in wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', true); define('WP_DEBUG_LOG', true); But they're not doing a darn thing. When ...
1
vote
0answers
63 views

Remove Woocomerce shop page

I know this question is about Woocomerce but I want to give it a try. Is there a way to remove the shop page? I use them as parts of a custom post type, and I don't need that page, but it exists. ...
1
vote
0answers
206 views

Edit and make class-wc-widget-featured-products.php update-proof

Within the class-wc-widget-featured-products.php file I need to Remove this on Line 101: <?php if ( $r->post->post_title ) echo get_the_title( $r->post->ID ); else echo ...
1
vote
0answers
77 views

Login cookies set as wrong domain

I'm building a plugin that allows oauth2 logins from providers (eg google). My code is setting the wordpress_logged_in_{$hash} cookie domain as /wp-admin, for some reason, whereas using the normal ...
1
vote
0answers
140 views

Create attribute for woocommerce on plugin activation

I want to create attribute on plugin activation.By below code,i'm able to create attribute in database table prefix_woocommerce_attribute_taxonomies but these attributes are not showing (or listed ) ...
1
vote
0answers
123 views

Setting up PubSubHubbub (PUSH) with Wordpress

I'm trying to set up PubSubHubbub (PUSH) with WordPress so I can allow updates to be seen in real time, without refresh. I have read many, many tutorials online on how to implement this plugin with ...
1
vote
0answers
835 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
1
vote
0answers
69 views

Call specific plugin update

I'm looking for way to update specific plugin via xmlrpc api. There is no exposed any function for do upgrades. I've tried to visit ...
1
vote
0answers
228 views

Add ALT attribute to Pin It Button image to pass HTML5 validation

I am using the Pinterest "Pin It" Button plugin so I can add to my posts/images. However, part of the Pin In button uses this code: <img border="0" class="pib-count-img" ...