Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro How to show the post number in results page

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Vittorio paradiso
    #211325

    Hi, im’trying to get the posts numbers in archive.php file then im using like the results page but i can’t make it.

    Can i do it?

    The website address is

    http://www.stabilimare.it

    Trevor Moderator
    #211370

    I am sorry, but I do not understand. Do you mean you want to show the Posts count? For example, using our shortcode results method, the template uses this PHP:

    Found <?php echo $query->found_posts; ?> Results<br />

    Vittorio paradiso
    #211476

    Sorry for my english.
    I have to show the post count at the top of the results page.
    The code above doesen’t work in my page.
    My template options are setto Use a custom template for results. The related file is archive.php

    I’ve also another problem. The results page always gets twice the same result.
    You can see this if you chose a city and start the search.

    Vittorio paradiso
    #211480

    Moreover when it chooses the city the page doesn’t show all results but just a part of them.
    If you choose the city of Pescara you wuold find 13 results, instead there are only 9 results besides the duplicate ones.

    Trevor Moderator
    #211538
    This reply has been marked as private.
    Vittorio paradiso
    #211618

    Sorry but i dont see the same. At the follow link you can find my results screenshot.

    https://www.stabilimare.it/wp-content/uploads/2019/05/screenshot-www.stabilimare.it-2019.05.17-18-40-37.jpg

    Moreover underneath i see nothing.
    I see this problen on different device

    Vittorio paradiso
    #211620

    I think i’ve found the problem.
    If i enable ajax search there are the dulicate otherwise i don’t.

    But i can’t see the other 3 results
    (Nettuno Beach
    Acapulco
    Lido Apollo)

    Vittorio paradiso
    #211622

    I still solved this problem. I increased the number of Results per page.
    Thank’s

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

The topic ‘How to show the post number in results page’ is closed to new replies.