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
10 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 ...
0
votes
0answers
16 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 testesed it on other domains with different wordpress instances and when trying to activate the plugin on some other sites ...
0
votes
1answer
880 views

Using radio button meta data from a custom meta box

Very new to attempting PHP and am hacking together my first plugin using tutorials.. I have a custom meta box with a Yes/No radio button on all WordPress pages (in the editor). EDIT- I removed the ...
1
vote
2answers
37 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
1 view

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 http://imgur.com/9378mwf ...
0
votes
0answers
9 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
12 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
9 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
21 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
2answers
67 views

Plugin error on activation - breaks page encoding and prints the code of plugin php files

I have WordPress multisite install, everything was working properly. Developed a custom pugin on my local server (same configuration of Nginx, PHP, MySQL, Memcached, the only difference is OS - ...
0
votes
0answers
11 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
382 views

How Can I setup WP CLI on Windows development machine running AMPPS?

I want to setup WP CLI. On the home page it says that it needs a UNIX like operating system. I am running windows 7 for development but I could probably setup a virtual Ubuntu box or something. Would ...
2
votes
3answers
2k views

Check for featured image in WP_Query

Is there a way to filter posts by featured image when initialising a WP_Query object? Example $my_query = WP_Query(array("has_thumbnail"=>true)); or, more ideally $my_query = ...
1
vote
1answer
17 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
4 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 ...
-1
votes
0answers
11 views

Wordpress live cam plugin [on hold]

I am creating a online free education website. So i need a WordPress live cam plugin so i can deliver live online lecture on my website via webcam.
0
votes
0answers
7 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
25 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, ...
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 ...
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
0answers
16 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
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
0answers
15 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 ...
0
votes
1answer
32 views

Show Templates in Custom Post Type Editor

I know I can use templates for my custom post types like this: http://codex.wordpress.org/Post_Types#Template_Files But I would like to have a dropdown menu to choose a template, like that when you ...
-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
0answers
10 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
657 views

wp_schedule_event in a class

This is my (stripped down) plugin, in OOP: <?php /* Plugin Name: Cron Test Plugin URI: http://www.mywebsite.com/ Description: Test Version: 1.0 Requires at least: 3.0 */ class CronTest { public ...
5
votes
2answers
7k views

Send user activation email when programmatically creating user

I wondered if someone here might be able to help. Basically, I've created a custom registration form that when validated, inserts a user to the user table. function _new_user($data) { // ...
0
votes
1answer
22 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, ...
0
votes
1answer
21 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 ...
1
vote
1answer
14 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 ...
2
votes
2answers
2k views

Create a clickable name in WP_List_Table for Plugin Admin

I've been developing a plugin where I wanted to create a table, styled and working just like Wordpress's native Post/Page tables. Following the guide below, I was able to create the table and load 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 ...
2
votes
1answer
2k views

get_template_part from plugin

This is default get_template_part function inside WordPress: function get_template_part( $slug, $name = null ) { do_action( "get_template_part_{$slug}", $slug, $name ); $templates = array(); ...
4
votes
1answer
1k views

wordpress plugin error handling

I am looking for a way to handle errors for a custom post type with its own custom fields. This is all part of a plugin I'm writing, however, after extensive research the only way I found is through ...
0
votes
0answers
13 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
1answer
645 views

Multiple entries in get_option results? or why is _multiwidget set to 1?

I am developing a wordpress widget, and need to store some user configuration values, that is why I am using wordpress update_option and get_option. I am new to widget development. I have some ...
2
votes
2answers
404 views

Get image URL from media library in input

On wp-admin/post.php?post=447&action=edit for example I have a link and an input. The link appears as follows: <a href="#" class="button insert-media add_media" data-editor="tj_image_url" ...
4
votes
3answers
152 views

Standard location for plugin to save/cache files?

Are there official guidelines on where a plugin should cache files? If not, is there a best-practice out there that I can follow? For example, a plugin grabs content from a back-end system ...
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
18 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 ...
-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 ...
1
vote
2answers
3k views

How to put placeholder text in the main post input area?

I'm making a course plugin for a university in England. I'm looking to put some default placeholder text in the main post content area, on the admin side. Its the rich text editor I want it to go ...
0
votes
0answers
9 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
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 ...
48
votes
18answers
4k views

WPSE Plugin Repository: The plugins that came out of WP-Answers

Link your WPSE-Plugins If you answered a question and made a plugin out of your code, than this is your place to share it. The Idea: An old comment from @MikeSchinkel during the beta phase where he ...
0
votes
0answers
22 views

Get posts from other blog with common tags? [on hold]

i want to get 5 posts from an other blog with common tags with current post and show it on my website.
0
votes
0answers
8 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 ?> ...