Home › Forums › Support › Add a specific link in a Logo (Page Header) This topic has 19 replies, 3 voices, and was last updated 7 years, 2 months ago by Tom. Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 Author Posts February 4, 2017 at 6:21 am #274117 LeoStaff Customer Support Currently the code is doing what it’s suppose to do – the logo on this page: http://vivaelsoftwarelibre.com/open-source-academy-osdemy/ links to this page: http://vivaelsoftwarelibre.com/net-developer-skills-enhancement-course/ Looks like this page: http://vivaelsoftwarelibre.com/net-developer-skills-enhancement-course/ is your blog page so try this instead: add_filter( 'generate_logo_href','tu_add_custom_logo_href' ); function tu_add_custom_logo_href( $url ) { if ( is_home() ) { return 'http://vivaelsoftwarelibre.com/osdemy-open-source-academy/'; } return $url; } Let me know. February 4, 2017 at 6:31 am #274121 Mario It is on the contrary indeed. The logo on this page: http://vivaelsoftwarelibre.com/net-developer-skills-enhancement-course/ must link to this page: http://vivaelsoftwarelibre.com/open-source-academy-osdemy/ I used this code with no success: add_filter( 'generate_logo_href','tu_add_custom_logo_href' ); function tu_add_custom_logo_href( $url ) { if ( is_page( 'net-developer-skills-enhancement-course' ) ) { return 'http://vivaelsoftwarelibre.com/open-source-academy-osdemy/'; } return $url; } February 4, 2017 at 6:41 am #274125 LeoStaff Customer Support Can you try the exact code I provided here? https://generatepress.com/forums/topic/add-a-specific-link-in-a-logo-page-header/page/2/#post-274117 February 4, 2017 at 7:05 am #274132 Mario I updated and saved the new snippet but it still does not work properly. February 4, 2017 at 12:14 pm #274245 TomLead Developer Lead Developer Any chance you can post the exact code you have added to your site just so I can take a look at it all in one place? Author Posts Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In