Closed benlk closed 4 years ago
This is now :deployed: to staging and ready for review.
figure out what's causing timeouts
I think the problem here happens when there are no posts found for the specific query.
For example: http://staging.current.flywheelsites.com/local-projects/?projects-search=&tax_input%5Bproject-org-type%5D%5B%5D=&tax_input%5Bproject-category%5D%5B%5D=6996&tax_input%5Bproject-category%5D%5B%5D=6997 works and there are 36 results found.
The issue is happening when 0 results are found and the projects-single-held.php
file is trying to be loaded because it assumes that $query->the_post
is not empty.
Putting the include()
function for the holder file here inside of a if ( $query->have_posts() )
conditional fixes the issue.
https://github.com/INN/umbrella-currentorg/blob/c7f89c02b1c1dee47474494bae43f56bb7f40d05/wp-content/themes/currentorg/partials/projects-base.php#L70
Solution for the above committed in https://github.com/INN/umbrella-currentorg/pull/146/commits/0ce254f71985d91667702f6e3b8eb2d1b17425d5
Desktop:
Narrow desktop:
Phone:
@benlk can we merge/close this since it's already on staging?
Changes
This pull request implements the following portion of https://github.com/INN/umbrella-currentorg/issues/137#issuecomment-639686424:
<select>
changesIt also:
summary
in thedetails
full width when thedetails
is openWhy
For https://github.com/INN/umbrella-currentorg/issues/137
Testing/Questions
Features that this PR affects:
Questions that need to be answered before merging:
Steps to test this PR:
<details>
closes, only if the checkboxes checked have changed.disabled
: