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

what's the meaning of the field wp_capabilities in table wp_usermeta

I am new to wordpress, in table wp_usermeta I notice that we have a row meta_key meta_value wp_capabilities a:1:{s:13:"administrator";b:1;} First, what's the meaning of ...
0
votes
1answer
10 views

Wordpress Feed Creator Name Tag Full Name Instead Of First Name

I am parsing a Wordpress feed in my iOS application. I don't know much about Wordpress and its customisation. The feed shows the author name as below: <dc:creator>andy</dc:creator> ...
0
votes
0answers
46 views

Cannot invoke wordpress's API from outside existing PHP system

I have an existing PHP site located on /var/www/A, now I want to add a blog module on /var/www/A/wordpress. I have installed wordpress below /var/www/A successfully. I can visit it via ...
-1
votes
0answers
19 views

Beginner/Well-documented plugins for practice for a newbie [closed]

I just read Plugin development chapter from 'Professional Wordpress 2010' book. I also created the example plugin. But i am not confident yet. i need more practice. So, please suggest me few plugins ...
0
votes
2answers
47 views

how to invoke wordpress API from other existing PHP system

We have our own php system, now we want to have a blog function. Because wordpress are widely used, so we decided to use it. And now I want to invoke wordpress's function , for example wp_insert_user ...
0
votes
2answers
18 views

Best Way to Grab Post ID from Plugin

I'm currently using loop_end to hook my plugin and get the post id from a page. This works great, except that it's also displaying my plugin in the recent posts widget which I don't want. Is there a ...
-2
votes
0answers
25 views

Dashboard Calendar

Any body happen to know how I can accomplish an Admin Dashboard Calendar? Calendar that displays on the dashboard when a user loggs in? It can be a plugin and I love diving into code... Any ...
0
votes
1answer
22 views

Adding querystring variable breaks admin URLs

I've set up some admin pages using add_sub_menu() and whenever I add an additional querystring variable beyond the "page=" portion of the URL, I get a "Cannot load 'page-slug'." message. When I ...
0
votes
0answers
21 views

Hook to edit options/settings of custom plugin

Is there a way to hook the edit function of WP to edit options/settings of a plugin? My plugin has some options (address, phone, etc) that are displayed on the single page of a particular custom post ...
1
vote
1answer
17 views

Using wp_cron with custom time interval and the register activation hook

Scenario 1: fails Adding a cron task wp_schedule_event with a custom interval on plugin activation using register_activation_hook outside the class definition fails to work because the custom ...
0
votes
1answer
28 views

How to check during “pre_get_posts” if WP performing default query for specific custom template?

I want to modify default query for custom RSS template loaded by plugin that i'am writing right now. What is the best way to check - in function hooked to "pre_get_posts" - if default query for my ...
-1
votes
0answers
18 views

WP eCommerce Light-box issue [closed]

