• I have the following code in my functions file which works very well as is. I wish to amend the code to display categories instead of pages. However when I make the change I think should work, I loose part of the hover over and click art. Please tell me what I am doing incorrectly:

    Original code:

    [code moderated according to forum rules - please use the pastebin]

    What I changed:

    [please mark your code using the 'code' button]

    $artThemeSettings['menu.topItemEnd'] . '';
    	add_action('get_categories', 'art_header_page_list_filter');
    	add_action('wp_list_categories', 'art_list_pages_filter');
    	wp_list_categories('title_li=');
    	remove_action 'wp_list_categories', 'art_list_pages_filter');
    	remove_action 'get_categories', 'art_header_page_list_filter');
    }

    With this change, the categories do display, but the artwork is lost. I copied the source and learned that what is happening is that the 'art_header_page_list_filter' and/or the 'art_list_pages_filter' are not processing; but I cannot figure out why these functions are being skipped.

    thanx,

    ken

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme Header Not Working’ is closed to new replies.