Forums Forums Search & Filter Pro Please help with the results in columns and rows

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #271016

    HI everyone, please i need your help….i tried work a lot of time in this…i need show results in three columns and three rows with pagination, but i can´t. I searched in google, forums, but i don’t find anything…

    My live website is in:
    https://sitio2.ferianacionalbahia.cl/resultados?G_sft_post_tag=region-metropolitana

    I work with the file /templates/result.php
    My code is…

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    if ( $query->have_posts() )
    {
    ?>

    Se encontraron <?php echo $query->found_posts; ?> resultados<br />
    Página <?php echo $query->query[‘paged’]; ?> de <?php echo $query->max_num_pages; ?><br />

    <div class=”pagination”>

    <div class=”nav-previous”><?php next_posts_link( ‘Siguiente’, $query->max_num_pages ); ?></div>
    <div class=”nav-next”><?php previous_posts_link( ‘Anterior’ ); ?></div>
    <?php
    /* example code for using the wp_pagenavi plugin */
    if (function_exists(‘wp_pagenavi’))
    {
    echo “<br />”;
    wp_pagenavi( array( ‘query’ => $query ) );
    }
    ?>
    </div>

    <?php

    while ($query->have_posts())
    {
    $query->the_post();

    ?>
    <div id=”encontrados”>
    <?php
    if ( has_post_thumbnail() ) {
    //echo ‘<p>’;
    the_post_thumbnail(“thumbnail”);
    //echo ‘</p>’;
    }
    ?>
    <p style=”text-align:right”><br /><?php the_excerpt(); ?></p>
    <h3>“>Visitar su perfil…</h3>
    </div>
    <?php
    }
    ?>
    Página <?php echo $query->query[‘paged’]; ?> de <?php echo $query->max_num_pages; ?><br />

    <div class=”pagination”>

    <div class=”nav-previous”><?php next_posts_link( ‘Siguiente’, $query->max_num_pages ); ?></div>
    <div><p></p>
    <div class=”nav-next”><?php previous_posts_link( ‘Anterior’ ); ?></div>
    <?php
    /* example code for using the wp_pagenavi plugin */
    if (function_exists(‘wp_pagenavi’))
    {
    echo “<br />”;
    wp_pagenavi( array( ‘query’ => $query ) );
    }
    ?>
    </div>
    <hr>
    <?php
    }
    else
    {
    echo “No se encontraron resultados”;
    }
    ?>

    Trevor
    #271047

    If you are customising the results.php file, the type of help you are looking for does not fall within the scope of our support, sorry. You might need to consult a third party coder. However, I may be able to help.

    What theme are you using?
    Do you have any page builder plugins?
    Does your theme have a ‘grid’ layout pages that you are trying to copy (are you able to show me, a URL, such a page made with your theme, and does that page use a single PHP template file to make the page)?
    Are you able to send me a live link/URL to your search page so I can take a look?

    If you look in our documentation:

    https://searchandfilter.com/documentation/

    In the right sidebar you will see a section ‘3rd Party’ where many page builder type plugins are covered. Many have free extensions for our plugin that you can download (if you are logged in) from the top of each page. My personal preference is to use Elementor Pro for this type of grid.

    Anonymous
    #271056

    Hi Trevor, I use Elementor Pro, but i dont know where can I customize the results formats, thanks in advanced.

    Trevor
    #271064

    There are plugins. I have used Ele Custom Skins for this myself (although not officially supported by us yet).

    We do support this also:

    https://www.dynamic.ooo/

    see our docs:

    https://searchandfilter.com/documentation/3rd-party/dynamic-content-elementor/

    And also AnyWhere Elementor, which we also support. It is covered in the Elementor Pro documentation:

    https://searchandfilter.com/documentation/3rd-party/elementor/#anywhere-elementor

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