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)

0
votes
0answers
62 views

Replacing Gallery Shortcode with Foundation's Clearing

Using wordpress 4.1 and Foundation 5, and attempting to replace the stock gallery shortcode with foundation's clearing. In debugging mode, I get a notice of: Strict Standards: ...
0
votes
0answers
106 views

update_user_meta not working

I'm trying to add additional profile pages and then allow users to submit custom profile data through the pages. I want this data to be unique to each user and only viewable by that user. The code is ...
0
votes
0answers
85 views

Override A Plugin Variable And Function Via Functions.php

Is it possible to override a variable in a plugin function without altering the plugin? The closest thread I found to answer this problem is this one : Pass A Value From Outside To A Plugin Variable ...
0
votes
1answer
22 views

User subscription emails not firing from custom plugin

I have a custom plugin that should fire off emails based on a saved search function. The function seems to work when I enter one specific email but not when looping through profiles. Here is the ...
0
votes
1answer
18 views

Plugin Development - Multilangual - Different pages

I'm currently developing a User Registration plugin, since I couldn't find any free that are properly translated I decided to create my own. The Plugin is mainly completed... My PO and MO files are ...
0
votes
0answers
139 views

How to show portfolio items from modal popup on portfolio plugin

When I have used this modal controller in while loop, the modal pop-up is working with framework metabox. The problem is when I reload my portfolio page, where all portfolio images are showing, the ...
0
votes
0answers
51 views

Creating an archive page listing external data

I am working on a plugin that displays external data, within WordPress. I am attempting to create two pages. A listing/archive page, and a detail page. Example: /cars/ List all cars /cars/abc/ ...
0
votes
1answer
46 views

How to use get_pages( ) correctly with 'child_of' to replace page with child page

I'm struggling to get the results I want here. After a couple hours of googling, I've decided to ask you all for help. I'm trying to look at children of the current (queried) page, and if the page ...
0
votes
0answers
38 views

AutoPopulate Excerpt with content minus shortcode

I am writing a plugin to auto-populate excerpt field on Woothemes Sensei Lesson CPT with text inside shortcodes placed on the content area. Well, it is working fine for lessons CPT, but...on posts ...
0
votes
1answer
46 views

Automating the process of shortcode generation in a plugin - how is it done?

Automatic short code generation is a technique that I see many plugin authors use but unfortunately, I have yet to come across a tutorial that details this subject so I am hoping that someone in this ...
0
votes
3answers
176 views

Displaying External Data - Not Posts

I am creating a plugin that needs to display external data, not wordpress posts. What I have done: registered rewrites so wp recognizes my archive/single URLs, hooked into template_include to direct ...
1
vote
1answer
61 views

How do I include drag-and-drop in a plugin?

I want to build a WordPress plugin that will allow users to add and delete fields from a custom post type. I want them to be able to do this with drag-and-drop, just like they add widgets to a ...
-1
votes
2answers
47 views

How to Prove Ownership of plugin [closed]

So I'm considering writing wordpress plugins to sell. Apparently distributing these type of plugins requires you to hand over the source code to the client. What would happen if one of the clients ...
-3
votes
1answer
26 views

Is wordpress plugin development active? [closed]

I've started working with wordpress and reading about plugins. Most of my searches and found plugins are from around 2008. Is there still active development or have developers moved on to a different ...
0
votes
2answers
157 views

Save Checkbox value in Plugin

I cannot seem to save the value of a checkbox in a plugin I am creating. When I uncheck it and click Save Settings, it reverts to being checked again. I'm not sure where I have gone wrong. Any help ...
0
votes
0answers
17 views

Creating a new elegant builder module?

Hi I am using elegant builder on my site and would love the ability create a new module, I basically want a text module with some custom styles applied before and after. I have contacted elegant ...
0
votes
1answer
103 views

Organizing The Custom Post Type with Taxonomies / Parent Posts

