Title: patchworkcloud's Replies | WordPress.org

---

# patchworkcloud

  [  ](https://wordpress.org/support/users/patchworkcloud/)

 *   [Profile](https://wordpress.org/support/users/patchworkcloud/)
 *   [Topics Started](https://wordpress.org/support/users/patchworkcloud/topics/)
 *   [Replies Created](https://wordpress.org/support/users/patchworkcloud/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/patchworkcloud/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/patchworkcloud/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/patchworkcloud/engagements/)
 *   [Favorites](https://wordpress.org/support/users/patchworkcloud/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Banner - Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website] How to remove “This is default text for notification bar Learn More”](https://wordpress.org/support/topic/how-to-remove-this-is-default-text-for-notification-bar-learn-more/)
 *  Thread Starter [patchworkcloud](https://wordpress.org/support/users/patchworkcloud/)
 * (@patchworkcloud)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/how-to-remove-this-is-default-text-for-notification-bar-learn-more/#post-17161364)
 * My mistake, a different plugin was in the way, unrelated to Simple Banner.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Add date and time to post-title on non-static front page (twenty twelve)](https://wordpress.org/support/topic/add-date-and-time-to-post-title-on-non-static-front-page-twenty-twelve/)
 *  Thread Starter [patchworkcloud](https://wordpress.org/support/users/patchworkcloud/)
 * (@patchworkcloud)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/add-date-and-time-to-post-title-on-non-static-front-page-twenty-twelve/#post-3482411)
 * My changes to content.php did not display on the non-static homepage because 
   I only added it to the <? php if ( is_single() ) : ?> consequent and not the 
   else alternative.
 * I added the same <?php the_time(‘F j, Y’); ?> to the else of the conditional 
   and got exactly what I wanted.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Theme: Twenty Twelve] What .php template is used for home page (not static)?](https://wordpress.org/support/topic/theme-twenty-twelve-what-php-template-is-used-for-home-page-not-static/)
 *  Thread Starter [patchworkcloud](https://wordpress.org/support/users/patchworkcloud/)
 * (@patchworkcloud)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-what-php-template-is-used-for-home-page-not-static/#post-3486449)
 * So I understood the template hierarchy and thought the non-static template for
   the home page should be index.php (the one within the theme).
 * However, I could not figure out why my changes to the content.php file (called
   by the index.php file) were not appearing in my site. Consequently, I thought
   that there must be another template file for the homepage that was overriding
   content.php. Turns out I was making the changes to the if statement of a conditional,
   when the else statement was the one displaying on my site, causing those changes
   to not appear.
 * My resolution was to pay closer attention to the conditionals and add the php
   calls I wanted multiple times — within the correct if and else parts of the template
   to the content.php file.

Viewing 3 replies - 1 through 3 (of 3 total)