How to publish your posts from Google Docs? Yes, you can publish your posts from Google docs. Well, I still prefer wordpress it self, because of its customable features. You can publish your google documents using the following steps: 1) Go to Google Docs and sign in to your account. 2) Write or compose your …
How to upgrade wordpress from Unix Shell?
How to upgrade wordpress from Unix Shell? 1) Backup existing database and wordpress directory Lets take an example of 28Nov2006. Type the following commands at shell prompt: $ mkdir /backup/wp/28nov2006 $ mysqldump -u user -p WP-DATABASENAME > /backup/wp/28nov2006/blog.db.sql $ tar -zcvf /backup/wp/28nov2006.tar.gz /var/www/html/blog 2) Download latest wordpress CMS $ cd /tmp $ wget http://wordpress.org/latest.zip $ …
Introduction to wordpress database: wp_posts
Well, this is the most important table in wordpress structure. It stores all the posts, and some post related data. The structure is mentioned below: Field Type Null Key Default Extra ID bigint(20) unsigned PRI & IND Pt4 auto_increment post_author bigint(20) unsigned 0 FK->wp_users.ID post_date datetime IND Pt3 0000-00-00 00:00:00 post_date_gmt datetime 0000-00-00 00:00:00 post_content …
Introduction to WordPress Database: wp_links
In the structure of wordpress database, this is the LEAST used table as we rarely manage links, in fact categories links. This table provides ability to manage links, category wise, and then we can display them a widget, export or import them in an OPML format etc. The database structure is as follows: Table: wp_links …
Introduction to WordPress Database: wp_terms
Introduction to WordPress Database: wp_terms To categorize and manage posts and other contents, wordpress uses various taxonomies like categories, tags and link categories. These taxonomies are saved in wp_terms table. The type of the taxonomy (weather it is category or tag) is saved in wp_ term_taxonomy. The table structure is as follows: Field Type Null …
Function Reference: wp_login_form
Function Reference: wp_login_form Here, we will give a shot to the newly introduced function wp_login_form. By default, this function “echos” a login form in your template. You can pass an argument echo’ => false to return a string instead. You also need to pass several other arguments to this function. Use <?php wp_login_form( $args ); ?> …
WordPress 3.0 Beta version released!!
WordPress 3.0 Beta version released!! WordPress 3.0 beta version has been released for testers. They said, they are still finishing some stuffs, but developers and testers can download and test it. Some important changes are: 1) Custom menus added. 2) The default theme changed. Now, instead of two themes(default and classing), there is only one …
Introduction to WordPress Database: wp_comments
Introduction to WordPress Database: wp_comments Current Version : 2.9.2 Comments made by users on posts, pages or attachments are saved in this table by wordpress. To insert a comment manually, one can use wp_insert_comment function. The argument is an array, with information related to the comment. Check wp_insert_comment for more details. The structure of the …
Introduction to WordPress Database: wp_commentmeta
Introduction to WordPress Database: wp_commentmeta Current Version: 2.9.2 Each comment features information called the meta data and it is stored in the wp_commentmeta Just like wp_postmeta, we can store comment related information in this table. There is a very interesting article on this by soapboxdave: http://www.soapboxdave.com/2010/02/using-wordpress-comment-meta/ We can use add_comment_meta function to add contents to …