Skip to main content
lushiris02's user avatar
lushiris02's user avatar
lushiris02's user avatar
lushiris02
  • Member for 6 years
  • Last seen more than 2 years ago
comment
awarded
Loading…
asked
Loading…
answered
Loading…
awarded
awarded
awarded
awarded
Loading…
Loading…
awarded
awarded
accepted
comment
Issues with if, else, and elseif statements
Yes - I was just searching for that. I think the plugin the other developer installed is mucking things up. I think I'm going to have to remove that and properly declare other templates for the posts to get the right classes. Really appreciate your help.
comment
Issues with if, else, and elseif statements
That list of IDs is for specialty products which is a major change for another product like that. I'd be surprised if we add even just one in the next five years. Is there a way to add a specific class that would get added to the body that I could declare in that product-specialty.php template?
comment
Issues with if, else, and elseif statements
So unfortunately, I have over 100 products and then 70+ other pages, so trying to write out each one seems impractical, especially since we'll need to add new products (but not these specialty products that are referenced above) and locations all the time (both custom post types). Another issue is that we do have some jQuery so that when transparent, it goes to the red background on scroll - it's a sticky header. I do like the elegance of your solution, just not sure how to implement at this scale.
asked
Loading…