-
AuthorPosts
-
November 21, 2017 at 11:32 am #879652
I have a shortcode in a Text box like so
[product_category category=”teddy-bear-soft-toys” columns=”4″ number=”8″]
No matter what I change number to, it still continues to show 12 items on the page itself.
This is the page https://www.natures-collection.com
November 21, 2017 at 1:18 pm #879712Hey nychng,
Can you try adding this at the bottom of functions.php:
add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 ); function new_loop_shop_per_page( $cols ) { // Return the number of products you wanna show per page. $cols = 8; return $cols; }
Hope this helps :)
Best regards,
NikkoNovember 21, 2017 at 1:21 pm #879714Hi Nikko,
I dont think this solves my issue.
I just want the section in which my shortcode appears, to show the right number of products. The product count simply won’t “refresh”.
November 22, 2017 at 2:51 pm #880297Hi,
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,
NikkoDecember 25, 2017 at 6:35 am #891973This reply has been marked as private.December 27, 2017 at 4:12 am #892105Hi,
Thanks for the login, did you try clearing the cache from your caching plugin?
Best regards,
RikardDecember 27, 2017 at 4:40 am #892114Yes, and I have disabled it as well.
December 27, 2017 at 9:42 pm #892236Hi nychng,
It should be limit, not number
[product_category category="teddy-bear-soft-toys" columns="4" limit="8"]
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.