-
AuthorPosts
-
November 6, 2014 at 11:44 pm #140091
Hey, I am using Learndash and one thing I have found is that it serves the pages via the archive.php as archive post types.
I am looking for a way to intergrate the posts with the portfolio template so that I can get a masonary style grid for courses and this seems to be the missing link for Learndash. I know after speaking to a couple of members here it would be a huge benefit to everyone and I am happy to do it if you can point me in the right direction please so I can create a new template-learndash.php and find out how to call it.
November 7, 2014 at 8:23 am #140259Hi Steve,
Thank you for writing in!
X is using index.php file for both post and portfolio pages. If you want to create an achieve page, you can simply create it and add in your child theme’s main directory.
Next, you can review our KB article on Customization Best Practices. Review WordPress template hierarchy for creating an archive page for custom post type.
Then you can check out our default _index.php template for masonry layout under wp-content/themes/x/framework/views/global/.
Hope this helps. 🙂
Thank you.
November 9, 2014 at 6:39 pm #141339Perfect, thats going to make life so much easier. Thank you x
November 10, 2014 at 2:42 am #141494You’re welcome 🙂
November 29, 2014 at 12:22 am #154883Simple question: how do I show an archive page?
November 29, 2014 at 8:30 pm #155139Hey there,
You can go to Posts > Categories then you can view your category which is an archive of your category (see http://prntscr.com/5blcwi). You can also add archive pages to your menu. Go to Appearance > Menus and add your category to the menu (see http://prntscr.com/5bld8u).
Hope that helps. 🙂
-
AuthorPosts