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
0answers
63 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 ...
5
votes
0answers
52 views

Development of a Wordpress Search Plugin - Best Practices

Searching for around two days to find an answer to my question, I finally registered for this StackExchange. :) My Question is not simple, so I need to start at the very beginning. But to give you an ...
3
votes
0answers
31 views

Calling shortcode in wp_localize_script strips result

I am working on adding some functionality on a Wordpress plugin which after a certain click needs to call on some shortcode through ajax. What I first attempted was to call the shortcode inside of ...
2
votes
0answers
29 views

List of plugin updates in admin bar

In the admin bar, there is an icon that will tell you if there are plugin updates. Whenever you hover over it, it will say something like "1 plugin update". You have to click on it to go to the update ...
2
votes
0answers
38 views

category_name not working (not showing up in sql query debug)

My plugin has a shortcode and it retrieves animals. There are filters/arguments and they all work well except the category argument or parameter. The category name(s) is/are well passed to my ...
2
votes
0answers
60 views

Does Wordpress contain “default” anti-SQL injection code that responds with a 404 error?

I've been through the “seven layers of the candy cane forest” on this one… :) Our plugin receives data via a POST request. On a particular site that has our plugin installed, we observed odd ...
2
votes
0answers
78 views

How should I handle errors within a plugin?

Building my first serious attempt of a Wordpress plugin. I'm not sure how I should handle errors. I really just want to give the user some kind of message that the variable is wrong instead of ...
2
votes
0answers
126 views

Cropping, Re-sizing and Saving images from one folder to another folder in wordpress

I'm adding an upgrade for the WordPress plugin which I have developed ages ago. This plugin is just a product catalog, so just show products and their images. Products can have more than one images. ...
2
votes
0answers
109 views

Override Widget class in plugins with custom plugin

I am currently modifying a purchased theme for a client that has several required plugins for it to work. One of the required plugins, creates a widget that displays a post type and client would like ...
2
votes
0answers
96 views

How to write 'safe' plugins?

We have reports that our plugin did result in a blank page after installation, and we've got also bad and unfair ratings just for that. Those users don't seem to be able to read install instructions ...
2
votes
0answers
158 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
642 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
867 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
146 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}. ...
2
votes
0answers
549 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 ...
2
votes
0answers
2k views

Sending all emails using SMTP

I tried using both Configure SMTP and WP Mail SMTP to send all domain emails through my donotreply Google Apps email address, but neither plugin worked. Attempting to send test emails through either ...
2
votes
0answers
70 views

post_id always wrong in plugin

I am trying to make two plugins work together where one of them puts a tag around every title with a filter function. I want it to exclude posts of another plugin that have custom post_type ...
2
votes
0answers
104 views

Oauth user Authorisation

I work with Oauth 1. I want when the user enters the admin page of my plugin, it is redirected to the site should perform authorization and come back on my page but it does not work ...
2
votes
0answers
347 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
24 views

Disable plugins on cron and ajax page

I want to disable few wordpress plugins on my cron and an ajax page. I have already tried option_active_plugins filter but it's not working. I have checked and found most of the people say that ...
1
vote
0answers
61 views

disable active plugins for specific theme

