Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

PATCH 3723-01: Wrong META title when Front Page is a static page


  #1  
Old Mar 4, 2015, 03:20 AM
juggledad's Avatar
juggledad
 
23,511 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
NOTE: This thread Was known as 'PATCH 3722-04: Wrong META title when Front Page is a static page' but since it didn't make it to that release, I've changed the title.


If you use the built in Atahualpa SEO and set Dashboard->Settings->Reading->Front Page displays: to a static page, the meta title created will only show the blog title, not what you specify at ATO->Configure SEO->Meta Title Tag format. This fix corrects this issue

edit bfa_meta_tags.php and change lines 75-82 from
HTML Code:
		#if ( is_home() ) {
		if ( is_front_page() ) {

			return get_bloginfo('name');

		} else {

			if ( is_single() OR is_page() ) {
to
HTML Code:
		if ( is_home() ) {
			return get_bloginfo('name');
		} else {
			if ( is_single() OR is_page() OR is_front_page() ) {
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 13, 2015 at 12:19 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 3718-01: <body> statement shows category named when blog page is front page juggledad Old Version fixes and change logs 0 Sep 2, 2014 04:01 AM
[SOLVED] static page &lt;title&gt; with WP setting &quot;Front page displays: Your latest posts&quot; jgehrcke Header configuration & styling 4 Jun 7, 2011 07:04 AM
static front page, page title on header, remove content but keep sidebar questions Magic Atahualpa 3 Wordpress theme 0 Jan 25, 2010 12:12 AM
Removing page title from static front page in 3.41 or 3.42? whomadewho New Versions, & Updating 2 Jul 13, 2009 10:54 PM


All times are GMT -6. The time now is 07:06 PM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.