Syntax theme and custom name of the first page

I was struggling, recently, with Syntax theme. This is super cool theme if you are focusing on writing. Simple, very plain, no fancy stuff around. Just text.

There is, however, one thing I had to change. In the menu (you can find it on the left side of the page), first page is called “Home”. I wanted to have it titled “Cover” – take a look here – http://jnicookbook.owsiak.org

I had to modify function syntax_page_menu_args inside inc/extras.php to get it working.

I have replaced following line

function syntax_page_menu_args( $args ) {
//  $args['show_home'] = true;
  $args['show_home'] = 'Cover';
  return $args;
}

And now, instead of “Home” I have “Cover”

jni_menu_bar

If you are looking for JNI samples, take a look here: http://jnicookbook.owsiak.org