Hello,
I am having issues with “Block 1” module. I want to order categories as I want, but I see that categories get ordered only by name.
For example: http://prntscr.com/88p9ss , you can see that categories are ordered by the first letter of the name. A, B, C.. etc. Can you tell me how I can order in the way I want.
Also I want to show only 3-4 categories and the others will be at “More” tab.
Thank you.
Hi,
You need to modify this in code, please check this solution – https://forum.tagdiv.com/topic/can-i-reorder-ajax-dropdown-on-my-own/
Unfortunately there no option to limit categories to a specific number, The ajax categories consider the block title length and the length of the category name and display how many categories is possible.
Thanks!
Hello,
I have try the solution with slug, but when I have made the necessary changes I am getting following error when I try to login at wp-admin: ” Parse error: syntax error, unexpected ”orderby” (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in XXXX/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 147″
If you want, you can get the file here: https://www.dropbox.com/s/y3dckfe0svlcllt/td_block.php?dl=0
Also you can check the screenshot: http://prntscr.com/89xi5p
Thank you.
-
This reply was modified 10 years by
iceb.
Hello,
I have added comma, but again the error appear. Check the following screenshot: http://prntscr.com/8b7acq
In this screenshot you can check the error: http://prntscr.com/8b7atr
Hi,
@iceb I have checked this and it works. I refer to add comma after 'number' => 100, – http://screencast.com/t/HhW6DHdQXQf
Thanks!