If there was only one wish for my home page, that was to have a plugin showing the codes in a good shape. Simple Google searches navigated me to this great post: 15 WordPress Plugins for Displaying Code Snippets.
Then I chose Google Syntax Highlighter for WordPress among those plugins. If you want to see a living example, check the end of the post.
That is pretty much what I wanted when I share my codes here.
Then I realized that my site does not include a link to the home. You could navigate by clicking the title etc. but that is not enough. I was surprised that we can’t do it with the native ways of WordPress because it was so easy in Joomla which I used for a while ages ago… It was easy to manage menu items because you could declare a “menu type” simply.
Anyway, it wasn’t too hard to find the trick here either. Adding this little code snippet below to functions.php gets us what we need:
function home_page_menu_args( $args ) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'home_page_menu_args' );