WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins.

learn more… | top users | synonyms (1)

3
votes
2answers
38 views

WordPress Terminology Options Vs. Settings

What term should be used when defining a page in the admin menu that allows you to change a plugins options?
2
votes
0answers
23 views

Automatic updates in plugin - not hosted on wordpress repository

I'm coding a plugin which probably will have updates in the future, and I want to take advantage of the automatic update mechanism in wordpress. I followed this tutorial: Everything seemed quite ...
2
votes
0answers
17 views

Adding more options to the instance of an image. (Attachment Display Settings)

I'm trying to build a simple reusable plugin for image presentation in Wordpress 3.9, and it seems I've hit a brick wall. I would like to be able to add a couple of options to the instance of the ...
-1
votes
0answers
8 views

additional information and reviews tabs not working in woocommerce [on hold]

i created a wordpress theme and recently i installed woocommerce 2.1.7 . when i activated it every thing works well but additional information and reviews tabs in single product page not working well ...
0
votes
0answers
16 views

Good tutorial to get started with advanced wordpress plugin development? [duplicate]

Ok I saw many of the tutorials that allow you to introduce a shortcode. Well that is not what I am looking for. I actually want to extend the backend with a way to allow a second title. At the moment ...
0
votes
0answers
8 views

The plugin assign to the wrong place (layout problem)

<?php /* Plugin Name: Push notification Plugin URI: http://wordpress.org/plugins/temp/ Description: No description Author: Temp Version: 1.0 Author URI: http://ma.tt/ */ // This just echoes the ...
0
votes
0answers
16 views

Developing a plugin, ran it through P3 Profiler, shows up slow, but I don't know why

I am having an issue with my plugin I'm developing. After using the GoDaddy P3 Plugin profiler, it shows that is taking up a large amount of runtime, but the plugin itself is very minimal. It just ...
1
vote
1answer
41 views

Making Quote Plugin more efficient

I've been working on this plugin the past couple of nights and have been jotting down idea's of how to improve it. My knowledge of php isn't the strongest and I'm learning as I go along most of the ...
3
votes
1answer
61 views

Is it worth checking if class_exists when developing a plugin and how to do it?

I'm learning WordPress plugin development using OOP approach. In most resources before declaring a class there is usually a check if class exists class_exists(). Is it a good approach to check this ...
0
votes
0answers
11 views

function triggered by “manage_users_custom_column” filter not working

I am trying to add a custom column un users.php but it stays empty. I have successfully added a column to the users admin page with this code in my theme's functions.php file: function ...
0
votes
1answer
33 views

Saving an array to get_options

I'm trying to save an array to get_options in wordpress, I'm aware that I don't have to serialize the array due to get_options doing that. At the moment I don't get any success of failed message upon ...
0
votes
1answer
16 views

Permission error on plugin save

When I pass a quote to the input field and save it I get this error message in wordpress - I'm using the latest installation version. Error "You do not have sufficient permissions to access this ...
0
votes
0answers
17 views

How to allow users to upload files to a subfolder of my plugin, or without running into permission issues?

My plugin has a form in admin dashboard, allowing users to upload files. Now, when I grab this file, via $_FILES, is there any way I can save it to: example.com/wp-content/plugins/myplugin/subfolder ...
0
votes
0answers
23 views

Can i duplicate pages created via plugin?

I have a custom built plugin which generate event pages, now my client wants the event to copy.. how can i copy the page generated via plugin. I have used plugins available but they only work with ...
-1
votes
0answers
34 views

Advanced custom field - custom field of post object extracted only the first time [closed]

2 posttypes books and stores where stores is postobject for books. in below all posts are displayed ...with correct storename bookcode & bookinfo for all posts but the storeurl is extracted ...
1
vote
1answer
18 views

Cache directory needed for plugin

I'm working on a new plugin, and i need to write a frew cache files somewhere. At first i wanted to create a cache folder inside my plugin with the following .gitignore file in it: # Ignore ...
1
vote
1answer
11 views

Correct check for any admin page with editor

I have read the codex, but found it a bit incomplete. I like to load stuff only on pages where the post editor is visible. This should include custom post types and everything. I am a bit insure ...
1
vote
1answer
14 views

Including the necessary functions for a custom ajax registration form

I know there are a few questions on registration forms but I think mine differs a bit as I haven't found an answer through searching. I'm making a simple subscribe widget that takes a user's email ...
1
vote
1answer
17 views

include php file if page_id matches

I think this is a simple question: I'm building a plugi, and up until now, if i wanted to include a php file, i would have to know the page_id - i would put the following command in page.php (or ...
0
votes
0answers
15 views

Saving plugin data returns “You do not have sufficient permissions to access this page.”

I'm developing a quote plugin which will save a quote to the WPDB using a form to input the quote. I've created half this code and got the other piece from another programmer on here. I'm looking to ...
0
votes
2answers
36 views

Change page according to fetched GET Parameters

