Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #333518

    Are there any tutorials or notes on creating new archive templates? Or a glossary of Avia terms? I created CPTs, linked taxonomies, got the ALB visible in the CPT. I just want to create a simple archive template that creates a bulleted list of post titles (linked) rather than looks like the blog. I’m getting lost in the ‘multi-big’, ‘blog-grid’ and avia references inside the existing templates.

    I’m trying to produce this:

    If you could point me in the right direction that would be great. Your help documentation is great, just I couldn’t figure this bit out – maybe I missed something?

    #333748

    Hi Sandie!

    Thank you for using our theme.

    Have a look at this:

    http://codex.wordpress.org/Page_Templates

    It explains, how to create custom templates.
    Come back, if you have more questions.

    Cheers!
    Günter

    #333959

    Indeed it does, but it doesn’t explain how to integrate them with the Enfold theme.

    #335349

    Hi!

    Essentially Custom Post Type loop are the same as normal post loop with the addition of your custom post type name parameter. Consider this code:

    
    $args = array( 'post_type' => 'product', 'posts_per_page' => 10 );
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();
      the_title();
      echo '<div class="entry-content">';
      the_content();
      echo '</div>';
    endwhile;

    Reference: http://codex.wordpress.org/Post_Types

    For your purpose, replace “product” with your CPT.

    Enfold’s page templates follows exactly the same principle as wordpress page templates.

    Simply add your code anywhere after get_header() and get_footer() in your page template.

    Best regards,
    Arvish

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.