Hi juggledad, that's very difficult for a non coding noob like me. Here's what I tried out:
The controlling funktion in bfa_hor_pages.php seems to be this one:
Code:
if ( $bfa_ata['page_menu_1st_level_not_linked'] == "Yes" ) {
$list_pages_string = preg_replace("/<li class=\"(.*?)><a href=\"(.*?)\"(.*?)\n<ul>/i","<li class=\"rMenu-expand \\1><a href=\"#\" onclick=\"return false\"\\3\n <ul class=\"rMenu-ver\">",$list_pages_string);
} else {
$list_pages_string = preg_replace("/<li class=\"(.*?)\n<ul>/i","<li class=\"rMenu-expand \\1\n <ul class=\"rMenu-ver\">",$list_pages_string);
}
Because I have no idea where the variable
Code:
$bfa_ata['page_menu_1st_level_not_linked']
is set, I tried the short way and took the 'If...="yes"-function', edited it for cats and inserted into bfa_hor_cats.php before the line
Code:
$list_cat_string = wp_list_categories('orderby=' . $sort_order ...
as follows:
Code:
$list_cat_string = preg_replace("/<li class=\"(.*?)><a href=\"(.*?)\"(.*?)\n<ul>/i","<li class=\"rMenu-expand \\1><a href=\"#\" onclick=\"return false\"\\3\n <ul class=\"rMenu-ver\">",$list_cat_string);
- Without any effect. - What's wrong?