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)

-1
votes
1answer
34 views

Like/Dislike plugin crawler problem

I'm making new plugin where users can vote like/dislike my posts. But i have a problem with this plugin. Crawler bots can vote, and i don't know how to prevent it. Vote links have no follow, but i ...
0
votes
0answers
33 views

$wp->query_vars redirection giving me error

I am using plugin which is working based on short code.And I want to redirect to one template for single location. And I have given href like this to the plugin- ?wpsl-id= So basically what I have ...
0
votes
0answers
18 views

How to edit plugin to only display on specific post types, instead of all posts and pages

I've installed a plugin (allows users to save favourite posts to a list: http://goo.gl/9LEvjy ) but by default it displays on all posts and pages. I want it to only display only on posts, NOT pages - ...
0
votes
0answers
24 views

Adding custom page to the nav admin menu [duplicate]

I have added custom WordPress admin menu and pages, however, I would like for it to appear in the "Appearance > Menus" section so that the user can add it in the menu structure of their website. ...
2
votes
2answers
95 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 ...
0
votes
0answers
26 views

Can I use pretty URLs for paramaters without query_vars?

I have a plugin that retrieves data from custom non-WordPress tables. I'd like to be able to add pretty URLs to retrieve the data, but as far as I can tell, if I use the add_rewrite_rule and ...
0
votes
1answer
52 views

How to call plugin path in JS?

I am using wp-store-locator plugin and I want to add plugin directory path to my JS. html = "<li data-store-id='" + id + "'><div><p>" + storeImg + "<strong>" + store + ...
0
votes
1answer
73 views

wp_logout_url($redirect); is not working in wordpress

I am writing a simple WP plugin that could log the user in and out. As far as login is concerned its working good but I cannot log out, through my plugin. Logout doesn't work after I login. I have ...
0
votes
0answers
39 views

WP-API not working on with MAMP

OS: MAC OSX 10.9.5 MAMP: v 3.0.3 PHP: 5.5.10 WP: 4.0 Hey all, I can't seem to get the WP-API plugin (https://github.com/WP-API/WP-API ) working locally on my MAMP setup. When I test the /wp-json/ ...
0
votes
1answer
56 views

Check if User exists in Wordpress Multisite

Hi I am creating a custom Form to Register a new user in Backend. The problem is how I check if the user exists in another website of my Wordpress Network? And if not how can I register the new user?
0
votes
0answers
72 views

Autoloading a PHP class – working outside, but not inside WordPress plugin

I am thinking about using autoloading in a plugin. Outside of WordPress (as a test) it works as expected, but inside the plugin there are some problems. The directory structure I used for testing: ...
-2
votes
1answer
50 views

Use a Wordpress Plugin in non-Wordpress .php page [closed]

I have a website consisting of html pages but with one blog page in Wordpress. There is a news ticker plugin on this wp page which I would like to embed into the other pages of the site. How can this ...
0
votes
0answers
32 views

Incentive theme - Getting ’You do not have sufficient permissions’ while trying to install plugins

After making a clean install of wordpress and theme folowwing the installation guidelines from readme.html, I can not install the WPBakery Visual Composer and Revolution Slider plugins because I get ...
0
votes
0answers
14 views

Move plugin files to a different server

I'm in the process of speeding up my wordpress site load time. One of the things I have started doing is using a CDN server to serve my static resources from - this has had a drastic different. What ...
0
votes
1answer
87 views

How can I list custom post type categories of portfolio

