Hello again.
I'm trying to call to a view with a shortcode [wpv-view name="recipes-s-r"] . Everything is fine. But I want in the first call to have a offset of 1 element. So I've added offset="1" . It worked. But when I make a Search in the View it still using that offset and doesn't shows me the first result in the search. hidden link
Is there a way/hack I can create that offset for only the first view?
Thanks! great work !
Hello. Thank you for contacting the Toolset support.
I checked the problem URL you shared: hidden link
==>
I can see that at top of the page you are displaying one results in the center of the page and after that you added the custom search view. It seems you already fixed the issue. Have you? If no: Please let me know what is your expected results.
Hi, no. What I need is not to repeat the first result from the grid.
As I told you using offset 1 helped, but it hides the first result when I make a search.
Is there a way to avoid this?
Do you mean that when page should load - you only want to display one record and allow user to search with Year and text search. And then when user makes the search, you want to display all results that fall in search criteria?
If no, can you please share few screenshots that help me to understand your issue and where exactly you added the same view multiple times?
No. What I need is to load as it's loading:
But in the first load, the grid not to load the first result (because it repeats with the block its highlighted)
That is the last post created.
The highlight I'm showing it from another way.
The thing is that I want no te repeat the first one in the grid in the first load of the page.
I think we need to use the view's filter hook in this case. Can you please share access details so I should try to apply and see if we able to get your desired results.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] How to make an offset for ther first View with shortcode’ is closed to new replies.