I am working on a custom Wordpress theme, I have the index.php setup for the Home view, I'd like to create another page to list all the blog posts, I am familiar with the loop, I just want to know how to link to the new page properly. Here's what I am using
<a href="<?php echo get_bloginfo('template_directory');?>/blogs.php">Blog Listing</a>
However when I get redirect to
http://localhost/wordpress/wp-content/themes/final/blogs.php I get
atal error: Uncaught Error: Call to undefined function the_title() in, I am guessing it's interpreting the
blogs.php on the face level and not passing the wordpress context. A little help is required.