I want to disable some plugins from a specific theme.I am using deactivate_plugins hook to deactivate. following is my code. add_action('wp_head','disable_plugins'); function disable_plugins(){ ...
1
vote
0answers
20 views

How to set redirect for Buddypress Group Creation?*​

I have a BuddyPress installation for which I am trying to create a redirect at the end of a group creation process. Right now I have the process simplified down to one step by removing steps 2-4 like ...
1
vote
0answers
36 views

Can I check plugins and themes for PHP 5.6 ahead of global PHP server Update

My server is updating to PHP 5.6 next week. I manage about 30 WordPress websites. I looked for a plugin that would check if any of the code throughout the other plugins and theme would break with the ...
1
vote
0answers
28 views

How to append element after thumbnail

Hey I just wanted to know how to add an element after the first thumbnail image in my loop. Basically I want an HTML div tag inserted after the first image in my post. Anyone know how to do that in ...
1
vote
0answers
77 views

How to find the hook(s) that make site slow

I am working on a site and it is working fine except one thing that it is very slow. I tried to figure out that which plugin or theme is creating the problem and find out that woocommerce-subscription ...
1
vote
0answers
54 views

jQuery.post not working within shortcode - Wordpress Ajax

I have a shortcode which works, only thing not working is my ajax callback function, which is not triggered and can't figure out what the error is. My functions.php for the shortcode and callback ...
1
vote
0answers
70 views

AJAX Request not working for Wordpress Multiple Shipping Addresses Plugin

I have a pretty urgent question and I need some help figuring out this issue. So I bought the Wordpress Multiple Addresses plugin because my client needs the functionality for their e-commerce site. ...
1
vote
0answers
466 views

Why isn't “background-image: url”working with Bootstrap carousel on WP?

When I made a Bootstrap carousel in plain HTML it was working just fine, but when I pasted the code into Wordpress the carousel is completely white. It's not a problem with the path because it will ...
1
vote
0answers
29 views

Add a BuddyPress user group and allow them to edit and control a specific page

Im working on a restauran reservation page (for an unlimited number of restaurants) and I would like to add two specific groups/types of users : General user aka user that makes reservations and can ...
1
vote
0answers
30 views

Woocommerce Postcode/zip two seperate fields (numbers & letters)

A client of mine wants to keep the numbers and the letters of the postcode seperate ex. 4800 AA. Is there a way to do this easily? I've been looking around for some plugins with which i could do ...
1
vote
0answers
12 views

How to create user that has permission to create new sites on WordPress with multisite option enabled?

I have installed user roles editor plugin https://wordpress.org/plugins/user-role-editor/ and created new role, but can't make this role to give the user ability to create new sites on WordPress with ...
1
vote
0answers
137 views

Create WooCommerce subscription on import CSV order file

I have a WooCommerce WordPress site running, with the upload function of customer / Order / CSV Customer Import Suite (WooThemes). This only uploads my orders & not my subscriptions ( Woothemes ...
1
vote
0answers
34 views

Creating shortcodes in plugin

First time creating a WP app, so please bear with me. Essentially, I want to be able to input a value in a form, which gets processed and put into the database. Once that is done, I was trying to use ...
1
vote
0answers
130 views

Visual Composer shortcode for child theme dir

I have a site using VC that is running on localhost and also on a staging environment. I need to access the child theme directory to call images from within raw-html sections of visual composer ...
1
vote
0answers
39 views

ob_start() combined with wp_query

I'm making my first plugin and I have a problem with displaying my shortcode. It shows in the top all the time but I have read some about ob_start(); and trying to use it but the shortcode just ...
1
vote
0answers
46 views

How can I contact a function inside a plugin's class?

I have a plugin, and it has a some functions inside a class, look like this: class Sat_WC_Order_SMS { ... public function __construct() { $this->instantiate(); add_action( ...
1
vote
0answers
26 views

How does WordPress know when there are plugin updates?

How does a WordPress plugin know whether if there are updates available to download and to download those updates. What function or script controls this and how does it work? I am assuming this ...
1
vote
0answers
23 views

How to exclude a widget from page 1 of a paginated post

I want certain widgets to not appear on page 1 of a paginated post but appear on all other pages (page 2,3..so on), and some other widgets to appear on only appear on page 1 and not the rest of the ...
1
vote
0answers
14 views

Configuring Propel to Work with Multisite

I'm trying to build a plugin using Propel ORM to be used in a multisite envivroment. Currenly it works in single great but I can't figure out how to get it to create the tables for each site and have ...
1
vote
0answers
48 views

bulk change of image setting “link to” to “link to: image url ”

i want every image present on my wordpress site with setting "link to: none" or "link to: post url" became in "link to :image url" ho make this for old post and for new post ? i tried this code in ...
1
vote
0answers
36 views

Add custom JavaScript that is a combination of CDN/uploaded files and easily-edited code?

I would like to add some custom JavaScript to my site: a combination of external CDN-hosted files, static library files hosted locally, and local JavaScript that I'd like to be able to edit in the ...
1
vote
0answers
20 views

Individual testimonial taxonomy not displaying (white screen)

I am using a testimonials plugin which is working fine except for when I try to view the testimonial entry as an individual page The plugin author suggested changing the testimonial slug and updating ...
1
vote
0answers
20 views

Wysiwyg editor errors

Hi everybody I am having a prob with wordpress when in my themes and browse to widgets and they are not active and won't allow editing. This is a brand new WP install and even if I change my theme its ...
1
vote
0answers
45 views

Admin Dashboard with Custom Tab for Client

I am trying to create a basic Tour Date widget. When the user clicks on the Tour Date Tab from the admin dashboard I want them to be presented with five fields. Date Venue City, State or Country ...
1
vote
0answers
13 views

How to edit video positioning in wrapper in WP 4.1 Visual Editor

OK so I've added an image here from our front page. We're using the YTPlayer plugin to run the looped video in the background. As you can see from the photo, there's a part of a jpeg photo in the ...
1
vote
0answers
49 views

Theme/Plugin installation through url on button click

I have a specific page on my website with several plugins and themes for download. Free plugins and themes. I offer a link to download them but I am trying to give my users this content in a more ...
1
vote
0answers
34 views

Redux Framework: Page freezes on typing in Editor

I am using Redux Framework. I am facing an Issue with the editor in Theme Options of Redux Framework Currently I have 103 editors in the options. My Issue is that whenever I start typing ...
1
vote
0answers
34 views

do_shortcode is outputting a string

I'm trying to display a responsive navigation bar. I currently have it outputting through the use of the plugin, but I'm working on the responsiveness, and so it'd help to embed the navigation bar ...
1
vote
0answers
28 views

CKEditor: Uncaught TypeError: switchEditors.switchto is not a functiononclick

Only the buttons Add Media, HTML and Visual show up after installing CKEditor for WordPress. In addition, encounter the following error while clicking to HTML or Visual by using the tool Inspect ...
1
vote
0answers
13 views

AFNetworking incorrectly interpreted WP_Error

I have client code that communicates with the server to create an account. The communication works, but the error response is not received correctly. In the Objective-C code below, I use AFNetworking ...