Hi, I’m using wordpress to build a portfolio page, I have created 4 pages:
Home, Portfolio, Contact, About. In title I’m using the following code to show the title of the current page plus the name of the website:
<?php wp_title(‘•’,’true’,’right’); ?><?php bloginfo(‘name’); ?>
Everything works fine each one shows the title along with the name for all four pages:
But when I go to the main url http://localhost/ it displays the home page but in the browser’s tab it shows only the name of the site and not the title of the actual page which should be ‘home’.
I’m using wamp locally and a custome template for each page because each has unique content so it goes like: home.php portfolio.php contact.php and about.php.
In the dashboard I have set in reading setting the Home custome template as static page. Any help would be appreciated, thanks.
- The topic ‘Title not showing on main url’ is closed to new replies.