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

adding custom code as a wordpress plugin

i have written a small piece of code so when a user forgets and resets the password it will be emailed to the user currently i have added that code directly to the wp-login.php page do_action( ...
0
votes
0answers
14 views

Adding list of Indexes in wordpress document

I have been exploring wordpress to use it for documentation puposes. I'm stuck at a point where I am unable to add a list of Indexes to the document. Can I add indexes to a wordpress document the way ...
-2
votes
0answers
8 views

Woocommerce get new order id on subscription renewal

I have Woocommerce subscriptions with the Stripe Gateway setup and working. Each time I manually test a scheduled renewal it saves a new order id for the renewal however I can't find a way to access ...
-1
votes
0answers
25 views

Is it possible Make my wordpress plugin have a trial period that only lasts 30 days?

Is it possible to make a wordpress plugin have a 30 day trial period and after that make it unusable?
0
votes
0answers
16 views

Display the fields created of advanced custom field plugin on user submitted post plugin

I need to display the fields created of advanced custom field plugin on user submitted post plugin for guest posts. I've tried this code : <?php $args = array('post_id' => 'new', 'field_groups' ...
1
vote
2answers
37 views

How to add a button to custom post type's posts-page

How can I add a button to a posts -page. (In this case a custom post type). I'd like to place it next to, or near, the "Add new" button, to import content from a web service.
0
votes
1answer
26 views

Licensing a Plugin

I am developing some paid for premium features for my plugin which is already available in the WP Repo. What are the best ways to validate licensing etc. for premium features? I want to continue to ...
0
votes
0answers
9 views

get publish / move to trash post URL

I'm having some issues finding the URL's for the publish/update and move to trash buttons. I have something like this : <a href="#" class="menuu-item"> <i class="fa ...
0
votes
1answer
55 views

What might be the reason of Couldn't fetch mysqli_result on another domain?

I'm developing a plugin and it works fine on my Wordpress website, but I've tested it on other domains with different Wordpress instances. When trying to activate the plugin on some other sites and ...
0
votes
0answers
7 views

modify the events calendar for wordpress

need help with ( the events calendar ) for WordPress, I'm trying to add day of the week under the number but its adding 5 days of the week under each number. see example here this is the code: ...
0
votes
0answers
13 views

Is there a way to tell if a shorcode's handler is being run before or after the content formatting filter?

Apparently (based on what I observe) WordPress runs every shortcode handler twice for every time that shortcode appears --- once, preliminarily, before the output is processed (and the output of the ...
0
votes
0answers
13 views

how to create page using add_menu_page?

how to create a new page in the administration menu, which will include (appearance -> header) and (Settings -> General) on one page?
1
vote
2answers
12 views

How to remove duplicate sub-menu name for top level menu items in a plugin?

I have written a custom plugin for wordpress. Once I add a sub-menu to the plugin I get a double entry for the top level item: I would like to disable the second "TopLevel" menu item so it would ...
-2
votes
0answers
22 views

Want to move WordPress custom post type in our plugin tab

I want to move my custom post type add, edit, trash etc to my custom tab menu. The give screen shot is me custom post type page I want to move. I have see this thing in one plugin which screen shot ...
0
votes
0answers
12 views

Why is there no Screenshots and a wrong version?

Hope you can help me! On my wordpress plugin https://wordpress.org/plugins/bettor is a wrong version number on the download button. It says 0.1 but the version is 0.2.0. Where can I change this? And ...
1
vote
1answer
18 views

WP Post Template - Templates in own folder

I am using the plugin: WP Post Template which allows me to use templates for custom post types. At present the plugin watches the theme root directory for pages with: <?php /** * WP Post ...
0
votes
0answers
5 views

Add tabs after Wordpress Media Manager 3.5 has already loaded

Does anybody know if it is possible to add tabs on the left-hand side of the media manager after the manager has already been loaded in Javascript. Is there a way to make an ajax call back to reload ...
0
votes
0answers
8 views

Add line in database on url

I'm asking because I don't want to reinvent the wheel. I need to have a URL, where a new row is added to the database, when people scan a QR code with their mobile phones. (ie. ...
0
votes
1answer
15 views

Theme Check errors of theme code

We are receiving these errors while we check out theme using ThemeCheck. We never seen this before and note sure what they mean or how to solve them. Can anyone so kind to tell us about these and some ...
1
vote
1answer
27 views

When can you get current page ID and initialize hooks right after?

I'm developing a plugin and need to know on what page user is and then add specific hooks and filters for that page. And my problem is that is_page() and the_ID() doesn't work outside of wp, ...
0
votes
0answers
23 views

PHP > Scheduled Tasks > Sending daily email with dynamic API variables

I'm trying to write a PHP cron job that would call an API, return a set of numerical variables, calculate a second set of variables, and send an email to selected recipients with those variables ...
0
votes
0answers
9 views

Sell Digital Files as Service [on hold]

My customer has a mobile app that sells keys, keys are file based ".dat" or any extension no problem. Each key is unqiue and can be used once per user and per mobile based on his IMEI. I'm trying to ...
0
votes
0answers
17 views

Reload or Refresh Wordpress 3.5 Media Manager

I was wondering if it is possible just to reload or refresh the new 3.5 Media Manager. I am currently running into a problem where I want to add new tabs dynamically but they are only added once I ...
1
vote
2answers
37 views

Making plugin unique to not conflict with plugins with the same name

I have plugin that has the same name as other plugin uploaded to wordpress.org How can i make it unique so it doesn't share "View Detais" link and auto-update with other plugin uploaded to ...
-1
votes
0answers
5 views

How to add Multile Documents,Multiple Authors in wordpress for Library admin Form? [on hold]

I ahve below requirement . Is there any plugin available in wordpress to achive this ? Multiple documents should be addable Add more authors Event (Optional)(dropdown populated with event names from ...
1
vote
2answers
39 views

Set object terms not working on plugin activation

I am trying to create a couple of custom posts and set a custom taxonomy term to it on plugin activation. I am using the register plugin activation hook to do it. The posts are created properly, but I ...
0
votes
0answers
19 views

How can I make my SSO plugin work better?

I wrote an SSO plugin to enable SAML2 authentication. This works really good but for some reason it doesn't seem to be saving the user's WP session right. For instance if I don't use the site for a ...
0
votes
1answer
25 views

Generating and downloading files with WP API

Lately I was challenged to implement functionality that would allow users, editing specific custom post, to download json file based on meta of that post. I finally managed to complete the task (well, ...
1
vote
0answers
13 views

Detect a focus on wp_editor

I wan't to detect/callback when a wp_editor(..) output text-area/content-editable is focus. Quite a simple question that I could not find anywhere. <div class="compose-body"> <?php ...
1
vote
1answer
15 views

Where can i find wordpress auto update code flows?

I want to see how WordPress auto update works in code . which WordPress file or function performs auto core update? I have read http://halfelf.org/2011/how-the-wordpress-upgrade-works/ I have ...
0
votes
1answer
12 views

Add a function call after content automatically?

I want to add a function call in the single post page after the content, one way is that I add it in the single page template, eg. <div id="content"> <?php the_content(); ?> ...
0
votes
1answer
23 views

Add Admin menus or submenus depending on conditions

I have two plugins in two different files that add a submenu (the plugin title) to the admin panel like this: Plugin 1: function myplugin1_setup_submenu(){ add_submenu_page("mybrand", "My ...
0
votes
0answers
10 views

Add user role to new user admin notification email

I'm working on a plugin to try and add the user role to the new user admin notification. Just need someone to review the code and see if my approach looks right. It's pretty much the stock code from ...
0
votes
0answers
27 views

Filter the_content() to add custom figure tags

I'm trying to implment responsive images on my site, and have all the required component parts working, and understand the concepts, but need some help putting them together; Knowing that WordPress ...
0
votes
0answers
14 views

Pick / Change Avatar [closed]

I want the user to be able to Pick an avatar from images I provide from my images. So he's ONLY able to pick from what I give him, and not able to upload it. something like: Choose Avatar. Folder ...
0
votes
1answer
19 views

How to list all images used on a specific page?

How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible, Url to image Name of image Url to thumbnail of the image [Edit] I would like ...
-1
votes
0answers
50 views
+100

Custom thumbnail for product in cart

I am developing a plugin and programmatically adding a product to the cart. In the same time, I want to have a custom thumbnail during the checkout, based on some of the client's input. So far, I've ...
-3
votes
0answers
28 views

I have a wordpress theme, which is generating error when I run Theme Check Plugin - [closed]

I am not a Programmer, but a Marketer. I have a wordpress theme, which is generating error when I run Theme Check Plugin - admin/options-framework.php The theme appears to use include or require. If ...
0
votes
0answers
10 views

Make woocommerce booking extension automatically bookable on products [closed]

My Question is to automatically make all the products set to bookable using Woocommerce Booking Extension by Woothemes. I just purchased this expensive plugin but i want to make ALL products bookable ...
0
votes
0answers
22 views

Get posts from other blog with common tags? [closed]

i want to get 5 posts from an other blog with common tags with current post and show it on my website.
0
votes
2answers
31 views

Create fixed static pages

I have inside a theme two important static pages. One is a confirmation page (after signing up for a newsletter) and the other one is a thank-you page. I am using these in various functions and ...
0
votes
0answers
9 views

Using WP Head to hook into a specific part of the header?

This is my first plugin. I'm trying to add a tagline underneath the logo. I'm using this code in the plugin: add_action('wp_head', 'tagline'); function tagline() { //Close PHP Tags ?> ...
0
votes
2answers
21 views

trying to create simple plugin to filter categories from all authors

i want to restrict all authors to spesific categories i already done it but via theme function.php, i trying to build as a plugin: this my plugin content: <?php /** * Plugin Name: My Restricted ...
0
votes
1answer
13 views

Plugin files not updated (cache cleared)

I'm manually uploading a plugin that I created, but no changes take effect and the file editor shows no changes unless I change the filenames within the plugin. I've already tried doing this while ...
0
votes
0answers
12 views

Creating menu not working with OOP Plugin

I am trying to create a test plugin to practice my OOP with WordPress, I am trying to simple add a menu item into the WordPress admin section. When I activate the plugin it should add the menu item ...
0
votes
0answers
21 views

Nothing wrong with SQL but still getting an error

I'm developing a plugin and I need to perform a SQL query with GET parameter. The code looks like this: if (!empty($_GET['editDoc'])) { global $wpdb; $id = $_GET['editDoc']; $table_name ...
1
vote
0answers
44 views

template_redirect or admin-ajax.php?

My plugin needs to be reachable by the public and accept query vars. When called, it will run some backend db tasks, call a 3rd party API and sometimes redirect. Previously, I was using ...
1
vote
1answer
23 views

Wordpress custom taxonomy check box to dropdown

Hi my custom taxonomy name is country.In this A is a country, a-sub1,a-sub2 are states under A. b-sub1,b-sub2 are state under Country B. Now i need to display the country list(parent) box and state ...
0
votes
0answers
24 views

$wpdb not working in file of WordPress plugin

I am working in WordPress plugin. I create a custom form where user add values and then click on submit button. When user click on submit button its redirect to custom process file, where i write ...
1
vote
1answer
9 views

Custom Taxonomy to dropdown box on adminside wordpress

Can I create a country- location hierarchy using custom taxonomy on admin side. When selecting a country from select box , an another box should see the list of location comes under that country. And ...