-
Author
Tagged: woocommerce, logo, header, bbpress
-
March 10, 2015 at 23:17 #49583solokcoParticipant
Hi, first of all thanks for such amazing theme. It is my favorite by far
I would like to change the logo in the header depending on a Woocommerce Category or bbpress category and single .
So far I have manage to replace the logo on any single page using the THEME GENERAL SETTING but is there a way to do this on a CATEGORY WOOCOMMERCE or BBPRESS section?
Or is there a HOOK that a could add to my functions file to run the REPLACE LOGO on that particular cases?
Thanks again for your time
March 11, 2015 at 00:29 #49593sharmstrModeratorCheck out /kleo/page-parts/general-header-section.php. I dont see a filter to tap into, but you can copy to your child theme and do some is_bbpress() checking.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 22, 2015 at 15:51 #51098solokcoParticipantThanks for this.
I manage to solve the logo with BBPRESS so far using this function inside general-header-section.php:
$parent_forum = get_post($post_id)->post_parent;
if ($parent_forum == “id_category_forum_number” ) {}Now I would like to change the PRIMARY MENU too. I just see the echo $primary_menu related to the initial function wp_nav_menu.
Is there a way to declare what MENU I would like to show?
March 25, 2015 at 16:55 #51499sharmstrModeratorSorry I was out of town. WP handles that : https://codex.wordpress.org/Navigation_Menus#Display_Menus_on_Theme
Kleo names the locations top and primary
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.