wordpress

WordPress: hide widgets from Post Window programmatically

Hey guys, I'm burning my brain to find someway to hide some widgets from "Post Window" programmatically. I found an article on WordPress.org that worked fine to hide some widgets from the Dashboard Window (ref.: http://codex.wordpress.org/Dashboard_Widgets_API#Advanced:_Removing_Dashboard_Widgets). But unfortunately I didn't find any w...

how can I import an rss feed from a specific category from one blog and print that rss feed inside the rss feed of another blog?

There are two blogs. The client wants a category from blog 1 to appear in the RSS feed of blog 2. is that possible? would I use something like this? $feed = new SimplePie(); $feed->set_feed_url(array( 'http://simplepie.org/blog/feed/', 'http://feeds.tuaw.com/weblogsinc/tuaw' )); $feed->init(); $feed->handle_content_type(); fo...

good books or tutorials to understand WordPress Programming

Hi, I want to learn/make wordpress plugins. So to start, I thought of taking some tutorials about Wordpress (the engine). I already know how to make a blog post, or change a theme. I want a tutorial about Wordpress Core Engine, that explains how Wordpress works, loop work, plugin are implemented... So far, there are books and tutorials...

Advice on SAFELY modifying / customizing Header on a Wordpress theme....

I just started using Wordpress 3.0 to get a simple blog up and going. For now I am working with the default theme "Twenty Ten". I want to make a simple change: I'd like to modify the layout of the bloginfo( 'name' ), bloginfo( 'description' ), and php header_image() that appears at the top of the blog. So, under Appearance, Editor, I...

Single Sign On on multiple domains

We have two websites with different domain names. One of them is a wordpress site. Both websites have their own authentication system. For the sake of convenience, it was decided to have a single authentication for both website and making use of session cookies. I searched about it and got to know about Single Sign On. Can anybody tell ...

How do I display mails sent from a WP contact form?

hello... actually i am doing contact us form. in there i used one plug in. sending mails to admin...fine. but at the same i want to display at admin side. how to do? i am new to wordpress. ...

Wordpress 3 Multisite with same Medialibrary

Hi, i created a Worpress 3 Multisite with 5 Sub-Blogs. Is it possible to share the same Media-Library in this Blogs? i changed upload_path in wp_1_options and wp_2_options for example and also in my backend in "Super Admins" Menu but it has no effect. The files are uploaded to wp_contents/blogs.dir/1-2-3/files and the options have no ...

Extending Contact Form 7 Wordpress plugin by using hooks.

I would like to create a plugin that uses the contact form 7 hook, wpcf7_admin_after_mail. I want to use the plugin to interface with a CRM system. What I have thus far is the following: //plugin header here function add_to_CRM( $cf7 ) { if (isset($cf7->posted_data["your-message"])) { full_contact($cf7); } else { ...

How To clone an existing wordpress site into a subdirectory on same server?

For example: I have a Wordpress site (blog) on www.xxxxxx.com I want to upgrade some plugins and WP version of site but before it I want to check all things on a mirror version. How to make a mirror backup site of currently running site on same server like www.xxxxxx.com/testing-site/? Whatever I will do on mirror site, should not ef...

Best practice for multiple blogs using wordpress

Hi there, I am a novice at Wordpress but I am very familiar with PHP and programming. I have a somewhat complex website that I would like to program in Wordpress. I have ~40 static pages, ~5 different blog pages, a home page that display some static text and lists the newest posts in each of the different blogs. My question is what is...

How to programatically add post to Wordpress blog from outside in PHP

I would like to add a post to my Wordpress based blog (my own hosting) from outside of this blog using PHP. In short terms i would like to do something like this: http://www.mywebsite.com/addPost.php Adds example post to my blog and thats all i need. How to do this? ...

How to "save" my wordpress blog's posts in same url format and remove wordpress?

Hello, I have a Wordpress blog running on my site and I have no time to continuously upgrade the software and I pretty much want to remove wordpress. It's broken at this point anyway, I can't really get into the admin area, but I suppose I could try to hack my way through. Anyway, I'd like to save the posts that I have and keep them un...

How to define the number of "Recent Posts" displayed in the sidebar (Wordpress)?

I would like to limited the recent posts to 3 or 5. Where can I define the number of displayed recent posts? ...

How do I get rid of the "Your comment is awaiting moderation." message in Wordpress?

I coudn't find the php that generates that or do I have to deactivate it from the Site admin? ...

Can't insert to database in wordpress

I tried to insert values to database table in wordpress, but it is showing some errors as below [type] => 2048 [message] => is_a(): Deprecated. Please use the instanceof operator [file] => /var/www/html/workbench/Shinod/wordpress/wp-includes/classes.php [line] => 724 Can anyone help me? ...

How to use own php variables in wordpress template?

Hi, I am using a wordpress template in php like this: <?php include('wp-blog-header.php'); get_header(); ?> ...Hello World... <?php get_footer(); ?> ok, it works good... but the contents of title and other meta tags are empty. How can I change the header contents or use my own $variables inside the get_header() section? it doesnt w...

Query mulitple categories

So the WP codex says to query posts from different categories i use this: query_posts('cat=2,6,17,38'); I am doing that in this (http://pastebin.com/69WTBi8Q) script to display rss feed from various categories, but it's only showing the first category in the string. http://dev.liquor.com/custom-rss-feed/ why? ...

Is there a plugin to handle "French spacing" in WordPress ?

I migrated from Dotclear (2.2) to WordPress (3.0) a few days ago and I have solved all my problems except one. I have not found a pluging to handle "french spacing". WordPress is better than Dotclear, but since Dotclear is a French project, it manages this correctly. By "french spacing", I mean replacing the space by an insecable space...

wordpress plugin events calendar

hi, i'm using events calendar on wordpress. the site is translated using the plugin wpml. i cannot get the calendar translated, it has the .mo and . po files but i don't know how to switch it to the selected language. any idea on how to do it? ...

Custom WP Theme Skin Description

I have a wordpress theme that supports skins. The theme owner can choose from multiple skins by name via a dropdown menu. Each of the skins resides in its own folder under the main theme's styles directory. Its basically just a css file and some images that overide the main theme style.css to restyle the site. I would like to show a the...