jvadnais
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom CORE template file?Thanks so much for the feedback!
I think I found a really good way to do this. I basically created a new template page called blog.php and included at the beginning:
<?php
/*
Template Name: Full Blog
*/
?>I then went and created a Page called “Blog” and used “Full Blog” as the template. I made the Page’s slug “blog”. So now when someone visits https://mysite.com/blog, they’ll get the full blog.
The Full Blog template page is basically an archive template, but it shows ALL posts – not just those from a specific archive period.
Sweet.
Thanks again for your help.
Jordan
Forum: Themes and Templates
In reply to: Custom CORE template file?Trust me — I love WP. I hope I can get it to work for me, but I would think this is a fairly common need for designers who want to preview their blog on the homepage with a few recent posts, while keeping the whole blog on another page.
I guess I’ll keep looking around. Thanks for your help!
J
Forum: Themes and Templates
In reply to: Custom CORE template file?I’m still slightly confused on this. Maybe it would help if I explain what I’m trying to accomplish:
When someone visits index.php, they will see a general page that displays the two most recent posts from the blog. It will have all sorts of other information which I code by hand into the index.php file.
But then if they want to see more of the blog, I’d like them to be taken to another page (blog.php) that displays the entire blog experience (that’s what I meant by “full blog,” not “full blog post.”)
However, this blog.php page isn’t a category page, nor an author page, etc. So I need to create a new core template. This is really simple in Movable Type (where I came from), but I can’t figure out how to get it to work in WP.
I can create the file (blog.php) with The Loop and all the template pages included, but I don’t know where to put the file, and when I browse to it (inside the theme folder), I get an error.
Maybe there’s another way to accomplish what I’d like to do?