The current eCommerce plugin on this website is WP-eCommerce. It's been working very well but now the light box that's supposed to help people take a closer look at the product they want when they ...
1
vote
1answer
30 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( ...
0
votes
1answer
22 views

Plugin that saves form data

My first plugin attempt with basic PHP skills and a bunch of WordPress experience... What I want: User fills out form - form action sends them off to a specialized gateway (got that part ok) Select ...
0
votes
1answer
18 views

Common abstract class for plugins

I have a few plugins and intend to move them to a very common base with an abstract class. The issue is that even if I apply solutions in order to avoid class duplications ( like EarnestoDev's answer ...
0
votes
1answer
29 views

Plugin AJAX Save to Custom Table

I am learning how to use AJAX in the admin for a new plugin I am writing. In the PHP I have the function: function ppmhnh_add_location(){ global $wpdb; $values = array(); ...
0
votes
1answer
37 views

Plugin to create Posts and Forums then choose category and parent forum

I need to create a plugin for a customer that will help him create posts and forums and place them in a category and choose if it's a parent or a child forum. Just created a GitHub Repo for my files ...
0
votes
1answer
25 views

count the number of views of a post excluding own views

I am using WP Post Views plugin to display the post number of views. To do so, I use: <?php if(function_exists('the_views')) { the_views(); } ?> This plugin gives 3 choises in its setting : ...
0
votes
1answer
23 views

how to get notification when the plugin is installed

I'm making a wordpress plugin to get a notification when the plugin is installed i'm using http://codex.wordpress.org/Function_Reference/is_plugin_active but I still do not understand please help
0
votes
1answer
29 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 ...
1
vote
2answers
24 views

Is get_option function cached?

In my plugin, I use the following code to retrieve an option from the database: $options = get_option('my_plugin_options'); If I use this 10 times in various functions of my plugin, does WordPress ...
0
votes
1answer
42 views

WP-Snap too slow (caused by WP_Query?)

I have a website with 10.000 posts... WP Snap alphabetizes the posts and puts it out with WP_Query, but it is slow as hell, which is very frustrating. My question would be: what can I do about it? ...
0
votes
1answer
11 views

search content of pages and list in wp-admin

I am developing a plugin, and I want to display a page that lists every page on the site that is using a specific shortcode defined by my plugin. I assume that I need to manually search wp_posts, but ...
0
votes
1answer
14 views

link above a list table get permission problem

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as csv file. The problem is, when I click the link I get ...
2
votes
1answer
35 views

Get file headers in custom file

in my one of my plugins i have modules (kind of like plugins in a plugin), is there a function like get_plugin_data() or wp_get_theme() that will allow me to get the header section of a custom file ...
0
votes
1answer
31 views

Why was my plugin rejected from the WordPress.org repository?

I have made a WordPress plugin, and it works. But when I send it to the WordPress.org plugin team, they responded: Calling wp-load.php directly Including wp-config.php, wp-blog-header.php, ...
1
vote
1answer
36 views

Detect where custom post type is declared

In a plugin that I'm developing I'd like to be able to display a list of all custom post types currently enabled. Is there any way to detect where a post type has been initiated? For example, if it ...
0
votes
1answer
23 views

Are shortcodes case-sensitive?

If I write a plugin and register a shortcode using this code: add_shortcode('footag', 'footag_func'); and a user uses this in their post: [FOOTAG] Is it supposed to work?
0
votes
1answer
20 views

$wpdb->update Issue

Can anyone see what I have wrong here? $wpdb->update( $table, array( 'lat'=>$paper_lat, 'lon'=>$paper_lon ), array( 'id'=> $result=>id ...
0
votes
2answers
70 views

How to secure the release of WordPress plugins / avoid copying plugins?

I'm new to the WP arena and considering doing some plugin development. In releasing a WordPress plugin, how do you keep from the plugins getting distributed to those who haven't genuinely purchased ...
3
votes
1answer
54 views

Do plugin files have to follow a specific convention to be “picked up” by WordPress?

I developed a plugin using the normal convention of naming the main plugin file after the plugin folder (i.e. prefix-someplugin for the folder and prefix-someplugin.php for the file). However, I saw ...
0
votes
1answer
19 views

Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites

I've built two WordPress sites. One is public site--people go to it, view my content, etc. The other site is a private course catalog. In the course catalog I have 3 custom post types. The content of ...
4
votes
1answer
94 views

Using a database view = evil incarnate?

I'm at a point in doing some WordPress plugin development where from what I can tell I either have to create an entirely new plugin or I can create a database view. The client wants some simple logs ...
0
votes
1answer
41 views

Client Profiles

Looking to find the best approach to creating a client database. Would a plugin be best to achieve the following? My Client Database plugin Store personal information and statistics about the ...
-1
votes
0answers
16 views

3 posts with a feature image and other only title

How to display 3 latest posts with a feature image and other post only title Widget code there..... http://pastebin.com/XtQjRqA7
0
votes
1answer
22 views

Does Wordpress check for updates of a plugin via plugins root folder name?

I just completed writing a plugin from another plugin. When I changed the developer name, version and other details from the plugin file, I thought the version tracing would now be done using the new ...
0
votes
1answer
30 views

Multiple Block Quotes without using HTML

First of all, I have a client that has no HTML knowledge. He wants his all his posts to have a certain format where within the post body, he can add multiple pull quotes with different styles. Note ...
0
votes
0answers
13 views

Wordpress - 404 error when associating tag with post [duplicate]

I'm a total newbie to Wordpress, however I've been asked to develop a PHP script to import tags from an Excel spreadsheet to the WP db. So far, so good... BUT: there's this strange behavior I need ...
0
votes
2answers
45 views

How long does it take for a new plugin to be approved?

I've just submited my first wp plugin and i would like to know after how much time will my plugin be published to the wordpress plugin directory? Hou much did you actually waited?
0
votes
1answer
64 views

Why are two functions over-riding each other?

I have function in my plugin that is: add_filter('comment_text', 'commentimage_comment_text'); function commentimage_comment_text($comment = '') { $options = get_option('commentimage'); $id = ...
-1
votes
0answers
25 views

How do i get facebook access token with 60 days expiration limit [closed]

I have created Facebook album and photo gallery plugin. I just used some fb urls to get user's albums and photos with user inputted access token. For my testing i get access token from graph explorer ...
0
votes
1answer
23 views

WordPress Meta Query: Relation is not working correctly

I make a custom search box and let user do search. I have added required field to my editing panel by custom meta box. I have a post which have some meta data like London as place and 13021 as post ...
0
votes
0answers
10 views

Scraping part of a website (bbc.co.uk/news) [migrated]

on the bbc.co.uk/news site, there is a most popular section (most read, etc), (i'm very new at wordpress development and am trying to learn). The issue I have is that when I use wp_remote_get ($url); ...
1
vote
2answers
42 views

Wp die causing 500 Internal Server Error?

I have function to upload images inside my settings API ,it uploads images as expected but the problem comes when user chooses to upload non-image file to stop users from uploading other files ...
0
votes
0answers
28 views

jQuery does not enqueue for my purpose… (before an inline script in the footer)

Following How to add a javascript snippet to the footer that requires jQuery I am trying to load jQuery before my script does stuff but it's not working. This is it working when I include jQuery ...
3
votes
1answer
64 views

Call activation hook multiple times

I have a plugin that does some initialization stuff using register_activation_hook called from its __construct(). I've since extended my plugin to add functionality to it. For the sake of ...
0
votes
0answers
22 views

How to add filter only for custom plugin? [duplicate]

I made a plugin which uses the WP media-uploader. I like to store the images in a custom folder only for the plugin image uploads. But adding the filter only for my custom plugin doesn't work if ...
-1
votes
0answers
19 views

paypal integration to wordpress

I m new to paypal..,and what im doing is register local hotels for contact with travel agents..,what i need to done is when new user register, add paypal payment gateway (with out redirect to the ...
1
vote
2answers
28 views

Secure Pages Best Practice

I am in process of writing a plugin that has front-end shortcodes that display a user's information/data. If the user is not logged in, I need to redirect to a front-end login page/form. What would ...
0
votes
1answer
13 views

dbDelta not doing what it says

Okay so I must have read hundreds of wordpress answers, google results etc on different people having trouble with dbDelta creating tables for their plugins. Ive tried many variations based off of ...

1 2 3 4 5 32