I want to write plugin which has the ability to change the start page according to a get parameter: The following code is the full plugin. function GET_Different_Page_on_front_parameter() { if ...
1
vote
2answers
37 views

Way to hook into a sidebar call to replace it with a custom sidebar

I want to replace the sidebar-2 in the twentyforteen theme with a custom sidebar based on a conditional statement for CPT. So if the page is showing a certain custom post type then show my custom ...
0
votes
0answers
20 views

Dynamic banner for use on external sites

Pro question: we would like to display our most current wordpress articles on external sites (something like advertisments or banners). I think this could be easily done with iFrames, but I doubt ...
1
vote
0answers
12 views

How to remove default style of header in wordpress metabox

I have the problem which when I create a header in my wordpress plugin metabox, it always apply the default style on my header: even when I apply, my own style, <h3 style="background-color: ...
0
votes
1answer
34 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
0
votes
1answer
29 views

How to get post bulk edit action trigger and get edited post ids?

I want to send email if a postmeta of a post is changed to the expected value.So previously i was doing loop to check the post meta in each post. In here am running the loop in admin_init hook. But ...
-1
votes
0answers
24 views

Custom Menu's don't register when in widgets

I'm hoping someone can point me in the right direction. The site I'm working on has multiple custom menus created that I'm trying to add onclick functionality to. I went ahead and installed the ...
1
vote
1answer
58 views

Saving Plugin settings to the database

I'm not a complete novice with php or wordpress but am wanting to approach this problem the most efficient way so believe asking here will help. I've got a plugin that randomly generates a quote - ...
1
vote
1answer
199 views

Hello dolly type plugin that allows people to add their own

I am making a plugin that shows a random joke on a custom 404 page via shortcode and it is basically near enough the same as the default hello dolly plugin, where the jokes are hardcoded into the ...
0
votes
1answer
42 views

Is there an admin hook that will let me read GET variable before it's too late to set the header Location

I need to redirect the page based on the query vars in my plugin admin menu. I don't know where I can hook in to read the query vars or the GET vars order to decide if the page needs to be redirected. ...
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
23 views

Custom code for WordPress dynamic menu

Without using plugins, how can I create a custom WordPress navigation menu to produce the following code? <div class="bottom_section_full"> <div class="bottom_section_left ...
-1
votes
0answers
20 views

How can I manipulate the HTML of the_content in a specific way?

I know the basics of how to add a filter to modify the_content, but I want to modify the HTML in detail. Specifically, I want to find any <blockquote> elements and add some HTML within them. ...
0
votes
1answer
36 views

If $var is empty, return 404.

For security reasons, to detect if somebody is manipulating GET parameters of the plugin I'm writing, I need to return a 404 if the security query I perform returns nothing. How can I force that? I ...
0
votes
0answers
9 views

Plugin's custom page

I'm making a plug-in changing default login page to custom login page. Assume that such page is laid to file custom-login.php in folder of plug-in. And two problems appear now: - how to access ...
1
vote
0answers
19 views

How to instantiate customize_save_after callback function?

I have to do some custom operations after settings are saved in the customizer. It looks like the callback function isn't invoked. What am I doing wrong? Something to do with the Ajax status of the ...
2
votes
1answer
107 views

“Error: Options Page Not Found” on Settings Page Submission for an OOP Plugin

I am developing a plugin using Tom McFarlin's Boilerplate repository as a template, which utilizes OOP practices. I've been trying to figure out exactly why I'm unable to correctly submit my settings. ...
0
votes
2answers
34 views

I18n not working in plugin

I'm sure I'm making a dumb mistake, but I don't for the life of me know what it might be. I recently converted one of my larger plugins to utilize I18n (my first time doing so for any of my plugins). ...
-2
votes
0answers
17 views

Developing a Plugin that modifies the admin bar

I'm working on a plugin that I would like to add a link to the admin bar as you visit each page of a website. So while you are looking at a page on your website, the plugin will add a link beside the ...
0
votes
1answer
39 views

What's an efficient way to change the post status of many posts at once?

I'm looking for an efficient way to change the post status on many posts at once. I have a custom post type that I'm using as a means to store content that must be approved by a moderator before being ...
0
votes
0answers
28 views

Responsive Development in WordPress Backend

I've gotten so used to using Twitter Bootstrap. However, I can't seem to use it on the backend. I'm assuming it's conflicting with something in the core. So is there a way to get Twitter Bootstrap to ...
0
votes
0answers
49 views

Plugin options with googlemap iframe

I have put google map in text option of plugin.The text input value is <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" ...
1
vote
1answer
23 views

Modify hard-coded conditionals for roles to custom roles

Hopefully this makes sense. I'm still learning. There is a function in a plugin I'm developing that I want to modify to recognize custom roles. My function works when it is hard-coded to accept ...
1
vote
0answers
63 views

Plugin generated virtual pages

I am currently devloping my first WP plugin. This plugin should generate dynamic pages on the fly if a fixed non-existing URL is requested. This means I want my installation to accept addresses like ...
0
votes
0answers
24 views

How can I add an Export option to a WP_List_Table

I have an admin page that extends the WP_List_Table class to generate a table of results from a custom database table. I am trying to add a button that will enable the admin user to export the results ...
0
votes
1answer
55 views

Wordpress plugin development OOP style

I am building my first oop based plugin.This main problem is that it is not showing settings field(font error input).So far my approach.. $plugin_settings = new WordPress_Plugin_Template_Settings( ...
0
votes
1answer
69 views

Wordpress plugin: admin-ajax.php not passing data to custom function

n this basic plugin skeleton, I am trying to get the data sent by ajax to wordpress admin-ajax.php to be processed by a custom function. It looks like the data send from the form does not reach my ...
1
vote
1answer
43 views

How to create custom tables in WordPress using my own plugin?

I am new in WordPress plugin development. This is my core PHP and HTML code create-table.html <form method="post" action="function.php"> <input type="text" name="table_name"> ...
1
vote
1answer
67 views

Add an image gallery to a custom post type?

I am pulling data from an external web service into a custom post type. This data includes images. How can I create an image gallery, add some existing attachments to it, and associate it with a post? ...
1
vote
2answers
39 views

How should I store a log for my plugin

I have a plugin that sends data to a server as part of a transition_post_status action. The server sends a response each time. I want to keep a log of these responses (permanently) that I can display ...