Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #140091

    Steve Woody
    Participant

    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.

    #140259

    Zeshan
    Member

    Hi 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.

    #141339

    Steve Woody
    Participant

    Perfect, thats going to make life so much easier. Thank you x

    #141494

    Christopher
    Moderator

    You’re welcome 🙂

    #154883

    dbonneville
    Participant

    Simple question: how do I show an archive page?

    #155139

    Christian
    Moderator

    Hey 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. 🙂