the categories filtering is not working. i put all the links under 'OTHER'... however when i click 'technology'... all the links display too.... supposed theres no links under it.
ref: http://do-did-done.com/home/links/
please help, thanks
the categories filtering is not working. i put all the links under 'OTHER'... however when i click 'technology'... all the links display too.... supposed theres no links under it.
ref: http://do-did-done.com/home/links/
please help, thanks
I may have found what appears to be a bug in the category filtering. For me, any category with an ID of more than one digit was not filtering (but showing all the links instead).
To fix this issue, all you need to do is find the following line in bp-links-dtheme.php (under the 'bp_links_dtheme_selected_category' function, [line 233]):
if ( isset( $_COOKIE['bp-links-extras'] ) && preg_match('/^category-\d$/', $_COOKIE['bp-links-extras'] ) ) {
and change it to read:
if ( isset( $_COOKIE['bp-links-extras'] ) && preg_match('/^category-\d+$/', $_COOKIE['bp-links-extras'] ) ) {
That's right, just add a plus sign after 'category-\d'. This fixes the regular expression to match IDs with more than one digit.
Thank you. This fix will be in version 0.5.1
Thanks for posting this fix!
I tried this fix and nothing happened. Still doesn't work for us.
This topic has been closed to new replies.