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
117 views

oAuth2 Authentication in Wordpress using WP OAuth Server and WP API plugins

I am sturggling with how authentication works in my scenario. I have Wordpress site which provides set of custom APIs secured behind oAuth2 Authentication using Wp OAuth Server plugin. I started ...
1
vote
0answers
22 views

How to password protect a category page / not posts?

I have seen this question here but the answer was a plugin ( cat-pass ) that would password protect all the posts under the category. I am looking to password protect the category itself and not ...
0
votes
1answer
43 views

Create tabs inside Plugins Admin Page

I am developing my own plugin and I am trying to figure out how to add tabs to my admin page. Is the process similar to how we add meta boxes? Ie, something like add_tab_box(...); and I specify a ...
0
votes
0answers
22 views

Change post template the proper way

I'm trying to create an option on edit posts screen (backend) to select different post template based the selection and I need your opinions guys if that is the proper way. Here is what I've tried so ...
0
votes
0answers
20 views

Override theme template for index page

For one of the websites I manage we baked in a lot of custom functionality into the theme we are using. The problem with this is that it's difficult to switch themes. I wanted to decouple this code ...
0
votes
0answers
21 views

Dynamic admin submenu

I'm creating a plugin for WordPress with dynamic sub-menu's fetched from the server. Putting the dynamic loading of sub-menu's into the menu_setup() hook function would slow down other WordPress ...
0
votes
1answer
26 views

Send post changes to set email addresses (not users or subscribers)

