Topic: Couple of questions
I am having an issue with the creating a blog page template where it shows the latest posts. Here is what I have so far.
<?php Chunk::get('header'); ?> <body id="page-top"> <!-- Navigation --> <nav class="borderbottom"> <?php Chunk::get('nav'); ?> </nav> <div class="coverphoto"></div> <section id="content" class="bordertop borderbottom"> <div class="container text-center"> <?php Action::run('theme_pre_content'); ?> <div class="row"> <h2 class="PageTitle"><?php echo Page::title(); ?></h2> <div class="col-lg-12"> <div id="PageContent"> <?php Action::run('theme_pre_content'); ?> <?php echo Blog::getPosts(10); ?> <div class="col-xs-4 tags"> <h3>Tags</h3> <?php echo Blog::getTags(); ?> </div> </div> <?php Action::run('theme_post_content'); ?> </div> </div> </div> </div> </section> <aside class="cta-quote" style="background-image: url('/public/assets/img/bg-aside.jpg');"> <?php Chunk::get('aside_quote'); ?> </aside> <section id="tools" class="bg-gray borderbottom"> <?php Chunk::get('section_ad'); ?> </section> <!-- Footer --> <footer class="footer" style="background-image: url('/public/assets/img/bg-footer.jpg');"> <?php Chunk::get('footer'); ?> </footer> <!-- Plugins --> <?php Chunk::get('plugins'); ?> </body> </html>
I would like to know how I go about making the posts show as the 10 latest entries in excerpt with a read more link and then have an archive page. Is that achievable?
Also I haven't seen how Monstra handles RSS. Please let me know how I code that in if possible too. Thanks in advance everyone.