Need help with a line of php code
-
Hi there. I have a problem with a line of php code that you might be able to help me with
I have set in the wp panel my home page to be an Intro page, from which you can access the home page afterwards just clicking on it. The problem is that when at the hoem page if you click on the header, where the logo is it takes you to the intro page, instead to the home page.
I thought that would be quite easy to solve just changing the link url of the header, but the problem is that I cant understand the php code to do thatThe link to which the header should point is this
<a href="http://formiguesenaccio.cat/home">Bue the code I find of this function at the header.php file is this
<a href= "<?php bloginfo ('url'); ?>"><?php $logo = (get_option('instyle_logo') <> '') ? get_option('instyle_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?>I would highly appreciate if somebody could help me figuring out how do I insert the correct url (http://formiguesenaccio.cat/home) on that code, so the header in every page points the home page when clicking on it. I tried in many different ways but none worked. thank you in advance
The topic ‘Need help with a line of php code’ is closed to new replies.