I want to create a new Menu in the admin panel of Wordpress for my new plugin. Just like 'Tools', 'Users', 'Settings', I want a new item, 'My Plugin'.
I'm aware of the function add_menu_page(), but how do I use it?
What is the code for doing this? thnx!
...
Basically need the default Wordpress TinyMCE WYSIWYG editor where the user will enter some formatted text in my plugin. How do I integrate/implement TinyMCE in a simple HTML Wordpress form??
I'm using Wordpress v2.9!
...
It's obviously a matter of some controversy as to whether WordPress is a CMS, but like it or not, it's an extremely popular platform.
Assume for a moment that it's an almost-there CMS.
What plugins would you add to the package to bring it over the threshold? ie, if you were designing a "WordPress CMS core", what plugins would you add...
How can I make a plugin send an alert to one's dashboard at the top right below where the WordPress upgrade notice might normally appear?
I imagine I need some kind of add_filter() or add_action() call in the plugins' code.
...
here is my plugin activation code
$classified_category_name = 'classified';
$credit_table_name = 'credits';
$credit_table_version = 0.1;
register_activation_hook(__FILE__, 'LBH_Classifieds_Activate');
function LBH_Classifieds_Activate()
{
global $wpdb;
global $classified_category_name;
global $credit_table_name;
global...
I'm trying to determine why some WordPress plugins use register_activation_hook(FILE, 'activate_plugin') while others use the add_action('init', 'activate_plugin');
...
This deals with WordPress plugin development. Even if a user has not actually signed into WordPress, but has left a comment, WordPress remembers them from the last time. I wanted to toggle showing a "Subscribe To Newsletter" checkbox if they had already subscribed previously to a newsletter. I've already worked out the checkbox and it wr...
I know it seems like a simple operation, but I can't find any resource or documentation that explains how to programmatically add and remove tags to a post using the post ID.
Below is a sample of what I'm using, but it seems to overwrite all the other tags...
function addTerm($id, $tax, $term) {
$term_id = is_term($term);
$ter...
I am using widgets in my wordpress theme and I need to remove the:
<div class="textwidget"></div>
that appears around the widget's content. I am using this in my function.php file:
if (function_exists('register_sidebar'))
register_sidebar(array('name'=>'Church Address',
'before_widget' => '',
'after_widget' => '',
'before_tit...
I am looking for a wordpress plugin which simplifies the registration process by allowing users to sign up on the spot without having to be sent an email?
It would be good if you could also pass a redirect_to parameter in the url like you can for the login.
...
How do I redirect users to my plugin settings page after they activate my plugin, I tried
register_activation_hook(__FILE__,'activate_myplugin');
function activate_myplugin()
{
//create and populate DB tables
wp_redirect(plugin_setting_url);
}
but it does not work.
...
what i meant with generic is those class that create by non lead wordpress programmer. i just start reading the source code directly and encounter a class who name filereader and i use it to read stream of file.
Is there any other useful class ? i would like to know so i can utilize it when work on wp ?
I know this is a question spesi...
is there any way to hook a debug function into a hook such as init and retrieve every php function whose operates there ?
what i meant with PHP function is its name ? is it possible to retrieve any php function name via php built in function ?
...
Hi,
I have been using GD Star Rating plugin for a while now.
I need my blog to allow users to rank posts, from a list of posts.
I have One page which lists all posts. And I need to be able to rank each post from the list.
I created a template and I am using [starrating template_id=45]. I need this, but with the posibility to rank from ...
I am planning a webapp to control bank paying orders. In a quick review, the user goes online and creates a payment order. This order goes to other people that pays it and register the payment on the system. The system keeps track of all the payments, keeping the account balance up-to-date. The system needs a login system, bank integrat...
In a plugin, I am generating a paginated link to a category,
i.e. http://localhost/?cat=17&paged=5. The category is known by slug and id.
Is there a way to have this URL converted to the user defined "nice permalink" format,
i.e. http://localhost/category/foo/page/5?
(Assuming we're running Wordpress 2.8/2.9+)
Edit: Since there ar...
Hi there.
I'm looking to find a way to integrate the widget control area into the page edit screen. For the site I'm making it would be perfect with the same drag and drop functionality.
I want a list of the available widgets that I can drag and drop into the page widget area. The widgets will then only be shown on that particular page...
Hi,
I´m using Wordpress to develop a blog, and I need to rate things using a 5 star rate.
I saw many different plugins that rate pages and posts. But, besides posts and pages, what I need is to rate several things in the same post/page.
I have a list of links, where users cane rate each one of them.
Any ideas?
Thanks!
...
Does anybody know about a simple customizable wordpress plugin framework with the help of which i can build more frameworks rapidly ??.
...
Starting out with Wordpress plugin development - how does a plugin add a page to Wordpress that utilizes the current theme? For instance the plugin would create a page at this URL:
http://wordpress/plugin-name/start
This page should display a form using that utilizes the current theme. At the end of the day I'm going to replace the cur...