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

How to Add Jquery FullCalendar in wp plugin in admin

wp_register_script('moment', plugin_dir_url( __FILE__ )."js/moment.min.js", false, null, true); wp_register_script('fullcalendar', plugin_dir_url( __FILE__ )."js/fullcalendar.min.js", false, ...
0
votes
0answers
9 views

Woocommerce tree menu not saving categories

I've converted the Woocommerce category structure to a tree in a different plugin, where on click, the next level of categories are shown. When the categories are at base (so no categories ...
0
votes
1answer
20 views

Add Button to TinyMCE Custom Menu

I've added a new button with a menu to the TinyMCE visual editor using this tremendously helpful tutorial but would now like to add further items to this menu depending on whether various post types ...
-2
votes
0answers
10 views

Is it possible to connect this Booking System PRO plugin to Google Calendar? [on hold]

How to connect a Booking System PRO wordpress plugin to Google Calendar ? Please provide any suggestion. Thanks.
1
vote
2answers
26 views

How to use output buffering in Wordpress hooked functions?

It doesn't seem that output buffering takes into account echo's from within hooked functions. function buffer_start() { ob_start(); } function buffer_end() { ob_end_flush(); } add_action('init', ...
1
vote
1answer
41 views

Current user in plugin returns NULL

I am currently developing a plugin and I am trying to make use of the $current_user global. class Something { public function __construct() { $this->get_user(); var_dump( $this->user ...
-1
votes
1answer
25 views

How can I insert a record into a custom table from my custom form in my custom admin page?

I'm struggling with this one and all of the relevant links to the codex, articles and forum posts (stack or otherwise) that I've searched haven't helped. I can best describe my problem as attempting ...
0
votes
1answer
19 views

How to rewrite URL and get the values?

I created a shortcode by add_shortcode. where the shortcode placed in a wordpress page to display dynamic content. The dynamic content is based on the URL value. Example If URL is ...
0
votes
1answer
13 views

Get Commentor IP When Marking Comment As Spam

What I am trying to do is create a list of IP addresses each time I click Spam on a comment. The only issue I have now is, how do I get the commentors IP address inside this function. This is what I ...
0
votes
1answer
34 views

How should I use wpdb class to submit a form in admin dashboard?

I want to create a plugin for the admin to write his everyday message in the dashboard & display it on his website. I have two files, dailymessage.php and messageform.php. In dailymessage.php I ...
0
votes
0answers
16 views

Saving plugin settings - ERROR: options page not found

I've created a form for my plugin settings and set the action attribute of the form to "options.php" but when I submit the form I get "ERROR: options page not found." add_action('admin_menu', ...
0
votes
1answer
15 views

how to create table during plugin installation in side a class

I am creating oop base plugin. So how to create table during plugin installation in side a class.But I could not create table. This is my approach.What wrong with me. class Notification { ...
0
votes
3answers
27 views

Featured Image not showing in admin

Currently im making new theme and had the idea of adding featured image in the admin side of wordpress, unfortunately its not working this is what i have tried I have added this code in functions.php ...
0
votes
0answers
14 views

Wordpress editor filters out my data from $_POST

I am currently working on a translation plugin in Wordpress. I added a navigation bar on top of the editor like this: add_action('edit_form_top', array($this, 'add_tabs')); In that function, I add ...
0
votes
0answers
18 views

Wordpress / Woocommerce custom registration fields

I am learning php and I am creating simple registration plugin for wordpress and woocommerce. Everything works like a charm for wordpress but not for woocommerce. As you can see for woocommerce ...
0
votes
1answer
15 views

Retrieving plugin options value saved through setting

Looking at this code below it work add options perfectly and saved them. However I will like to use those data at front page in my plugin short code. class MySettingsPage { /** * Holds ...
0
votes
0answers
14 views

Steps to Update a Wordpress Plugin That We Developed

We have our own Wordpress plugin for our site. Someone developed it for us some time ago. I am generally aware of how it works and am able to code PHP, JS, etc. and have made some mods on the plugin ...
-3
votes
1answer
27 views

How to modify WooCommerce plugin

I have install WooCommerce plugin in my project to take order from customer but i want to modify this plugin to perform below task 1.take order from customer and submit the order to the nearest store ...
0
votes
0answers
62 views

How to create plugin to get current train location using pnr no.? [closed]

Create plugin to access to status of train by using pnr no. Can you tell how to create this plugin??
0
votes
1answer
12 views

Slug is not shown for my custom post type

Registering a custom post type as following and the slug input is not shown. Any ideas why? res = register_post_type( 'twig_anything_tmplt', [ 'label' => 'Twig Templates', ...
0
votes
1answer
18 views

Register Page Template from Plugin

I'm trying to figure out how to properly register a page template (and all of the associated assets, like CSS and Images) from a plugin. Basically, I've created a landing page that I want to live ...
-1
votes
0answers
14 views

What is the best place to find/hire Wordpress Developers? [closed]

I'm hiring four Wordpress Developers (1 Sr, 2 jr's and a front end). I've posted on WPHired and Job.Wordpress.Net... Are there any other good places to post a job description like this? ...
0
votes
1answer
16 views

How to add conent (text) to Add New pages form of admin in WordPress

I am new to WordPress. I have created a Shortcode. Now I want to add description of Shortcode to Pages->Add New Page so the user can easily use the Shortcode which I have created. I want that text ...
0
votes
0answers
15 views

How to track purchases of users or members on wordpress cashback site ?

I am working on wordpress cash back site but couldn't get information about tracking all purchases..Its same as other cashback site who get commission from merchants and then share full or part with ...
0
votes
1answer
16 views

wpdb->get_var always returning 0

I am trying to run this statement: global $wpdb; $amt = $wpdb->get_var($wpdb->prepare("SELECT SUM(amount) as amt FROM wp_pay_table WHERE postid = %i", $pid)); ...but $amt always comes out as ...
0
votes
0answers
5 views

Strategies for a plugin to support CDN-enabled WordPress sites

I'm writing a plugin to manage favicons. Basically it: Store image files under wp-content/upload. Inject HTML in page headers with the URL of the images. I would like to support WordPress sites ...
0
votes
0answers
8 views

Displaying and adding categories on a plugin page, just like we do in a post editor

wp_category_checklist() is the solution to display categories with checklist and it is working fine for me now. But I would like to port all the things in the category meta box (not the metabox ...
4
votes
1answer
70 views

How to get term link that crosses different custom post types?

In my WordPress project, I have several different custom post types and they all share a common taxonomy. I am in the final stage of the project and now is time to link all custom post types using a ...
0
votes
1answer
22 views

update_option_{$option} not showing old value

I have the following bit of code (note, I put the mail() function in only to see what the values are): add_action('init','system_init_actions'); function system_init_actions() { ...
0
votes
1answer
22 views

How to add multiple custom URL variables?

I am building a Wordpress plugin that looks for different custom variables in the URL. The way I am able to achieve that right now is with this code: function add_custom_query_var( $vars){ ...
-1
votes
0answers
7 views

Price calculating plugin with each customer its own factor

So I'm asked to develop a price calculator plugin, let me describe it: Some options with each its own cost Each customer has its own factor stored in the database When a customer presses ...
0
votes
0answers
30 views

Add a box below admin toolbar via plugin

First of all thanks for your time and for your help. I'm looking to add a custom box below the admin toolbar on all pages via plugin(the blue one from the screenshot). In future i would like to add ...
1
vote
1answer
24 views

Should shorcodes in i18n plugins be translated and if so, how?

Internationalizing a plugin with half a dozen shortcodes like: function plugin_show_schedule( $atts, ) { extract( shortcode_atts( array( 'type' => __('week', 'mz-mindbody-api') ...
0
votes
0answers
9 views

Using a class to store i18n strings for global use in plugin

The following works, but I'm wondering if it's a sensible way to create i18n strings for use without my plugin: class Global_Strings { // property declaration // method declaration public ...
0
votes
1answer
26 views

WP_Filesystem usage within a block of code

What i am trying to do is to have this function working within my plugin block of code without having it as plugin on it own. My current and working solution outside wordpress is Save contents ...
0
votes
1answer
22 views

How to add quick edit and bulk edit fields to users admin section

Salutations, is there a way to add quick edit and bulk edit fields for the users section in wordpress. I have found a lot about post types and custom post types but i'm specifically looking to add ...
0
votes
0answers
11 views

Practical limit on number of roles

I'm building a wordpress site that uses buddy press and a BP extension called BP Activity Privacy (BPAP). What the BPAP plugin does, is allows the user to set privacy settings for posts to the ...
0
votes
0answers
22 views

Create a Payment Plugin for a Custom wordpress webiste

I had got made a custom wordpress website. The Developer had provided me with PAYU INDIA plaugin plugin, but I have account with PAYUMONEY which is diff from payuindia. Problem : If someone can ...
0
votes
1answer
42 views

Admin AJAX doesn't work in plugin admin page - Even though code is copied verbatim from Wordpress Codex

So I have been working on this for... 3 days now - and have resorted to just pasting in the code directly from the wordpress codex to get that to work then go from there. That code however doesn't ...
0
votes
1answer
19 views

Is it save to require plugin.php early to be able to use get_plugin_data() earlier?

I'd like to avoid hard coding my plugin's version at multiple places. To realize this the function get_plugin_data() comes in handy. But here the fun comes to an unpleasant stop. Checking for a plugin ...
0
votes
0answers
23 views

How to select a template for displaying custom post type

Hi i know how to implement post types list in any page or template in worpress using code . for example $args = array( 'post_type' => 'home_banner'); $loop = new WP_Query( $args ); while ( ...
0
votes
2answers
49 views

Rewriting URLs with a query string

I am running into a headache trying to get some url rewriting working on a wordpress website, running Centos 6 for operating system. This is what I am trying to achieve. Current URL = ...
0
votes
0answers
17 views

Getting started with plugin development

I just started learning about plugin development, read a lot of beginners material etc. But I have one question unsolved. Where do I write the php code itself? Any program that can highlight syntax, ...
0
votes
0answers
32 views

Getting $postid into a wordpress plugin

I am trying to modify a wordpress plugin which I am using for music requests, to create a new better plugin... https://wordpress.org/plugins/music-request-manager/ The plugin is activated by using a ...
2
votes
3answers
46 views

Change of query var in pre_get_posts not maintained

I'm creating a plugin that adds a custom feed. I am using a pre_get_posts filter to change the posts_per_page query var to -1 (to get all items of a custom post type). However, if I dump the $wp_query ...
0
votes
0answers
33 views

How to Mimic WP Custom Fields Ajax Methods

I have an admin metabox that allows the user to add multiple items. I am attempting to mimic the effect and styling that the default WP custom fields metabox gives users on posts/pages. I have the ...
1
vote
1answer
48 views

Why not to include reference to /wp-admin/admin.php in Plugin

Contact Form 7 recently pushed out an update which caused a few conflicts in other plugins. WPCF7 Author explains that it's because plugins are including calls to wp-admin/admin.php in their scripts ...
0
votes
0answers
36 views

How to add metaboxes in custom settings page of custom post type?

I would like to add meta boxes under a custom settings page, which is under a custom post type. I can create meta boxes for custom post types and I can create theme options, but can't find any way to ...
0
votes
1answer
19 views

Category select options for plugin settings

I am using Aqua page builder and I want to incorporate dropdown catagory select field for that. <?php $my_options = array ('one' => 'My Pony','two' => 'His Pony'); echo ...
0
votes
0answers
26 views

Restrict a query for custom field

I am using a plug in, which stores tickets as posts (Awesome Support Plugin) in the plugin classes, there is a function to restrict the tickets loading in the admin panel, basically to show tickets ...