Multiple Page Templates & CSS

This isn’t really WordPress specific, but from the server perspective it would add additional http requests for visitors to load additional css files, versus pulling the same site-wide css file from cache. From a css perspective, I prefer to keep it all in one file. Some people prefer to organize things differently, like all text … Read more

can’t understand _e function well

$domain is the unique identifier for retrieving translated strings. It is set in functions.php <?php load_theme_textdomain( $domain, $path ) ?> ex: load_theme_textdomain(‘my_theme’, get_template_directory() . ‘/languages’); <?php _e( ‘Translate this text’, ‘my_theme’ ) ?> If you don’t have a translation file but want’t to make it translatable just define the textdomain. load_theme_textdomain(‘my_theme’);

How does a mobile WordPress theme differ from a simple theme?

It’s really not a “wordpress” specific, it’s just the css. You just give it a css for mobile browsers. That’s it. here are few good readings on how to get about the css for mobile: http://www.html5rocks.com/en/mobile/mobifying.html http://net.tutsplus.com/tutorials/html-css-techniques/responsive-web-design-a-visual-guide/ if you still have some questions, feel free to ask. 😉

Editing Footer Information

I would go with a Widgetized footer. If you want to go the extra mile, rather than create Theme Options, simply create a custom Widget, e.g. Footer Contact Details, that has editable text inputs for Company Name, Address Lines 1 and 2, Phone/Fax, and Email.

Change the ‘published on’ text?

Use a gettext filter and match against the text. add_filter( ‘gettext’, ‘filter_published_on’, 10000, 2 ); function filter_published_on( $trans, $text ) { if( ‘Published on: <b>%1$s</b>’ == $text ) { global $post; switch( $post->post_type ) { case ‘your-posttype’: return ‘Whatever on: <strong>%1$s</strong>’; break; default: return $trans; break; } } return $trans; } The alternative would be … Read more