What I have I am using the "The Events Calendar" plugin on my site to coordinate a team of employees. I want to be able to send an automated email containing the body of an event post (post-type is ...
0
votes
2answers
59 views

How to add users roles dropdown in registration in wordpress

How to add users roles dropdown in registration in wordpress function myplugin_register_form() { global $wp_roles; echo '<select name="role">'; foreach ( $wp_roles->roles as ...
0
votes
0answers
19 views

How to add a 2nd Top Level Menu bar at my Blog/website?

I want to add a 2nd Top level menu bar at my blog TechBemaers.com There is already a primary top level menu in the Blog which I want to keep only to display option for Home page, About, contact info ...
0
votes
1answer
21 views

resizes images on the fly

I'm looking for a plugin that resizes images on the fly that I can call via php. I have searched the wordpress plugins for something that does this and wasn't able to find anything that was up to date ...
0
votes
0answers
39 views

Inactive Plugin Files

One of my plugins have some files that are inactive. I did some googling and found out that this is caused by editing files while the plugin is still active. OOPS, guilty. I then deactivated and ...
0
votes
0answers
32 views

Cannot Enqueue JS Script in Wordpress Admin

I'm running through a tutorial to add some ajax functionality to the admin area of WordPress and have hit a road block. I've been trying for a couple of hours now and as far as I'm aware, the below ...
1
vote
1answer
67 views

How to make Http Request to a php file present in plugin directory of wordpress

I'am new to wordpress plugin development and I'am developing a plugin (say myplugin) and I'am stuck in following problem. I had kept this plugin in mywebsite/wp-content/plugin/myplugin Inside ...
0
votes
0answers
23 views

Wordpress admin menu pages not receiving passed info

I have a Wordpress menu page (A) and a wordpress submenu page (B). I want to pass data from A to B. A has a list of items and I want B to show the details of each item, by passing the item id to it. ...
0
votes
1answer
21 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
0
votes
0answers
13 views

WordPress running on AWS behind a load balancer forces HTTPS links [duplicate]

Something weird happened to our website. After migrating to AWS, the setup is as follows: 1. 2 web nodes 2. 1 load balancer 3. S3 for content 4. RDS with a few DB instances Not sure what happened ...
0
votes
0answers
31 views

How to create a new database table whenever user changes options

I'am new to wordpress plugin development and I'am stuck in developing menu for my plugin. By going through documentation and many sites i created following menu. But i want to create a new table in ...
1
vote
1answer
83 views

Custom Widget Creating PHP Exception When Placed In Its Own PHP File

I have a custom plugin created and i have created a widget. At the moment this code is included in the base php file for the plugin and its working fine. I want to move the widget and all future ones ...
0
votes
0answers
17 views

Displaying PODS data in slider

I am working on a site that has already been created. The site uses PODS to create custom post types. One custom post type is "spotlight" which features certain people. I am trying to display ...
0
votes
2answers
41 views

Use wp_enqueue_scripts from included php file

I've got a realy hair pulling problem here. I've started cleaning up a plugin i've made and sort some of the functions in diffrent files. but i've got a problem with wp_enqueue_scripts. when i ...
0
votes
1answer
33 views

Does the WordPress API have Modal Dialogs

Does the WordPress API have a Modal Dialog like BootStrap does? In my WordPress Plugin admin page - the plugin settings page accessed through the Dashboard - I would like to have modal dialogs appear ...
1
vote
1answer
71 views

Bootstrap Drop Down menu is not working

Bootstrap dropdown is working when i added the jquery( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js ) in footer and by deregistering wodpress default jquery. When i disabling the ...
0
votes
1answer
60 views

Layout Plugin Admin Pages: Use BootStrap?

When you make your plugin admin pages, ie 'My Plugin Settings' page and etc. do you use bootstrap in them? What is the convention for this and what do most in the industry use to lay out their ...
0
votes
1answer
55 views

Create a custom page template inside my wordpress plugin

I'm developing a Wordpress plugin and I want to create a file to where I want to redirect the user to show some information. I know that a perfect solution for this is using Wordpress custom pages. ...
0
votes
1answer
16 views

Things that saved lose when logout

i been working on theme for my portfolio on my host and domain name http://alyelgarhy.com/ and things i saved when login changed when logout for example i change the tagline to senior web designer ...
0
votes
3answers
36 views

Optimizing site

So, I have about 10 plugins. They all have their own js and css files. However I also customized the site and not much of css and js are used. Is there a way for me to clean these up and ...
0
votes
0answers
56 views

Open Modal and load external URL in new tab

The theme CouponXL http://demo.powerthemes.club/themes/couponxl/ that is specific offers and discount coupons, clicking on a discount coupon (SHOW CODE) comes a modal window (from its own URL) and in ...
0
votes
1answer
26 views

WP::is_main_query() Not Working

I am Trying to add some content before the posts container I use this code add_action( 'wp', 'mainFunc' ); function mainFunc( $query ) { if ( is_home() && $query->is_main_query()) { ...
0
votes
0answers
19 views

Is it possible to place plugin files inside a Wordpress theme?

Is it possible to place plugin files inside a Wordpress theme? I have customize the plugin and on updation of the plugin all the code will be lost.
0
votes
0answers
18 views

All in one wp security breaked my /wp-admin

After installing the plugin all in one wp security, now we can't access to the wp-admin, we get redirected to 127.0.0.1, I checked on the .htaccess for clues and found this: # BEGIN All In One WP ...
0
votes
1answer
13 views

How Should Custom Functions Be Called For Single Posts?

I have been trying to find the answer to this. I want to use the best method performance wise, but also want to make this solution portable as possible. I have created a plugin that adds multiple ...
-2
votes
1answer
52 views

In WordPress, after installing “Pie Register” plugin, admin permission is GONE! [closed]

After installing the Pie Register plugin to my WordPress (v4.2.2) site, I found my administrator user lost all its administrative permissions. The menus for viewing and changing the site ...
0
votes
0answers
18 views

How to sanitize an input array to save in options?

I want to santize a category IDs list before updating it, how this should be done. This is how I'm doing: $categories = get_categories(array('hide_empty'=> 0)); foreach($categories as $category) { ...
-1
votes
1answer
27 views

I want to filter my products with attributes [closed]

I have ebook store, where all the books are listed, everything is done.. In products, publisher and author added as a custom attributes. Now I want to filter the products on the basis of ...
0
votes
0answers
18 views

Block host access via theme files?

so I have been reading up on analytics spam and have been looking for a way of dealing with it across multiple wordpress sites I run. The best solution seems to be to block the hostname via my ...
0
votes
0answers
25 views

Designing custom templates and managing conent

I am web developer with little wordpress experience. What I am trying to do is develop and style a website to my liking using pure html and css and then use wordpress to allow the end users to edit ...
0
votes
2answers
50 views

Google analytics not working on WordPress

I recently created a site using wordpress here http://www.volatileinterface.com/. I created a google analytics account and then added the tracking code to all of my pages using a plugin from the ...
1
vote
2answers
132 views

Plugin not saving values when placed in a folder within /wp-content/plugins

Ive got the following code for a WordPRess plugin that essentially add two custom inputs on each page/post edit screen. The values are then saved and output in the header of the frontend page. The ...
0
votes
1answer
40 views

Adding a google map to a metabox, map has inline style height=0

I've read through a few posts here on stack exchange and cannot figure out what I am doing wrong. Here's my metabox callback: <script type="text/javascript"> function initMap() { ...
1
vote
1answer
145 views

How do I add advanced custom fields / meta fields to Elasticsearch? [closed]

I am using the plugin ElasticPress. I'd like it to index some extra (advanced custom) fields. The only info I can find is this comment by one of the developers: [...]if you would like to add ...
0
votes
0answers
21 views

Switching Recipe Plugins

Currently I'm using EasyRecipe to write my recipes on my wordpress. I want to switch to the Recipe Card plugin, but I don't want to manually rewrite all of the recipes in there (I have over 400 ...
0
votes
0answers
8 views

w3 total cache manual minification (file URI where to find)

manual minification with w3 total cache requires you to add js and css files to minify (by adding file URI). Where do I find a list of all js and css files of my site and their File URI-s? thanks ...
0
votes
0answers
17 views

Post_title is only updated every other time

I have this piece of code which seems to work every other time, it is very weird. I have made a custom post type, and used the ACF plugin to create a field that now with this piece of code functions ...
0
votes
1answer
62 views

plugins_loaded action is not working properly

I am trying to send an email to the user after form submission but I get an errorCall to undefined function wp_mail() in C:\xampp\htdocs\wordpress\wp-content\plugins\contact ...
0
votes
1answer
51 views

Shortcode not working after move wordpress website files

After I migrate the existing wordpress website files in public_html, the all new plugins installed, there shorcode are not working anymore on any pages. Here's the page that I put a shortcode from ...
0
votes
0answers
20 views

Best solution for template redirect loop

A page on any website, WordPress or not, can be accessed by multiple urls. For example, you can typically visit the home page of a WordPress web site by all of the following urls: http://example.com/ ...
0
votes
1answer
29 views

Auto-login from backend

I want auto-login from back-end whenever i log-in from frontend. I am using AjaxBootmodalLogin plugin to log-in from frontend. In localhost when i login from frontend then i automatically logged in ...
0
votes
0answers
13 views

What is the best way to localizing plug-ins stylesheet

I need to localize some WP plug-ins and like to know if there was a method to make a rtl.css for plug-ins like the way WP handles RTL theme by reading rtl.css. What should I do to prevent my changes ...
0
votes
1answer
19 views

How to save default values into an option and delete those upon actvation and deactivation in wordpress?

I ma using Settings API to save and delete values to and from the options I created! But it is not working. Can someone point out to me why it is not working? Here is the code: ...
0
votes
1answer
62 views

Add logo to admin menu in my plugin

I want to add a simple piece of code: <img src="logo.png"> to the top of the admin menu. I know how to do it if I am just replacing a logo within an already existing class but there is no ...