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)

4
votes
0answers
49 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 ...
4
votes
0answers
680 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 ...
3
votes
0answers
51 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 ...
3
votes
0answers
125 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 ...
3
votes
0answers
103 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 ...
3
votes
0answers
913 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 ...
3
votes
0answers
153 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}. \begin{...
3
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 ...
3
votes
0answers
107 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
29 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 ...
2
votes
0answers
40 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
62 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
80 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
166 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
578 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 add_filter('...
2
votes
0answers
349 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 http-...
1
vote
0answers
4 views

Custom values are not translated

I'm trying to translate my plugin. Inside plugin's root folder I have 'inc' folder, where located registration.php file. This file has a code, which adds custom fields to comment form. (I use right ...
1
vote
0answers
15 views

Displaying admin notice dynamically

I would like show the admin notice while post text is being edited (before Save post). I suppose admin_notice hook wont work in this (it doesn't for me). Any idea how to show some error message to ...
1
vote
0answers
75 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
41 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
30 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
66 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
34 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
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
38 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
169 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
48 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
27 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
24 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
15 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
60 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
44 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
23 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
52 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
33 views

Can I store WordPress media in different sub-folders?

How can I have my media files saved in different sub-folders of my choosing in WordPress? It just only use one folder for all media which make it hard to manage them. Just to be clear, I'd rather ...
1
vote
0answers
63 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
36 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
35 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
39 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 ...
1
vote
0answers
8 views

Setup page on first login on multisite

Is it possible to create a setup page on the first login before they visit their admin page to say change the language of the administrator and change their temporary password? I don't want users to ...
1
vote
0answers
27 views

WordPress plugin admin html being shown in Customizer iframe

I have a WordPress plugin that is focused soley on the admin side of things. I have a piece of HTML that is shown on all admin pages using the all_admin_notices hook. This worked very well, but I ...
1
vote
0answers
71 views

Init plugin again after ajax call finish

We have this website that the navigation between pages work with ajax. in the blog page we use this great plugin to make the ajax load-more posts. all works great but the problem is that when you ...
1
vote
0answers
88 views

polylang + category/tag custom language link

under wordpress user can define url part for categories/tags, e.g., page.com/category/some-cat where category is user defined string part. Is there a way to define "category" (same goes for tags) for ...
1
vote
0answers
42 views

(Big issue) Blog is Getting Down Each day.. what should i do.?

I am using KnownHost Hosting (SSD-VPS-3 Plan) and My Site is getting about 50K pageviews each day ( according to Jetpack plugin ) Sometimes my Site is getting Down 3-4 time each ( each time for 10-20 ...
1
vote
0answers
37 views

Wordpress backend delay by server side HTTP Request

I had 50 seconds of loading time for my backend in wordpress. I thought it was very strange for a DB to be so slow and I realized with the help of the Query Monitor plugin that the server is making ...
1
vote
0answers
12 views

custom post type and non-standard gallery

I've got an issue - ive created a cpt with below code: <?php // Register Custom Post type $portfolio = new CPT('portfolio', array( 'supports' => array('title','editor','thumbnail'), ...
1
vote
0answers
148 views

Anspress Customization: How to show logged in user votes on a single answer?

I am using Anspress plugin in my website. I customized the plugin to show the answers on a single question page. Now my problem is, I am unable to find a function which can display the current user ...