URL Rewriting in WordPress

Your best bet for an easy solution is to actually use the “Custom Structure” option in your WordPress admin under Settings > Permalinks. There are a number of other structure tags you may use as seen in the Codex. If you’re looking for even more customization and manual control, it’s actually a pretty complex topic … Read more

Change image link in excerpt to point to post

Images are embedded in post content as pretty much straight HTML. <a href=”http://192.168.1.10/wp_release/wp-content/uploads/2011/01/boat.jpg”> <img src=”http://192.168.1.10/wp_release/wp-content/uploads/2011/01/boat.jpg?w=300″ alt=”” title=”boat” class=”size-medium wp-image-544″ height=”198″ width=”300″> </a> There is no easy way to alter that. You can alter it, but it means regexing the post body content or using an html parser like Simple HTML DOM Parser (Not an endorsement, … Read more

Make datestamp for status updates show time

Just go to Settings > General, scroll down to the date formatting section, select custom, and type this: F jS, g:i a which yields a date like: June 1st, 7:29 pm The official WordPress docs give the letters to use for time formatting.

I want to fill the comment with the comment count?

I think the reason for your header already sent error is that you are using comments_number() that will echo the value. Try instead get_comments_number( $post_id ); to return it. The Codex info on this function says that it returns the total number of comments, trackbacks, and pingbacks for the post.

Taxonomy templates in a multilanguage site

The templates use the internal name of the taxonomy. These will be the same in all languages. The internal name is the first part in register_taxonomy($taxonomy, $object_type, $args). What your users see is the translated name from the labels. So, no, you don’t have to recreate the templates for each language.

Blog as a part of a WordPress site?

You say that blog will reside in http://example.org/blog. That’s incorrect. It will be as a part of your installation http://example.org. Create two pages: Intro and Blog. In Settings -> Reading -> Front page displays – select – A static page -> Front page – and choose Intro, then in Blog page – choose Blog. Set … Read more