I am trying to make a custom post type called 'Songs'. It will have only two fields being 'Title' & 'Audio File'. I would also be creating a tag taxonomy field called 'Genres' so that admin can ...
7
votes
1answer
119 views

Vagrant script to setup all the common PHP / WordPress version combinations

I am looking for a way to quickly and repeatedly set up testing / debugging environment for our plugin, most probably using Vagrant. Projects like VVV focus on a single-environment setup (or, a couple ...
0
votes
1answer
15 views

List Available Templates for Current Theme in a Plugin

I am new to Wordpress as of last week and am having trouble understanding some things. I have created a plugin that allows for the dynamic creation of multiple pages. There is one thing that I ...
0
votes
1answer
62 views

Best way for plugin to accept POSTs?

The problem: I'm developing a plugin which needs to accept POST data (webhooks from an external source). I do not have control over the format of the data POSTed. My only option for passing my own ...
0
votes
1answer
27 views

Detect each active instance of a widget

Is it possible to detect each active instance of a particular widget? As part of a plugin I'm working on, I want to run a for each loop on each widget instance Each widget is a Twitter feed and the ...
0
votes
1answer
72 views

Plugin Development Form Self Submission

I am a new to Wordpress and I am trying to develop a plugin. All the plugin needs to do is provide an html form for a back end user to fill out then submit. Once the user hits submit on the form, I ...
0
votes
0answers
24 views

wp_mail_from: different from address each time

I have a form. Where user gives their name and email address. The I use the custom plugin to send the mail. The requirement is I need to send the mail on behalf of the user who signed. Now in wp_mail ...
1
vote
1answer
16 views

Is there a way to list all actions registered by a plugin or theme?

I'd like to override a function registered using do_action() by a third party theme or plugin. remove_action() looks to be the way to do this but its not working in my particular case. Is there a way ...
0
votes
1answer
41 views

Act on user meta updated, but only once

My plugin is calling a third party over http whenever a users meta data is updated. To do this I am using the updated_user_meta hook. It seems however that that hook is called multiple times, once ...
0
votes
0answers
26 views

error on adding menu walker

I am trying to add a menu walker. I have added the following code in a plugin: class description_walker extends Walker_Nav_Menu { function description_walker() { } function ...
0
votes
1answer
64 views

Wordpress plugin: efficient way to store large data

I have excel file with 1000+ records. Basically it has zipcode and corresponding email addresses. I need to create a custom wordpress plugin which queries this data and sends the mail. It would be ...
0
votes
0answers
20 views

WordPress Direct Access Function

i am writing WordPress plugin with that plugin SMS controller file is placed for twilio unfortunately i can't use WordPress functions with direct access and Twilio can't use that file it is in ...
0
votes
3answers
201 views

No Error Log File, no debug info

My error when writing a plugin for uploads and yes, I can debug. But it just jumps directly from this line to destruct the end of my wp-config.php EDIT: // Enable WP_DEBUG mode define('WP_DEBUG', ...
0
votes
1answer
17 views

Is there a general way to get a themes primary colour?

I'm writing a plugin and I'd like it to play nicely with wordpress themes by adopting the themes colour schemes. To be specific, not just use a HTML element that was incidentally styled by a themes ...
0
votes
0answers
49 views

Created a function similar to facebook events with [ Attending / Not attending ] options

I modified and extended an event plugin on wordpress that is being hosted on GITHUB then finally came up with this idea in a separate PHP file and added options such as the ATTENDING and NOT ATTENDING ...
0
votes
0answers
99 views

Wordpress consume and display Rest API with custom url struct

Hi I am writing a plugin for wordpress which needs to display results from an external REST API. I need a brief overview on the best stategy to approach it. I can write all the code etc I just need ...
1
vote
1answer
182 views

How to get Login Error messages on a custom template

I want to display login form and process the login on the same page, so that if there is any login error it should display the error messages on the same page. I have added this function: ...
8
votes
3answers
175 views

Plugin upgrading: Widget settings

I have tried doing some research on this but haven't found anything solid yet. I have a plugin I am working on and between the last version and the new version we made some updates to the widget that ...
0
votes
1answer
295 views

Redirect default login page to a custom page [duplicate]

I want to redirect the default WordPress login page to a custom login page. I am adding this code in a plugin: if (!is_user_logged_in()) { wp_redirect( wp_login_url( $redirect ) ); exit(); } ...
0
votes
1answer
301 views

How to get current page name in my wordpress plugin

I am creating a custom wordpress plugin. Where for some pages like http://example.com/clinic http://example.com/pharmacy i will append my template code from my plugin folder. Which mean i will ...
0
votes
2answers
31 views

Simple plugin don't display content

Trying to learn WP plugin development. Followed all the instructions. plugins/e4-test-1 directory. Main php file (e4-test-1.php): <?php /** * Plugin Name: Test 1 * Plugin URI: ...
1
vote
0answers
35 views

Adding custom input field in menu backend [duplicate]

How can I add the custom content in the menu items in the back-end. For example I want to add another input field and save it. I could not find any information in the Codex.
0
votes
3answers
34 views

Can a plugin be used to contain all custom functions to extend other plugins

I am very new to Plugin development and I have used my themes functions.php file to modify functionality as needed to date. As a result of conversation with a customer I was asked if it is possible ...
0
votes
0answers
274 views

$_POST form request with admin-post

I tried to use a form with the following markup using the action admin-post.php <form method='post' action='admin-post.php'> I'm using the action hook suggested by Wordpress to proceed the ...
0
votes
1answer
54 views

Create Array from data in the OPTIONS table

Good Day everyone, I'm trying to create an array from data in the Options table of wordpress. My data all start the same way plugin_order_ and then name of the field information. Is there a way to ...
0
votes
1answer
200 views

Function/Class to list categories with checkboxes

I want a list like in the pictue; witch is here - Posts->New->Select Categories At the moment i have this echo '<select name="pn-cats[]" size="8" style="width: 100%" multiple>'; $args = ...
0
votes
0answers
22 views

Potential problems with building a plugin having sub modules?

I'm in the process of organizing a lot of different functionality that I had historically written as parts of themes so that I can break the various utilities into plugins. At this point, I have my ...
0
votes
1answer
42 views

How wordpress plugin hooks works? [duplicate]

I am new to wordpress development. I am familiar with joomla's ins-and-out working mechanish, now i want to contribute or say learn wordpress. I found that every thing in wordpress is done through ...
0
votes
1answer
196 views

Fatal error: Call to a member function get_page_permastruct() on a non-object

I get this error Fatal error: Call to a member function get_page_permastruct() on a non-object in C:\xampp\htdocs\wordpress\wp-includes\link-template.php on line 358 when i call this function ...
0
votes
2answers
77 views

Displaying data from another database

I'm working on custom plugin that will pull property information from our non-wordpress database. That is working just fine. Where I'm having problems is getting the whole front end piece to work. ...
0
votes
1answer
25 views

Plugin loaded, but not running

We are using a plugin (https://github.com/ADeMen/GOOVAIN/) that is supposed to provide a 'get shortlink' button along with some database updates. It should look like this. This worked perfectly ...
0
votes
1answer
97 views

Render custom taxonomy query as single template

Im developing a "catalogue" plugin using a custom post type and a custom taxonomy. What I want now is to display the custom taxonomy as a single page. That means I if the taxonomy term "Popular Items" ...
0
votes
1answer
34 views

Plugin settings not saving and 404 is generated on submit

I am creating a WordPress using https://github.com/nadeem-khan/WordPress-Plugin-Template as a starter template. This is my settings class file named 'class-xyz.php': <?php if ...
0
votes
1answer
95 views

Checkbox Undefined index error in Plugin

I am getting some errors when trying to create a checkbox within a simple plugin I am creating. I have a simple settings page at the moment. The errors are: Illegal string offset 'single_images' ...