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
2answers
303 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, ...
1
vote
0answers
14 views

Check the Version of an Enqueue'd External Library

I want to use an external font library in my plugin, but I want to do a version check first to determine if I should bother enqueue'ing my version or not. I know I can see if a library is already ...
2
votes
2answers
316 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
0answers
21 views

How to add submenu to Wordpress plugin in the same Directory of main Plugin?

I have created a plugin and now i want to add a third party plugin inside of the Main Plugin menu, so it can be submenu. How do you make the second plugin appear? Directory Setup: ...
5
votes
2answers
2k views

Get List of Registered Meta Boxes and Removing Them

Is there a function for getting a list of registered Meta Boxes and removing them? I see there is a method for adding, and removing. http://codex.wordpress.org/Function_Reference/remove_meta_box ...
1
vote
0answers
27 views
+50

Scheduled events disappear from events queue

I'm having an issue where events that I have scheduled work for a while then just stop. After looking at the event queue I see that the scheduled events are no longer in the queue. If I deactivate ...
0
votes
2answers
43 views

How to add multiple images to custom post type?

I would like to create a simple plugin to add multiple images to a custom post type. I have created a plugin to add a single image to a custom post type, but I am unable to figure out how to add ...
2
votes
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 ...
2
votes
2answers
238 views

prevent post to have multiple categories in my plugin

I'm writing a plugin, I want to prevent posts have multiple categories (i.e same product having category "Samsung" & "Apple"). Any idea on how to use some actions/filters to achieve this using my ...
1
vote
5answers
808 views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
0
votes
0answers
22 views

Hook pages by id on static front-page

I would like to build a one page website upon the Wordpress CMS. I'm looking for a way too hook my pages on a static frontpage by id, since I have several page types. I've tried: $id=6; $post = ...
3
votes
1answer
752 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 ...
0
votes
1answer
7 views

Deletion of shared options using uninstall.php

I'm using uninstall.php for my plugin to delete all the traces my plugin did to a site on uninstall (delete). I did it in a good way, but even after the deletion there are some fields in the options ...
0
votes
0answers
11 views

Setting a taxonomy consisting of sites' name

Hi I am running a multisite and I would like to set the taxonomy as sites' name. so the category will have options of Group A, Group B etc. The problem I have now is that I do not know how to get a ...
0
votes
3answers
453 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
1answer
8 views

How to handle submitted form data from a widget [on hold]

I am trying to create a fairly simple plugin for newsletter registration. I know there are enough good plugins out there that could do exactly what I want. Just for the sake of learning I got the ...
1
vote
1answer
426 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
13 views

Force Network Activated Plugin to Run After Site Level Plugins

I have a custom plugin I created and network activated it on WordPress Multi-Site install. I plan to use this plugin to override/enhance functionality for plugins available on my installation. The ...
0
votes
0answers
29 views

Force download a file within plugin file

I am trying to make a plugin which will force a certain file to download. I cannot find any examples of other people downloading files using a wordpress plug in. I simplified the code a little bit. I ...
0
votes
0answers
3 views

Editable/removable number of checkboxes stored in plugin

To make things short, I am working on a WordPress plugin used in various projects (being converted from a solo script) that depending on the website, they may or may not have multiple checkboxes with ...
1
vote
1answer
392 views

Display custom fields in frontside user profile

I installed the CIMY User Extra Fields plugin to add new custom fields in theuser profile. I added 1 custom field for gender to the user profile but it displays only in the admin panel user profile. ...
2
votes
3answers
1k views

Problems with autoloading classes via sp_autoload_register / maybe interfering WP-specific autoloader

I'm working on a plugin in which I do the following for autoloading classes: function TFSLAutoload($class) { $classfile = dirname(__FILE__).'/includes/'.strtolower($class).'.php'; include ...
1
vote
0answers
19 views

Should I use spl_autoload_register() in my plugin?

When I use spl_autoload_register in my plugin, I get: Fatal error: Uncaught exception 'LogicException' with message 'Class wp_atom_server could not be loaded' ...
0
votes
1answer
2k views

Auto Gallery from folder contents

I need to be able if this is possible, (i am a newbie at this so please take that into consideration) I want to create a Wordpress shortcode that will add an automated gallery of the contents in a ...
0
votes
0answers
14 views

I want to add facility to add country, State, City in my custom plugin

I am working on a plugin for trip adviser, In that i am to add service for user that he can add country, state, city in which his company provides the trips. What should i prefer for that, Please ...
0
votes
0answers
6 views

Media Uploader is not working in default rich text editor in my custom plugin

I am working on my custom plugin that will store records in its own database tables. I am willing to add contents via WordPress default rich text editor. I found some code on WordPress stack exchange ...
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 ...
0
votes
0answers
19 views

Custom frontend post not working?

Hi I am creating a custom post front end submission. This is my code to submit the custom post details. Here the validation is not working as well as it will not submit the post. When i submit the ...
0
votes
0answers
16 views

Database solutions for a commenting plugin?

