| |

WP Twenty Eleven – Header Image Only On Home Page

Goal: Display header image only on Home page (WP Twenty Eleven) and no header images on any other pages/posts Details: Rotating images in header on Home page, via WP Rotator plugin Solution: Use Conditional Tags in header.php: File: header.php (Copy & paste header.php from Twenty Eleven parent folder to Twenty Eleven Child folder) Replace (lines…

| |

WordPress Child Theme – Header Rotating Images on Home Page Only

WordPress version: 3.1.3 Parent theme: TwentyTen 1.2 Header rotating images should only display on the Home page and not the inside Pages, Posts or blog page. The Home page is a child theme template (front.php), which makes it easy to control via WordPress conditional tags. File: Header.php (in the child theme folder) Replace: elseif (…