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 3718-01: <body> statement shows category named when blog page is front page


  #1  
Old Sep 2, 2014, 04:01 AM
juggledad's Avatar
juggledad
 
23,511 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
A new feature was added in 3.7.17 to add the categories names to the body on single post pages. It does this by testing to see if the page is an archive pages (any multi post page). If so, it does not add the category names to the <body> statement.

Turns out that if you show your posts on the landing page, it is not considered an archive page like all other multi post pages (sigh)

To fix this issue you can edit function.php and change line 925 (version 3.7.18) from
HTML Code:
	    if (!is_archive()) {	
to
HTML Code:
	    if (is_single()) {	
or replace functions.php with the attached version. This will be fixed in the next release.
Attached Files
File Type: zip functions.php.zip (9.3 KB, 308 views)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Category pages with different blog format than front page mkellam Center area post/pages 2 Mar 29, 2013 06:49 PM
[SOLVED] Both Blog page and Static Front page highlight when Blog page selected lomaprietapottery Page & Category Menu Bars 20 Jul 13, 2012 04:58 PM
PATCH 367-04: Hovering over a Post/Page title only shows "Permanent Link to " juggledad Old Version fixes and change logs 0 Jun 20, 2011 12:03 PM
[SOLVED] Background in sidebar only shows on front page tkeller Sidebars & Widgets 3 Aug 14, 2010 08:31 AM


All times are GMT -6. The time now is 04:35 AM.


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