(I'm new to this and am aware that my questions are vague and kind of suck, please bear with me.) My plugin, a commenting platform, is in the directory. Currently, it doesn't have it's own database. ...
0
votes
0answers
12 views

Widget options are not updated

I'm creating a plugin which creates a widget with some options. I've extended the WP_Widget class: class Dynamic_Player_Widget extends WP_Widget { function Dynamic_Player_Widget() { ...
0
votes
0answers
13 views

Can You Require the Use of JavaScript in a WordPress Plugin?

I commonly use Mozilla Firefox for testing changes I make for a plugin that I'm developing. I also have the NoScript addon installed because it is also my main browser. I noticed that the ...
4
votes
1answer
132 views

Adding more options to the instance of an image. (Attachment Display Settings)

I'm trying to build a simple reusable plugin for image presentation in Wordpress 3.9, and it seems I've hit a brick wall. I would like to be able to add a couple of options to the instance of the ...
0
votes
0answers
10 views

Plugin update without overwriting the functionality [duplicate]

I have installed some plugins with my WordPress site, some time i modify a lot in the (.css or .php) files of the plugin to get the results i want after that i can use them with more than one site, so ...
0
votes
0answers
16 views

How to load another page file of my custom plugin file

I'm creating my own plugin for medical purpose. in the site front end using shortcode i created a login form. so after logged in the doctor can see list of patients with and edit link to each row. i ...
0
votes
1answer
25 views

How to avoid conflict of plugin style and theme style?

I have used twitter bootstrap to my plugin. But after install the plugin, it is changing style of the theme that has already bootstrap. How can i avoid this conflict?
0
votes
1answer
31 views

Plugin update not reflected in Wordpress plugin page

I've created a plugin and added it to WP plugins repository. Later, I've seen few mistakes on readme.txt file. So I've fixed it and commited the changes: svn add --force trunk/readme.txt svn ci -m ...
3
votes
2answers
35 views

How do I Make a custom post type get a custom post template in a plugin

I am writing a plugin in which I am adding a custom post type(called 'events') using register_post_type. Additionally I want it to use single-event.php instead of the regular single.php. The current ...
1
vote
1answer
27 views

How to create a custom shortcode based on the layout?

Hi I am developing a custom post type plugins. Which has shortcode support. Already i have created a shortcode which is going to use for default layout design. Again i have to create a onemore ...
0
votes
0answers
13 views

Moving Plugin Code into a Theme - Class Declaration - what hook should I use to create new instance?

I'm planning on moving a Plugin Inside a Theme I'm creating. The Plugin currently utilizes a Class to declare and set up the Custom Post Type and all of the other functionality of the plugin itself. ...
0
votes
0answers
9 views

How can I create a data entry form that has Master Detail ability?

I have a patron and books for a library (in this example). One person/patron, many books. I have the two tables. I believe I could use either tablepress or roll my owne output via a custom plugin ...
3
votes
2answers
572 views

Redirect to settings page after install

I can't find any info on this anywhere but i'm sure iv'e seen it done before. I would like to have a user taken to the settings page for my plugin after install, so either auto-redirected or change ...
0
votes
1answer
14 views

What happens if I delete all the rows that represents a post revision from the posts table into WordPress database?

I have the following doubt related to the posts table of the WordPress database. I see that when I create a new post in this table are automatically created 2 new rows. 32 1 2014-08-16 15:07:22 ...
0
votes
2answers
25 views

Why in this archive page that call query_posts() function show only the last 10 posts?

I am pretty new in WordPress theme development and I am finding 2 problem with this posts archive page: http://lnx.asper-eritrea.com/archivio/ The previous page have to show ALL the blog posts into ...
0
votes
1answer
39 views

Why WordPress architecture is not pure object oriented and it don't use MVC pattern? [closed]

I am pretty new in WordPress and PHP development (I came from Java and C#) and I am a bit astonished about how WP is structured. Coming from Java and C# I'm used to work on totally object oriented ...
0
votes
0answers
7 views

Where is stored the Publish date value for a post?

I have to do a massive change in the database and I need to know in what field of what table is stored the publish date value of a post. Using phpMyAdmin I see that each record into the wp_posts ...
0
votes
1answer
495 views

Create an user on external database

I have wordpress site and a project management system from codecanyon. Here is the link I have disabled registration for users in project managment system, only login is enabled. I need to make users ...
0
votes
4answers
27 views

How to obtain the current website URL in my theme?

I am working on a custom theme and I have the following doubt about how to correctly insert the link to some section of my website into the theme. If you open this link you can understand what I need ...
0
votes
1answer
26 views

Plugin Hook: Get posts

I am building a WP plugin. It shows several featured post images with titles atop. It will have a spot on the admin bar to tell it what the featured posts are. What hook do I use to get the post's ...
0
votes
0answers
11 views

Adding Page/Post Attachment Capability to the Media Edit Screen

Is there a way to add the page attachment capability to the edit media screen? So if I add/edit a media item, I can also attach/re-attach it to a page.
0
votes
0answers
18 views

Combining the Edit Media Screen with the Links Manager?

Is there a way to somehow integrate the link manager into the media edit screen? So if a user uploads or replaces a media item, they can also add the media's attachment link to a link category from ...