This topic has 4 replies, 4 voices, and was last updated 5 years by Abe.

  • Author
  • #206658
     bingoenvato
    Participant

    I use “The Grid”-Plugin for index.php, where I replaced the WP-loop:

    COPY CODE
    if ( have_posts() ): 
        while ( have_posts() ): the_post();
            
        // some code from your theme
        // ...
        // ...
            
        endwhile;
    endif;

    with

    COPY CODE
    The_Grid('My Grid Name', true); // where true is for template mode
    
    

     

    #206673
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #206720
     Radu
    Moderator

    Hi,

    Ok, how can i help you ?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #206818
     bingoenvato
    Participant

    Hi Radu,
    Ohhhh, sorry!

    As said, I replaced the WP loop in index.php with the grid snippet, mentioned and want to use the grid in archive and search templates too. But don‘t know, which kleo template files to use for this.
    I like to use the grid for CPT too.

    Thanks for your. Support

    #207176
     Abe
    Keymaster

    Hi, well you can use the php function in the loop:

    COPY CODE
    
    get_template_part('page-parts/post-content-masonry');
    

    Let me know if that helps.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?