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

Can I use bcompiler for developing WP plugins?

Can I develop WordPress plugins complied by bcompiler bytecode compiler? I want to make my WP plugins in binary code for protecting my code.
0
votes
1answer
388 views

using wp_footer hook in a plugin

I'm using the wp_footer hook into the plugin and it doesn't work, but when I copy the code to the "functions.php" file of the active theme it does work, what is the possible problem in this situation ...
0
votes
1answer
23 views

What's the impact on WordPress' performance regarding the amount of classes/files in a plugin?

I'm refactoring a WordPress plugin and I have two main classes with an average of 500 lines between the two. There are other files in the plugin, but these are the ones where I keep most of the ...
0
votes
1answer
234 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 ...
0
votes
0answers
16 views

What is the best way to store HTML fragment in WordPress?

Let say I want to store an HTML fragment in WordPress and allow user to update/modify, e.g. site wise notice, what is the best way to store it and present them in a theme? e.g. write a plugin to ...
1
vote
1answer
147 views

Wordpress and WebRTC?

I'm pretty new to WordPress and I was wondering about WebRTC integration : user permissions, page integration... I'm especially interested in chat communications (writing and audio, video is not my ...
0
votes
1answer
16 views

Items By Group added to custom post type

Ok, not real sure how to explain this. But i have an existing custom post type with some custom fields that is working fine for detailed information about an event. what i am trying to do now is to ...
2
votes
1answer
22 views

Is there a way for a plugin to add an attribute to the <html> tag of a theme?

I'm currently working on an appcache plugin for WordPress. One thing that it should do is add a manifest reference in the <html> tag of the site. It has to resemble something like this: ...
-1
votes
0answers
12 views

Xml transform plugin [on hold]

I need a plugin that converts the node names as I want and maybe and moving and adding attributes to the xml. Does anyone know a plugin that will help me?Tell me if there isn't so I can start it to ...
2
votes
3answers
619 views

Getting Details Of Uploaded Image

I'm using Wordpress' upload system (as explained here) on my plugin's admin page. I can upload an image and get this image's URL. But i need attachment ID, image caption etc. How can i reach them? I ...
0
votes
0answers
7 views

Custom post type plugin archive page doesn't work?

Hi i am creating a custom post type plugin. In that i have added a custom archive template and single page template. The single page template works fine whereas archive template is not working. ...
0
votes
0answers
27 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...
3
votes
3answers
400 views

Is it a good idea to edit an already existing plugin to add more functionality?

I need to add a relatively small bit of functionality to a Wordpress plugin and I have the option to either edit the plugin directly, or scrap the plugin completely and repurpose PHP code from another ...
0
votes
1answer
300 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 ...
1
vote
0answers
24 views

How to set a custom path, for ajax image upload folder in admin?

I am coding my first Wordpress plugin that handles some data for a custom (shop-like) post type. It also has an image uploader within a metabox, where you simply drag in your images and it ...
0
votes
0answers
20 views

How to add jquery to my custom post type wp plugin

I want to include a jquery to my wordpress custom post type plugin which i have created. i have two doubt,,, the jquery script will work only on widget options (i.e) Sidebar. So when i use the ...
0
votes
1answer
16 views

Include add_post_meta in a plugin

I am trying to call add_post_meta() from a plugin I have created. The plugin acts as a payment gateway for WooCommerce. This all works fine however I need to fire off the add_post_meta() at the end ...
1
vote
1answer
433 views

save_post hook not triggered in WP v3.6.1

I developed a plugin having a custom metabox that is using the save_post hook to store data. The plugin is 18 months old and is used by thousands of customers, so I'm pretty sure everything is good. ...
1
vote
1answer
102 views

what is the best practice for including 'wp-includes' classes

I have a class 'wp_php_flickr' which will use the wordpress core class 'WP_HTTP' in a plugin which i'm writing if( !class_exists( 'WP_Http' ) ) { require_once( ...
1
vote
2answers
291 views

multiple files in wordpress plugin

i'm trying to write a plugin with multi files, i'm sure i did it before without a problem but now i have the problem in the subject. in the main plugin file i included a file name - ydp-includes.php, ...
0
votes
2answers
289 views

AJAX request not routing through proxy

I've built a plugin that uses AJAX to post a URL to the URL2PNG API and bring back a screenshot into WordPress via wp_remote_get. It works beautifully in my development environment. In production, ...
0
votes
1answer
23 views

Generate activation url

For my registration I am using custom registration form.It works fine.It sends email with username and password. What I am looking I want to generate url so that when user click it automatically ...
0
votes
1answer
37 views

What exactly do this function declared into functions.php file of a WP theme?

someone can help me to understand what exactly do this function declared into the functions.php file of a theme? function exclude_featured_tag( $query ) { if ( $query->is_home() && ...
6
votes
1answer
2k views

How to add sub-menu to a menu generated by wp_nav_menu by using plugin

I have a menu generated by wp_nav_menu which look like <ul class="nav-menu" id="menu-top-nav"> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-43" ...
3
votes
1answer
56 views

What is the correct way for plugins to create tables with special charset/collation considerations?

I'm using WordPress >=3.8. The default charset/collation values in wp-config.php are define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); // Becomes utf8_general_ci I am in a situation where ...
0
votes
2answers
2k views

Add section (add_settings_section) to a custom page (add_submenu_page)

I have a plugin page created with add_submenu_page. I want to add a new section there but nothing happens: add_submenu_page('parent', 'Foo', 'Foo', 'manage_options', 'foo-settings', ...
0
votes
0answers
13 views

Some doubts about the WP development IDE, how to obtain the IDE code assistance? [duplicate]

I am pretty new in WordPress theme\plugin development (I came from Java and C#) and I have the following doubt about the IDE and how to correctly handle the WordPress development process. My main ...
0
votes
1answer
25 views

Adding custom avatar field to comments

I want to store a users Twitter Profile Image when I found out that they've tweeted the link of a post (by using the Twitter API), but I'm stuck with the following issue: How do I store the Profile ...
0
votes
1answer
17 views

Why tinyMCE.editors doesnt work on tinyMCE

<?php /* Plugin Name: Taggr Plugin URI: http://example.com/wordpress-plugins/my-plugin Description: Premium plugin for image and photo tagging Version: 1.0 Author: Tee Kai Yang Author URI: ...
0
votes
0answers
19 views

Want To create new dashboard for users [closed]

I am new in WordPress , i am working on a website where i want two options for visitors 1 register, 2 log in , where user can register and after log in he should redirect to a separate user dashboard ...
-1
votes
0answers
15 views

if this kind of project possible in wordpress? [closed]

i have some questions. i am planning to create my own “management crm”. so i looking for plugin that can give me the next options to build it in the way i want and need to my business. this project ...
0
votes
1answer
25 views

save_post not called in plugin / custom field still saving overwriting metaboxes

I have a plugin that writes metaboxes to certain pages. It writes the metaboxes fine and everything works as should...until I save. The save_post is not getting called, and I can't figure out why. ...
0
votes
1answer
29 views

Mediaelement.js feature doesn't work

I am trying to add new feature to mediaelement.js. Here's one example http://mediaelementjs.com/examples/?name=loop Another example which I am trying to implement now is this- ...
1
vote
1answer
2k views

how to use thickbox in admin?

I would like to show my retrieved content form my classes method in thickbox. How could I do this? I have been adding the proper id to my desired hyperlink but all of the admin body is getting parsed ...
0
votes
1answer
30 views

How do I debug an error that a plugin is causing?

I'm having an issue debugging why the plugin I'm creating keeps displaying the error You need to upgrade your database as soon as possible.... The work I've done so far has been on a remote dev site, ...
3
votes
1answer
693 views

How do you create a custom edit.php / edit pages page

I need to create 3 custom edit.php pages which only display pages with a certain parent and the Post New button links to a new page with the corresponding parent. The closest answer I can is do not ...
5
votes
2answers
329 views

How to redirect to settings page once the plugin is activated?

I created the Plugin of my own. Everything seems OK but one thing I want to do in that plugin is redirect to the corresponding plugin settings page when the plugin is activate. For example: ...
0
votes
1answer
15 views

Update post meta not working on wp_postmeta

I am trying to update post meta values but it does't work. Only function that is working is get_post_meta and add_post_meta but Update wont work at all. Also I tried to change the values using ...
0
votes
2answers
35 views

How to cancel Wordpress' action/filter when using OOP with anonymous callback

Most of the wordpress plugins I found is functions based, for example, the offical akismet plugin function akismet_init() { global $wpcom_api_key, $akismet_api_host, $akismet_api_port; // ...
0
votes
1answer
22 views

How do I alter the position of a Custom Post Type menu item within my plugin admin menu?

I'm writing a plugin (for the first time, so bear with me!) which includes a custom post type; 'Programmes'. In the admin menu, I've set up a new menu group for the plugin, and I have the 'Programmes' ...
0
votes
0answers
29 views

remove_filter right way

What is the right way to remove filter in condition? method 1 public function update_loop($query) { global $wp; if(!$query->is_main_query() || $query->is_admin) return; ...
0
votes
1answer
411 views

Plugin admin page meta_box toggle and order state not saving

I can't get the toggle state and open/close status of meta_boxes on my plugin admin page to be stored. The ajax response is always 0 I'm using meta boxes to hold sections of menu for a plugin. ...
0
votes
1answer
20 views

Don't load the theme for a page FROM a plugin EDITED

I'm developing a pseudo admin area for my client and they don't want the theme overlaid on it, rather have their admin area take up 100% of the page. Normally I would add if (!is_page($id)) and be ...
2
votes
2answers
1k 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 = ...
0
votes
3answers
427 views

How to store accumulate multiple option values in a single array using Options_API

I have created an option array that stores a series of options, along with their values. The problem is that I want to ACCUMULATE these options and store them in the options database. Meaning I would ...
0
votes
0answers
31 views

Custom query not working in plugin admin page

I'm not sure what I am doing wrong, but I cannot use get_post, get_posts or WP_Query in my plugin admin page. I can use get_user_meta, and get_userdata, so I'm a bit confused as to why I cannot use ...
1
vote
5answers
1k views

WP_Query returns no results

I'm using wp_query to create a custom query that retrieves search results but it is returning 0 results. Here is the code: $query = 's=the&posts_per_page=5&paged=1'; $custom_query = new ...
-1
votes
2answers
3k views

How can I make a website with dynamic features with wordpress?

As I am a novice in web development field, I wanted to clarify some questions running in my head. I want to make a multilingual website with dynamic features. Dynamic features can be like anything ...
0
votes
1answer
22 views

Calling dynamic_sidebar in plugin gives error

I am trying to call dynamic_sidebar from a plugin page. Whenever I do so, it returns a white page! Any idea why? What I am trying to do is to save the total sidebar output in a transient. I can get ...
0
votes
0answers
58 views

Dynamic css for a widget plugin

I have a plugin that creates a widget to show latest posts and I would like to add a dynamic css file to style the post title without using inline styles. So for example i have public function ...