The problem. Let’s say, for some reason, such as a hacking or upgrade problem, you have lost your blog data or it has become corrupted. If you have a backup (and I hope you do!) you will have to import it to your WordPress database.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: Databases, MySQL, restore data, sql, sql data, wordpress data, wordpress mysql, wordpress sql, wp backup, wp data base, wp database, wp restore
The problem. Post revisions, a new WordPress 2.6 feature, can be very useful, but they also increase the size of your MySQL database. Sure, you can manually delete posts revisions, but that’s very long and boring work.
The solution. The solution to this problem is simple: we batch delete post revisions by using a simple SQL [...]
Read More >>
The problem. While the tips in the rest of this post have been tested, you should definitely not try any of them without first having a proper backup of your MySQL database.
The solution. To create a manual backup of your WordPress database, follow these simple steps:
Log in to phpMyAdmin and select your WordPress database.
Once done, [...]
Read More >>
The problem. Like many bloggers, you probably want your readers to visit your blog more often or subscribe to your RSS feed. A good way to make them curious about your future posts is by listing the titles of your scheduled posts.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: schedule, schedule post, schedule posting, schedule posts, schedule wp, schedule wp posts, wordpress, wordpress hack, wordpress hacking, wordpress schedule, wp, wp content, wp hacks
The problem. The built-in wp_list_pages() and wp_list_categories() functions allow lots of things, but they do not allow you to embed a element so that you can use the well-known CSS sliding-doors technique. Happily, with some help from PHP and regular expressions, we can use this awesome technique on a WordPress blog.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: CSS, css hack, css sliding, css sliding effect, doors effect, effect, sliding door, sliding effect, wordpress effect, wordpress navigation, wp effect, wp navigation
The problem. If you’re a developer who often publishes code snippets on your website, you have probably encountered the following problem: a user tells you that the code you posted doesn’t work. Why? Simply because, by default, WordPress turns normal quotes into so-called “smart quotes,” which breaks code snippets.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: curly, curly quotes, curly wp, normal quotes, normal quotes curly, wordpress, wordpress curly quotes, wordpress hack, wp, wp curly, wp hacks, wp normal quotes
The problem. Using custom fields to display images associated with your post is definitely a great idea, but many WordPress users would like a solution for retrieving images embedded in the post’s content itself.
The solution. As far as we know, there’s no plug-in to do that. Happily, the following loop will do the job: it [...]
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: get image, images content, images hack, post, post content, post content images, wordpress hacks, wp content, wp hack, wp hacks
Sometimes you only want to show posts that you’ve added a specific custom field to. A typical post loop begins like this:
Read More >>
This tutorial will help you build a ‘Latest Posts by Category Archive‘ easily, this can be used to set up custom blog homepages, 404 pages, landing pages or even a special archive page. If you are looking for a plugin to generate such an archive, please check out: WP Plugin: Latest Posts by Category Archive.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: archive, archive wordpress, latest post, latest posts, plugin, post archive, post archive wordpress, wordpress, wordpress archive, wp archive, wp plugins, wp posts
Spice up your WordPress search page by highlighting search terms within your search results. The solution described in this tutorial will highlight both the title and post content and is a drop-in modification for WordPress.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: javascripts, jquery, jquery search terms, jquery terms, jquery terms search, search term, search term javascript, search term jquery, wordpress, wp tips, wp tricks