Any thoughts on this? I feel like it should be something like:
`add_action (‘__after_header’, ‘add_sub_cats’, 10);
function add_sub_cats() {
if (is_category())
{
$cur_cat = get_query_var(‘cat’);
if ($cur_cat)
{
$new_cats = wp_list_categories(‘echo=false&child_of=’ . $cur_cat . ‘&depth=1&title_li=&&show_count=1&hide_empty=0’);
echo ‘
‘;
}
}
}’
But this does not work.
David, thank you very much for sharing this. I could not figure it out, but this fixed it.
Thanks again!
Can you post back here if you end up hearing from Facebook? I’d be curious to find out myself.