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
1answer
262 views

How do I create a custom post type for a training CMS in WordPress?

I need to create a custom post type based on the existing 'Page' type, for a WordPress based training CMS. I have no problem simply creating a new post type, but I would like to offer some kind of ...
0
votes
1answer
152 views

Wordpress 2.8 Widget API is suitable for Worpress 3.1.4 plugins development?

I am a little confused, the Wordpress 2.8 Widget API reffers to WordPress version 2.8 or is refferred to API version? Should I use 2.8 Widget API for writing my WordPress 3.1.4 widget?
0
votes
1answer
1k views

Extend a class plugin

I can't get the user variable from the main class loading a "child class" example: //PLUGIN FILE class father{ var $user; function __construct() { add_action('plugins_loaded', ...
0
votes
1answer
179 views

How to exclude content (and other returned values) from WP_query()?

Does a method exist that can return a simple array of the pages in the site that are published? I only want the name and the slug returned, not the full content or other default values. I've tried ...
0
votes
1answer
1k views

Limit Amount of Pages users can create in Custom Post Types

Is there a way to limit how many pages a user can make inside a custom post type? This would be pretty effective for commercial WP plugins and I am making one, but have come across a little problem ...
0
votes
1answer
656 views

My plugin creates custom widgets, How can I programatically add them to existing sidebar widget areas?

OK, I can create the code to add custom widgets to the widgets manager. Check. My next challenge is to, in the same plugin, during activation, check for the existence of my theme, and if active, ...
0
votes
1answer
703 views

Updating post meta for custom post types

I'm writing a plugin for work (still) and having one more issue. I've added my meta boxes as needed. However, the problem I'm having occurs when saving the post. My snippets for saving pretty much ...
0
votes
2answers
270 views

How to alter the order of custom form fields

I've added a "Custom Title" field to the Category editor in order to capture a keyword friendly title that can be used separately from the category name. It works great, but it appears as the last ...
0
votes
2answers
709 views

How to add 'use_desc_for_title = 0' to all wp_list_categories calls?

My category descriptions are extremely long, so I don't want the descriptions to be used in the title attribute of my category lists. However, WP does this automatically when it outputs the default ...
0
votes
2answers
887 views

How to add meta boxes to the 'Add new post' screen?

I want the user to fill in a form (when they create a new blog post). The results of the form should be embedded within the new blog post. So I am trying to think of the best way of coding this. Meta ...
0
votes
3answers
4k views

How to add multiple copies of a widget from “available widgets”

I've found a widget that I need to add to more than one sidebar widget area. However, apparently its been coded so that once you drag it from "available widgets" over to a sidebar widget, it ...
0
votes
2answers
440 views

Why does preg_replace_callback never fire in this function?

In the function below, the save_content function runs, but the doReplace does not (echo "This is the doReplace" never shows. Any ideas why? add_action('content_save_pre', 'save_content'); ...
-1
votes
1answer
2k views

How to fetch serialized data from wordpress options

I have the following serialized data in a wp option a:2:{s:5:"Title";s:11:"your title";s:7:"Message";s:20:"Hola testing testing";} I would like to return it to be used in a form, and show it also in ...
-1
votes
2answers
141 views

Developing Themes on WordPress, Looking for Excellent Tutorials

I am a beginner at WordPress. I know html, asp, a little PHP and I'm familiar with WordPress. I want to be an WordPress expert. So far I know WordPress involves designing themes, making plugins and ...
-1
votes
1answer
498 views

Need specific kind of “Poll Voting” for Wordpress [closed]

I'm designing a website for a client. I don't really know how I got landed with all the backend structure code, but I did. I'm not an awful programmer, but I need something solid to work off, I can't ...
-2
votes
1answer
793 views

Deprecated error notice

I am doing a plugin tutorial, but it was made for wordpress v2.something. The problem is - when I go to admin menu, under Settings - I get a notice error => has_cap was called with an argument ...