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
The problem.
As noted in the previous hack, a common problem on blogs is that it is hard for readers to find content published a while ago.
To help my readers finding what they’re looking for, I created a WordPress page template that displays a list of all posts ever published on my blog. You can see [...]
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: archive, archive page, archive page template, archive template, archive template wordpress, archive template wp, page, page template, template, template pages, wordpress hack, wp hack, wp hacking
The problem.
The loop and the query_posts() WordPress function allow you to easily retrieve a list of posts published in a specific week or month. Unfortunately, getting posts published between, for example, March 17 and May 3 isn’t that easy. Let’s solve this problem.
Read More >>
Most wordpress themes out there (by default) combine both comments and trackbacks / pingbacks together and display under the same list. But why bother separating them? Simply to make things looks more organize so your blog commenters have a clearer picture what are the comments, what’s not. Doing it is not hard, but you need [...]
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: comment, comment and trackbacks, comment trackbacks, seperate comment, seperate comments, trackbacks, wordpress tips, wordpress trick, wp hack, wp tips, wp trackback, wp tricks
I have just modified the hack a little so as to reduce the amount of code being used.
The hack:
1. Open quicktags.js in the wp-admin folder
2. Find:
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: new window hack, new windows hack, open link in new window, opening link, wordpress hack, wordpress tips, wordpress tips and hack, wp, wp hack, wp hacking, wp hacks
Displaying WordPress Categories in a Horizontal Dropdown Menu
The first step is to get WordPress to display the menu as a hierarchical list without a title.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: category, category wordpress, dropdown, dropdown menu, horizontal drop, horizontal drop menu, horizontal dropdown, horizontal menu, horizontal menu wordpress, menu in wordpress, wordpress, wordpress dropdown, wp, wp hack
Have you ever noticed those cute little smilies that some WordPress bloggers use to show emotions within their posts? Offering these has become quite the trend around the blogosphere.
Read More >>
Author: alyaspk Categories: CMS & Forums, Wordpress Tags: add smiles, free plugins, free plugins wordpress, free wordpress plugins, free wp theme, smile plugins, smilies themer, smilies themer wordpress, wordpress, wordpress template, wordpress theme, wp, wp hack, wp hack theme, wp smilies
Though this isn’t quite the same as displaying your most popular posts in your sidebar, here is some code you can use to display the posts that have received the most comments. You’ll want to place it in your sidebar where you want the code to be displayed.
Most Commented Posts Code
Go into your theme files [...]
Read More >>
Author: alyaspk Categories: Wordpress Tags: commented posting, commented posts, commented posts wordpress, display, display posts, most comment, most comment post, most commented, most commented posts, most posts, wordpress, wordpress hack, wp, wp comment, wp hack, wp theme
Most themes typically come with a 404.php page that shows up by default whenever an invalid URL is visited on your blog. Depending on how often you change the URL of existing posts or delete old posts, it may or may not be a high traffic page for your blog.
Either way, when a typical web [...]
Read More >>
Author: alyaspk Categories: Wordpress Tags: Customize, customize page error, customizing, customizing 404, customizing 404 error, wordpress, wordpress error, wordpress hack, wordpress page, wordpress page error, wordpress theme, wordpress tip, wordpress tip and trick, wordpress tips error, wp hack
Here are the steps you can take to easily add numbers to your WordPress theme’s comments section.
First thing you will want to do is create a backup your comments.php file.
Locate the comments.php file.
Locate the code that starts the comment loop. It will look something like this:
Read More >>
Author: alyaspk Categories: Wordpress Tags: add comment, add hack, comment, comment numbers, comment wordpress, numbers hack, numbers theme, theme, theme wp, wordpress hack, wordpress theme, wp, wp hack, wp theme, wp theme hack