Universal Coder

Display Post URL as  Link Text
<?php the_permalink(); ?>

For Homepage Url

<?php bloginfo('url'); ?>

For Image Source Or File Path

<?php bloginfo('template_directory'); ?>/folder-name/

For Get Header Menu

<?php wp_nav_menu('Menu=headermenu' ); ?>

For Get Footer Menu

<?php wp_nav_menu( array('menu' => 'footermenu' )); ?>

Make The “Read More” Link To The Post
Place this in a theme’s functions.php to make the “read more” link to the post

function new_excerpt_more( $more ) {
	return ' <a href="'. get_permalink( get_the_ID() ) . '">Read More</a>';
add_filter( 'excerpt_more', 'new_excerpt_more' );

For More Information

View original post