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
103 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
152 views

Get image URL from media library in input

On wp-admin/post.php?post=447&action=edit for example I have a link and an input. The link appears as follows: <a href="#" class="button insert-media add_media" data-editor="tj_image_url" ...
2
votes
0answers
2k views

Insert query inserts 2 entries, should insert 1

I've written a small posts by views plugin, well at least started one. My tables are set up but when they are updated the code adds 2 entries into my table when a post is loaded and views are ...
2
votes
0answers
176 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
265 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
7 views

how to enable plugin menu on subsite of wordpress MU

My problem is I already have one MU site and I want to give my user access to enable or disable there network enable plugin. Like the default appearance menu. Please guide me
1
vote
0answers
23 views

NextGen plugin doesn't dispaly its image thumbnail properly

I am using WordPress 3.8.2 running Jazz theme and NextGEN plugin for galleries ,and I'm facing a problem with it, It displays its thumbnail images in a wrong way with the initial/first load. all the ...
1
vote
0answers
17 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
34 views

wp_enqueue_script registers script but does not create html tag

I wrote a plugin that enqueues a script and stylesheet only on a specific admin page. It works in my dev environment and multiple production servers; however, was introduced recently to a site that is ...
1
vote
0answers
20 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
24 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
26 views

Voting comparison plugin gets stuck in a loop, stops generating new votes

Edit: cut down the text drastically, sorry about that! For some users, at some point it will suddenly stop loading new votes for them, either looping the same one over and over or the same set of ...
1
vote
0answers
35 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
34 views

Can't connect SFTP, for use with installing a plugin

When trying to install a plugin, I can upload the .zip just fine. But then I'm required to use my SFTP details for WordPress to add it as a plugin. The details are definitely correct, but I get an ...
1
vote
0answers
46 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
95 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
103 views

Displaying Gravity Form data on Wordpress page

How can I display the data from within a Gravity Form on a Wordpress page? (This may be too detailed, but in case anybody wants details about what I'm trying to do, here they are): I have two ...
1
vote
0answers
19 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
42 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 ...
1
vote
0answers
22 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
142 views

Override a theme's WooCommerce template files with plugin

A plugin I'm working on, has it's own WooCommerce template files which override the default WooCommerce templates. I know I could make a child theme with a woocommerce folder but I'm trying to make ...
1
vote
0answers
57 views

User post upload plugin buddypress

I am using buddypress for my website. I am searching for a plugin which allows members to post articles, stories and poems. It is good if the member can upload documents with it. I have searched a lot ...
1
vote
0answers
53 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
25 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
30 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
34 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
29 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
86 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
35 views

How to require users to login when not logged in

I am trying to develop my first WordPress site, its going to be a school site, I develop sites normally, but this is my first time of using a CMS to do that. The school site is supposed to display ...
1
vote
0answers
56 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
119 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
56 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
83 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
62 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
127 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" ...
1
vote
0answers
151 views

Conditional Filtering in Contact Form

I need a contact form where I will have ListBoxes ( with states and cities. I want that when the user selects a state in list1, the list2 should only have cities which are inside the selected state. ...
1
vote
0answers
20 views

Use Editorial Calendar on any other page within any other plugin

I want to show Editorial Calendar on my custom plugin's page, so how to do that? Plugin available on http://wordpress.org/support/plugin/editorial-calendar Now I tried to include edcal.php (plugin ...
1
vote
0answers
117 views

Wordpress and WebRTC?

I'm pretty new to WordPress and I was wondering about WebRTC integration : user permissions, page integration... I'm especially interested in chat communications (writing and audio, video is not my ...
1
vote
0answers
129 views

Create custom column in post table in wordpress

I want to add two custom field to table wp_posts, and that I need for my plugin. now to enable these fields I have changed core file of wordpress wordpress/wp-admin/post.php $data = compact( array( ...
1
vote
0answers
35 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 ...
1
vote
0answers
67 views

Using arbitrary paths in page urls

I have been looking all over the place and maybe I'm just searching the wrong terminology but I need to be able to allow an end user (completely non-technical) to add an arbitrary path to the url ...
1
vote
0answers
358 views

woocommerce product in multiple categories navigation

I wonder if someone has an answer to this or could point me in the right direction I have a woocommerce product which resides in multiple categories like so /**the product categories ...
1
vote
0answers
135 views

date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)

I got used working with the More Fields plugin. But it seems that fields like datepicker timepicker date/timepicker image upload (media library) are missing somehow. Is there a plugin which can do ...
1
vote
0answers
54 views

How to split test a menu item

I have four links in my main navigation menu, which is displayed on every page of my site. Link 1 | Link 2 | Link 3 | Link 4 I have a form that once completed is a goal/conversion and redirects to a ...
1
vote
0answers
161 views

How to change upload dir for custom plugin?

I like to change the media upload directory for my custom plugin. Now i am testing with this in functions.php function custom_upload_directory( $args ) { // Check for our plugin pages if ...
1
vote
0answers
497 views

Contact Form 7 conflict with Advanced Ajax Page Loader plugin

I am using Advanced Ajax Page Loader plugin form loading my pages. One of the pages contains Contact Form 7. When the page loads, it shows fine but when I try to submit the form, contact form 7 ...
1
vote
0answers
60 views

Is there a way to use latex \cite{reference} in wordpress?

I am using QuickLatex plugin and it works great. But when I tried to cite some references using \cite{paper1}, it did not seem work. [latexpage] Here is a citation \cite{example}. ...
1
vote
0answers
88 views

Ajax : Call undefined function plugin_function() … can't call any plugin function

I use a Ajax query to show some content, but I can't use any of my plugins functions. Javascript : $('#load_more').click(function() { var data = { action: 'load_more', id: ...
1
vote
0answers
40 views

Constant Contact plugin forbidden error

I am developing site in local. it works fine. but when i setup that on client server in the join us form after clicking join button the following error occurred. I am using constant contact api plugin ...
1
vote
0answers
151 views

Changing image URLs in media library

On a default wordpress install, the media library is located at: /wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server. This filter ...