Issue with Footer and Title Tag
-
Hi,
I am experiencing two issues with the theme on my site at asabharwal.com –1. The TItle tag is not taking up the site name and is only displaying the site URL.
2. The footer displays an error
Warning: Missing argument 1 for get_publish_footer_credits(), called in /nfs/c07/h01/mnt/98341/domains/asabharwal.com/html/cms/wp-content/themes/publish/functions.php on line 121 and defined in /nfs/c07/h01/mnt/98341/domains/asabharwal.com/html/cms/wp-content/themes/publish/functions.php on line 124
Thanks
-
Problem no 2 has been resolved.
Point 1 is still a problem wp_title does not seem to be working for me with Publish.
If I add
<?php bloginfo('name'); ?>
to the title line in Header.php I get the Site name on all pages, but do not get the blog description line on the home page.I am using no plugins apart from Jetpack and Worpit’s Twitter Bootstrap. Have tried disabling both but with no luck.
Have added the following code into the header.php and have resolved the issue at present.
<title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '-', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " - $site_description"; ?></title>
But am still unsure if the theme was to do this or not 🙂
Thanks for a great theme anyway – I can now be busy blogging.
Hey there @akhileshsabharwal, thanks so much for reporting these two issues. They will be fixed as soon as possible and you’ll get the update in 1.2.1.
Thanks for taking the time to play around with this, and glad you enjoyed the theme 🙂
- The topic ‘Issue with Footer and Title Tag’ is closed to new replies.