Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
Could you send me a link to the page so that I can have a look at the page?
Thanks,
Shane
It's the home page, so hidden link
I had turned off so I could work on other things, but I turned it back on so you can see the issue. You can check it out now.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
I did another check on this for you and what seems to be happening is that your results visibility settings is set to hidden.
I suggest adding this css to your view.
.js-wpv-view-layout{
visibility: visible !important;
}
Please let me know if this helps.
Thanks,
Shane
Shane,
I don't understand why the results visibility settings is set to hidden. Could I just turn it on in the View settings?
Anyways, your code worked by the way.
1) But, in mobile, the pagination is still showing. See image.
2) When I click Reset (Resetar) it is showing me all results again, both on computer and mobile. Shouldn't the first code be reloaded to not show all the results?
Also there is something weird going on with pagination on mobile. See image. There are two pagination and one is not even working.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
This one might be a little difficult to solve but lets see.
Would you mind allowing me to have admin access to the site? I might be able to get the pagination to stop appearing.
Thanks,
Shane
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
I took a look at this for you.
Could you let me know if the issue still remains ?
Thanks,
Shane
Yes it still remains. If you go on your phone, you will see the pagination with no items found. I attached some images so you can understand better. This is only happening on mobile.
But, again, when I click reset, all the listings show. Shouldn't it be just show no items found?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
This should be fixed now.
It had to do where you added the pagination for the mobile view. It shouldve been added inside the [wpv-items-found] shortcode.
Thanks,
Shane
Oh really? wow little things like that can make a difference! Thank you Shane.
But my question about the Reset button is still unanswered. Shouldn't it not show all the Listing after clicked?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Felipe,
No not in this case, because the code is meant to just remove the results for the initial load.
When the reset button is pressed it is essentially resetting the meta query for the posts.
Thanks,
Shane
I guess I can just rename the Reset button to "Show All." My issue is resolved now. Thank you!