Additional Useful WordPress Code Snippets src.:https://www.theedesign.com/blog/2012/short-code-guide-for-wordpress
//Custom permalinks
/%postname%/
//Include any file
<?php include(TEMPLATEPATH .’/x’); ?>
//Value for search form
<?php the_search_ query(); ?>
//Prints out message
<?php _e(‘Message’); ?>
//Displays the register link
<?php wp_register(); ?>
//Displays the login/logout link
<?php wp_loginout(); ?>
//Divides the content into pages
<!–next page–>
//Cuts off the content
<!–more–>
//Meta for administators
<?php wp_meta(); ?>
//Time to load the page
<?php timer_stop(1); ?>
//Queries to load the page
<?php echo get_num_queries(); ?>