Hi,
I’m not sure if you are also responsible for the The Grid plugin or if I have to ask somewhere else.
I recently added a sort by to the grid but since the words were in English I tried to change them in the the-grid.min.js file, thinking that way I could change the names in the frontend too. Unfortunately, now they don’t sort correctly anymore. I changed it back but I’m not sure if I did it correctly. It still does not sort the content correctly. This is the part where I made changes:
ajax",sortData:{excerpt:“p”,title:function(t){return jQuery(t).data(“title”)},id:function(t){return jQuery(t).data(“id”)},date:function(t){return jQuery(t).data(“date”)},author:function(t){return jQuery(t).data(“author”)},comment:function(t){return jQuery(t).data(“comment”)},popular_post:function(t){return jQuery(t).data(“popular-post”)},total_sales:function(t){return jQuery(t).data(“total-sales”)},regular_price:function(t){return jQuery(t).data(“regular-price”)},sale_price:function(t){return jQuery(t).data(“sale-price”)},featured:function(t){return jQuery(t).data(“featured”)},stock:function(t){return jQuery(t).data(“stock”)},sku:function(t){return jQuery(t).data(“sku”)}},defaults:{style:“grid”,layout:“vertical”,fitrows:!1,fullWidth:null,fullHeight:null,rtl:!0,filterComb:!
I changed date to Datum, popular-post to Beliebtheit and title to Titel. I changed it back, but as I said it doesn’t work.
Here is the URL: https://soundtrackz.de/filme
Can you help me with that?
Thanks in advance.
Dennis