Questions that need to be answered before merging:
[ ] Is this PR targeting the correct branch in this repository?
[ ] does this run on any places that are not the homepage?
Steps to test this PR:
Find the term ID of the "From the Newsroom" category. If you've got a DB dump more recent than Monday, it's 3952. In Dashboard > Appearance > Theme Options > Layout > Other Homepage Display Options, put that ID in the "Categories to include or exclude" box, and save the theme options
tail your debug log. This is the mechanism by which you can check whether this is running on non-homepage requests.
Visit the homepage:
there should be a lot of log noise.
Visit the admin:
there should be no log noise
Visit term archives, author pages, category archives:
there should be no log noise
Once this has been verified to work on a computer other than mine, I'll remove the error_log generating all the noise, and deploy this to staging.
For https://github.com/INN/umbrella-sfpublicpress/issues/104
Changes
This pull request makes the following changes:
Why
For #104
Testing/Questions
Features that this PR affects:
Questions that need to be answered before merging:
Steps to test this PR:
3952
. In Dashboard > Appearance > Theme Options > Layout > Other Homepage Display Options, put that ID in the "Categories to include or exclude" box, and save the theme optionsOnce this has been verified to work on a computer other than mine, I'll remove the
error_log
generating all the noise, and deploy this to staging.