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

Error extending widget class defined in another plugin

I am trying to extend a widget class from another (widget) class in a 3rd party plugin - so hierarchy like this: 3rd_Party_Widget extends WP_Widget (in 3rd party plugin) My_Widget extends ...
0
votes
0answers
23 views

Wordpress Custom JQuery Trigger no working on plugin

Experienced web developer here but have never worked with Wordpress. I am having a problem with custom JQuery code. I am trying to trigger an event when a change of selection occurs on a select form ...
1
vote
1answer
91 views

Why is my shortcode not working

Im making a custom shortcode for my wordpress site and im just running through the example from the shortcode api for wordpress: function myshortcode() { $atts = shortcode_atts( array( ...
0
votes
0answers
10 views

Sending data to table

I am creating a plugin which asks users to enter their department, position and resume. I need to upload this data to a WordPress table. I am reading Codex but unable to understand how to send data to ...
0
votes
0answers
31 views

WP custom plugin: Handling form actions

I'm attempting to create a form which calls a php file on post action, when the action is called I get a page not found however. The form is shown below: <form action="uploader.php" method="post" ...
0
votes
1answer
14 views

Issues with a WP plugin menu system

I'm attempting to create a simple menu layout for a plugin. This is my first attempt at creating a plugin so apologies for what probably an obvious mistake here. This is the code I have to create the ...
0
votes
0answers
33 views

Export User Info into CSV - Additional Column (post_title)

I'm using the 'Export Users to CSV' a plugin for wordpress. By default, The plugin only extracts wp_users and wp_usermeta I have been wanting to add post_title column from wp_posts. I was able to ...
0
votes
1answer
51 views

Grandchildtheme (plugin) add header.php (not exist in child theme)

I'm writing a plugin and I need to replace some files of the used theme. For example I'd like to add the header.php file because this file is in grandparent theme and not in child theme. I replaced ...
0
votes
0answers
44 views

Problem with creating order in schedule event (woocommerce, wordpress)

I have created a schedule event in wordpress. The coce inside it is below (wordpress + woocommerce), $order = wc_create_order( $args = array() ); update_post_meta( $order->id, '_customer_user', ...
1
vote
2answers
70 views

action hook wp_head higher priority as all other plugins/hooks

I work a bit with the wordpress API and I want to try to include a <meta>-tag into my head area of my website. This is my code (works everything fine!): class dmd_noindex_options_page{ ...
0
votes
0answers
27 views

Plugin dev: How to multiply instances of a plugin in the same metabox?

I have a picture uploader that fits inside a metabox in the administration. I would like to have four instances of this uploader in the same metabox in order for the administrator to manage 4 ...
0
votes
2answers
37 views

Limit role to one plugin [duplicate]

Is there a way to do this without using another plugin and without modifying WP core code: I want to give the custom plugin I am writing a settings page. So I will need to add plugin capabilities to ...
0
votes
1answer
46 views

Change reset password URL returned by wp_lostpassword_url() via plugin

With a plugin how would you change the URL returned by wp_lostpassword_url()? The function wp_lostpassword_url() returns the URL where users can reset their password. Function Reference/wp ...
0
votes
2answers
30 views

Can I use namespaces in my plugin?

I am building a plugin that I hope to eventually put on Envato CodeCanyon. Currently I am creating functions of the form mypluginname_action. This is quickly becoming silly as I have to do that a ...
1
vote
1answer
71 views

Adding dynamic section to WordPress

[Edit: I've added a more concrete example below] I need to convert a custom PHP site to WordPress. The site has 60,000+ media items along with a ton of metadata, all of which needs to carry over to ...
0
votes
1answer
24 views

What do “and” means infront of a variable? [closed]

When we use & in argument in function it means if we change the variable inside that function the variable will be not be changed outside. <?php function add_10(&$number) { $number ...
0
votes
0answers
9 views

Add Flatr button to Sharing option

I know adding a Flatr button to the sharing option is possible on wordpress.com and I wondered if there is a way to do so on a self hosted wordpress ? If not, do I have to create my own plugin or is ...
3
votes
1answer
51 views

How does WordPress treat rewrite rules “under the hood”?

I am messing around with WordPress, trying to get a good grasp of the thinking behind conventions used in WordPress. I came across a question, and my searches fell short of explaining what I was ...
0
votes
1answer
39 views

get_users() not returning all users in site

I'm fairly new to wordpress/php development, so forgive me if this is a stupid question. I'm trying to get a list of all the users with metadata in order to export them to a CSV file. We currently ...
0
votes
1answer
86 views

How can I hook into existing WordPress Bulk actions?

I am creating a plugin which syncs both standard WP data and custom fields within a custom meta box on post edit pages, to an external resource using SQL queries. However my functions are currently ...
0
votes
0answers
31 views

add_order_item from custom endpoint

Im useing WP>Woocommerce->Woocommerce subscriptions I have created a custom endpoint: /edit-subscription/. You can see exactly what i did in the last comment here: ...
0
votes
2answers
27 views

How to write to a separate PHP file in plugin settings

I need a way of taking a variable from a plugin's settings and write it to a small key file located in the plugin's directory. The entire contents of the key file is this: <?php $transaction_key ...
1
vote
3answers
120 views

How to Download and install plugin database remotely

I have the following problem. I got a plugin that is huge due to all the data needed. The data is all the countries and cities in the world and also a maxmind.mmdb database. 1 - Issue Currently I ...
0
votes
0answers
12 views

Posting from WP admin to another WP blog

I have 10 WP websites. One of them, or it can be any of them, but for simplicity , let's say that... one of them have a content (custom content type) that I want to post on 2 or 3 from others (the ...
0
votes
0answers
55 views

Call Function sanitize_callback for each times

I want to call function for my each register_setting option, i have more that 24 registered option and i think there is better way to call the sanitize one time than i create each function to handle ...
0
votes
1answer
36 views

How to fix Uninitialized string offset: error on a checkbox in WP Settings API

I am trying to create an options page with a checkbox field. The checkbox is working fine but when I uncheck it and save settings, an error string shows on Notice: Uninitialized string offset: 0 in ...
0
votes
0answers
14 views

Add menu section and items to the Appearance > Menus page

I am writing a plugin that creates some virtual pages according to How do you create a "virtual" page in WordPress. I want to be able to add these virtual pages as options in the Appearance ...
0
votes
0answers
18 views

Acf post object problem

I am creating a job portal website in wordpress i am using acf and custom ui for custom fields i created custom field with post object for custom post type when the job seeker add a application the ...
0
votes
0answers
11 views

Tie specific functions to options-update for limiting API requests

I'm coding an update for my Mollie payment gateway plugin for WordPress (for Easy Digital Downloads). The old plugin only performs one API call to the Payment Gateway, when processing a payment. The ...
0
votes
0answers
25 views

How can I write the following URL in wordpress

I am working on a project, and one of the biggest parameters was that we keep existing data and URL structures intact. the decision was made long before me to switch from an old, crappy codeignitor ...
0
votes
0answers
17 views

Add view in wordpress admin area by plugin

I have a list like this: when click on view then the url open like this: http://103.231.44.154/flightplan/wp-admin/admin.php?page=views&id=112 But the page show: You do not have sufficient ...
1
vote
1answer
91 views

Override mini-cart.php from plugin

(Its not the cache thing) Im creating a plugin that among other things modifies woocommerce template files. Before i placed woocommerce overrides in child theme. But i want to move it to the plugin to ...
0
votes
0answers
14 views

Add code to header from a plugin

Maybe I just don't know the correct language to search for, but I just can't find the answer anywhere. There are plugins out there that you can configure in the Wordpress backend, which add js or html ...
0
votes
1answer
21 views

Change localization only for plugin

I have a wp plugin with the required .pot and .mo localization files. Everything works fine, if I change the wordpress language, the plugin language changes too. But some users has requested if I ...
0
votes
1answer
31 views

Get audio metadata on file upload

I am trying to fetch all audio metadata when I upload a file. This all happens in a plugin, and I currently use the add_attachment action to trigger my custom function : // link add_action( ...
0
votes
0answers
19 views

Allow network sites but also allow single sites

Ok, I think I really need some help here. I am feeling like this is more complicated then it should be. Here is my aim. If plugin is used on single wordpress site than allow and use the class ...
0
votes
1answer
25 views

Short code not working in boostrap modal dont no why?

I am trying to put a pluign into a short code it works on the page but when i try to insert it into a modal popup it doesnt render correct at all. <div id="thanks" class="modal fade" tabindex="-1" ...
0
votes
0answers
28 views

Buddypress orderby groupmeta data

So I have been looking everywhere on how to do this. I am working within a custom plugin. I have figured out how to filter results from groups by groupmeta. Though what I seem to be stuck on is being ...
1
vote
1answer
32 views

Adding functions to hooks from within a class

Below is a trimmed down version of my plugin, to keep it simple. My setup function is being called, but when I go to the login page, it's not dying like it should. I had the plugin working earlier, ...
0
votes
1answer
21 views

How to get author developer link on plugin page

When I upload my plugin to Wordpress's repository it currently shows my full name as the author. It doesn't link to my profile though. I've tried changing the author name to my username, but it still ...
0
votes
0answers
64 views

how to load posts with ajax and auto update post link to url in wordpress

hai i am here with a problem in wordpress devlopment. Hope i will find here. The problem is i have to write code in wordpress so that if user click on any post link then the url goes to ...
0
votes
0answers
37 views

Custom Taxonomies in Custom Post Type - slug rewrite is not working

In a plugin, I have created a custom post type 'Movies' and two custom taxonomies 'Genres' and 'Studios'. For the post type, I need the permalink to be 'localhost/movies/movie-name'. So in rewrite ...
-2
votes
1answer
37 views

Wordpress s2 member plugin not working [closed]

I had use the s2 member plugin for registration.When i register it as new member it shows password where send by email but i cant get any mail upon registration please anyone help me
0
votes
1answer
40 views

How to set custom homepage via a plugin

I am developing a plugin movie database plugin and i want set few custom templates to wordpress theme using the plugin. how can I achieve this?
0
votes
0answers
91 views

Get and Display Content in wp_editor

I am building a simple plugin where I display a visual editor in the backend. My Code looks like this: $content = ''; $editor_id = 'ssp-editor'; $settings = array('textarea_name' => ...
0
votes
0answers
19 views

wp_schedule_event need to deactivate plugin changing recurrance

I currently developing a plug that has wp_schedule_event , the purpose of wp_schedule_event to my plugin is i want my plugin so send an email depends on recurrance of the wp_schedule_event. I also ...
0
votes
0answers
55 views

Integrating Fullpage.js Plugin with other WordPress plugins: Issues with other plugins displaying on FP template pages?

I'm adding this question from the general stack exchange page here: hope that's alright! I recently followed this post on integrating FullPage.js as a WordPress plugin. I'm having trouble getting ...
0
votes
0answers
25 views

Why isn't my plugin seeing other classes?

I've written some very simple code based off of this tutorial by Harish Chouhan on the Plugins API: /** Add Plugins API if not already existing */ if ( ! function_exists( 'plugins_api' ) ) ...
0
votes
2answers
40 views

Re-writing MySQl query for execute faster

Can any one re-write this SQL query to perform better? At present this query takes about 29 seconds to execute in BlueHost server while it takes 6 seconds in HostGator.com server. My intention is ...
0
votes
1answer
41 views

add_theme_support using a plugin

I want to create a theme specific plugin for the opern-sourced Bootstrap Genesis theme where I can use the add_theme_support function to add or remove several mini plugins or theme modules/features ...