One of the exciting new features in WordPress 3.0 is custom post types. We can create our own post types by using the register_post_type function. If we enable UIs for our custom post type, we will get additional menu items on our WordPress dashboard similar to the Edit and Add New options for standard posts……
[ View Full Article ]A permalink or permanent link is a way for WordPress blogs to simulate static URL addresses. Since all blog data is stored in a database, and content is generated dynamically, blogs do not have static urls in the way that traditional websites do. However, static URL addresses are still very desirable. They allow external sites…..
[ View Full Article ]The Shiba Example Plugin is an empty plugin to help you get started on writing a WordPress plugin. The Shiba Example Plugin contains – A plugin activation hook that runs when a plugin is first activated. Plugin initialization functions. An example plugin sub-menu page. An uninstall.php file that runs when your plugin is uninstalled. Use…..
[ View Full Article ]When you insert a WordPress gallery into your blog post, it gets rendered in native WordPress gallery mode. In particular, each of the photos in your gallery gets rendered as a thumbnail, and clicking on the thumbnail will connect you to the photo source file, or the photo attachment page. Here is an example WordPress…..
[ View Full Article ]
In this article we consider how to write out comments data in the WordPress XML import format. Once you do this, you can easily import the generated XML file into WordPress by using the Import functionality within your WordPress dashboard. We assume that you already have the comment data extracted in a PHP script elsewhere……
[ View Full Article ]