Is there an option to hide a post in a grid with JQuery?I'm asking because the grid needs to be redrawn after any change for the grid items to be properly arranged.
You can try with this custom code:
The 1 number is the grid ID and 321 number is the post ID.
Hope that helps and thank you for understanding.
It works perfectly, including the arrangement of the grid items. Thank you!Is there an essential grid documentation where similar helpful scripts and possibilities are listed for EG users? or it's just a good sense of JS?
Hope this helps.
Well, then I extra appreciate it.May I ask what would be the best way to use it if I want to remove several posts at a grid?
You can create a category, for example call it hidden-posts
Then assign all post you want to remove to that category.
You can then exclude that category in your grid.
Please check the link below for a more detailed information.
Hope that helps
Sorry for not being clear enough, my question was about thai's method:jQuery("#eg-1-post-id-321").remove();
How can I use that specific method for several posts?
Yes, you may separate selectors using comma.
Make sure to change the posts id
Appreciate the quick response, will check it out.Thanks!
You're most welcome Amir!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.