this code below lists wordpress categories and works <form action="<?php bloginfo('url'); ?>/" method="get"> <?php $select = wp_dropdown_categories('show_option_none=Select ...
1
vote
0answers
121 views

WordPress Liveblog plugin: How to associate uploaded images with comments? [closed]

I'm using Automattic's Liveblog plugin which is also available on GitHub. Background When a user uploads an image, the following happens: a new post of post_type 'attachment' is created. a new ...
0
votes
2answers
82 views

wp_head is too slow

I am using wordpress 3.9.1 for one of the website. I am getting slow response around 35 seconds. I did investigation & found that wp_head is taking too much time. Further, I debug & found that ...
0
votes
0answers
44 views

Fatal Error message after trying to add new plugin

I've just tried to install the NextGen plugin and I've got this error message: Fatal error: Call to undefined function set_url_scheme() in ...
0
votes
0answers
32 views

theme_mod and option type in WP_Customize_Manager's add setting API

The WP_Customize_Manager's add setting API support the type argument: type Optional. Specifies the TYPE of setting this is. Options are 'option' or 'theme_mod' (defaults to 'theme_mod') What is the ...
0
votes
1answer
143 views

dirname( __FILE__) returning wrong directory inside plugin

Inside my plugin I'm adding the Advanced Custom Fields files. Part of including it in the plugin is changing the default directories using dirname(__FILE__). In step 3, include_once works fine. So, ...
2
votes
0answers
62 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 ...
0
votes
1answer
22 views

Add custom message to the plugins page of Wordpress

I'd like to add a banner at the top of the plugins page (where you update plugins) that reads "Please do not update plugins". I know I can use the admin_notices hook to attach the message, but how do ...
0
votes
0answers
16 views

How to update plugins in a distributed wordpress scenario?

I have wordpress running with nginx behind a load balancer. Everything is running well. However, given that I have multiple sets of files, what's the best way to update them all? Ansible? Looking for ...
0
votes
0answers
60 views

Preview with Custom Post Type Not Working

At this point I have tried everything I know to fix the issue. Issue: preview only works right after a custom posts is loaded or updated. If you make any changes or hit preview twice without updating ...
-2
votes
2answers
77 views

how to display the page content in popup window?

Created Main Menu with 3 menu item(Home About,Apply Now),my task to display the content of "Apply now" page in a popup while clicking "Apply now" from menu?
0
votes
0answers
15 views

hide certain settings from showing on options page

I'm working on a plugin that hides certain settings in the General Settings page, like "WordPress Address (URL)" "Site Address (URL)" , but I want the rest to show. How can I achieve that, should I ...
0
votes
2answers
34 views

Form submit from wordpress plugin

Seasoned dev, but new to wordpress development - becoming a fan very quickly. I'm knocking up my first wordpress plugin (custom contact form for client, none of the plugins can do the jazz I need). ...
0
votes
0answers
8 views

How to edit page with plugin [duplicate]

I am new in WordPress so if i could not explain , i am sorry but please try to answer me .. It is very urgent . I have a page having name "Story" in which i use plugin having story with some pics , ...
0
votes
1answer
26 views

What is a Network Activated Plugin Exactly?

I am a bit confused on the concept of an Active Plugin and a Network Activated Plugin I am running WP 4.0 in a multisite setting. At this time I have 6 different domains in my "network". In reading ...
0
votes
1answer
35 views

wp_create_nonce function doesn't work inside a plugin?

I am writing a WordPress plugin which is creating a form in one of its functions. It looks like this (very simplyfied): class MyPlugin { public function createForm() { $nonce = ...
0
votes
2answers
30 views

What is necessary to secure a WP plugin against direct file access attempts?

When developing a WordPress plugin, what are the best practices for securing the plugin against attempts to directly access the file? I've seen WordPress plugins use a range of options, from .htaccess ...
1
vote
1answer
137 views

Get subcategories with JSON API plugin

How to get subcategories with JSON API wordpress plugin? I see how to get categories, but what is the way to get categories with subcategories at the same time? How should I modify the existing code? ...
0
votes
1answer
16 views

Rewrite URL to plugin file

I'm creating a plugin that handles courses from a 3rd party system, I've created a add_rewrite_rule() so the url /course/32567 rewrites to /wp-content/plugins/course-plugin/course-page.php?code=32567 ...
0
votes
0answers
20 views

Modification to admin bar Site Name does not change from one network site to other

The wordpress admin bar has a 'Site Name' section, that when clicked takes you to the dashboard if you're on the front end, or vice versa. The sitename code for the admin bar can be found in ...
0
votes
0answers
24 views

Group multiple widgets in one

Is that possible to group some widget into one. I am creating some similar widgets and I want to group them altogether. Like I want to name it "Widget Group" and when I activate "Widget Group" plugin, ...
0
votes
1answer
64 views

Run function on plugin activation before plugin is loaded

I have two versions of the same plugin - one is a free version on WordPress.org and the other is a paid upgrade. Both versions use the same function names and so can't be activated at the same time. ...
0
votes
0answers
47 views

How to add codes to wordpress editor using jquery

I am learning how to write plugins. I am new to it. I have a shortcode generator that is used to insert shortcodes. It inserts codes (HTML/CSS/JQERY/PHP) inside shortcode and plugin highlights in ...
0
votes
1answer
80 views

plugin ajax to external php file always return null

I am struggling with this error for a while now. The plugin inserts data to the table. Here's the code : File : plugin/_add.php require_once('../../../wp-load.php'); global $wpdb; $table_name = ...
0
votes
1answer
54 views

How to include my Ajax calls in one function instead of calling different ones every time?

I'm doing something like this to refresh a widget: add_action( 'admin_footer', 'my_action_javascript' ); // Write our JS below here function my_action_javascript() { ?> <script ...
1
vote
0answers
19 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
1answer
102 views

Create mobile navigation header with settings integration

I'm a seasoned programmer but a completely inexperienced WordPress developer. I'm trying to figure out how to create a header that only shows for mobile devices, and how to modify properties of that ...
0
votes
0answers
52 views

Enable Full SSL for Wordpress

I've enabled SSL for my main domain but i want to enable it fully for my wordpress website which is located in a subfolder. when i say fully i mean in admin area and the website itself and without any ...
1
vote
0answers
26 views

Random Tweet Display [closed]

I'm trying to use the Random Tweet Widget to display Tweets in my sidebar at eigenmotion.ca. I'd be happy to do this via directly writing the code, but I'm in a hopeless position as for understanding ...
0
votes
1answer
16 views

Have plugin require two other plugins

I am currently building a plugin that is requiring two other plugins in order to work -- Paid Memberships Pro and Advanced Custom Fields. It works fine with requiring Advanced Custom Fields but ...
0
votes
0answers
22 views

Wordpress Overrides folder permissions in Cpanel

my wordpress based website doesn't use the default language so i changed it in wp-config.php file, i did that because i only needed the wordpress to use my language files other than en-us, for plugins ...
0
votes
2answers
95 views

Add content to footer - above wp_footer

I know there are several questions about the footer, but I did not find answer to this. If this has been asked before, my apologies. I am developing a widget plugin and I wanted to give users the ...
1
vote
1answer
53 views

How to disable CSS rule in Twentythirteen style.css?

I have the following situation: I have implemented a plugin ChessTempoViewer that displays a chess game in a Wordpress page. This plugin is working well in the themes 2010, 2012, 2014 but not in ...
0
votes
0answers
26 views

template redirect is not working from within a shortcode

I am new to WordPress. I want to show a custom template of a plugin using a shortcode. This template has my own login form with my own header and footer. I am using the following code: add_filter( ...
0
votes
0answers
33 views

How to auto update specific plugins in wordpress?

Hows it going. In a project of mine I am developing a plugin and on top of that I want Wordpress to auto update it from a remote source. I am using classes provided from here: ...
0
votes
2answers
101 views

Object method calling for global $wpdb in header.php

I am developing a Wordpress plugin in an object oriented way, and I would like to read data from the wordpress database using the global $wpdb variable. The global $wpdb variable is called from ...