-
AuthorPosts
-
March 7, 2018 at 7:02 pm #923222
The shop page is not displaying most recent first but the oldest first.
How can I change this? Woocommerce settings are set on recent dateMarch 7, 2018 at 10:57 pm #923417Hey studioinktvis,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
BasilisMarch 8, 2018 at 11:03 am #923727Here you are
March 9, 2018 at 11:18 am #924403Hi,
Thank you for the info.
We added a pre_get_posts filter in the functions.php file but it created an error. I’m really sorry about that. Please provide the FTP details in the private field so that we can edit the filter.
// product brands order add_action( 'pre_get_posts', 'pre_get_posts_product_brands_order' ); // Modify the current query function pre_get_posts_product_brands_order( $query ) { //echo '<pre>'.var_export($query['product_brand'] != '', true).'</pre>'; if( ! is_admin() && $query->is_main_query() && $query['product_brand'] != '') { $query->set( 'order', 'DESC' ); } return $query; }
Best regards,
IsmaelMarch 9, 2018 at 11:23 am #924407Ooo
You did this!
My hosting company is now fixing it
Please wait a minuteMarch 9, 2018 at 1:27 pm #924468It is fixed . Please try again
March 9, 2018 at 10:39 pm #924779Hi,
We did what?
Can you please tell us more info?Best regards,
BasilisMarch 9, 2018 at 10:47 pm #924784Hi Basis,
Someone added something in the function.php and then my whole site did not work anymore. But it is fixed now. So can you fix my problem now ?!
March 12, 2018 at 11:26 am #925446Any help??????
March 12, 2018 at 10:00 pm #925734Hi,
Not sure what is left.
Have you tried the code that Ismael has supported?Best regards,
BasilisMarch 13, 2018 at 11:02 am #925993Please read all the text. Ismael added the filter and then the whole site went blank.
So no I am not gonna “test” it again.
Maybe Ismael can help?March 15, 2018 at 6:48 am #927077Hi,
I’m sorry for the delay, been away for 2 days. We added the filter again. Please remove browser cache or do a hard refresh before checking the page.
Best regards,
IsmaelMarch 15, 2018 at 8:33 am #927125Do you have vacations at Kriesi ?! ;-)
Thanks it worked!
March 15, 2018 at 2:01 pm #927327 -
AuthorPosts
- The topic ‘woocommerce shop page most recent display not working’ is closed to new replies.