Defining what content shows up based on page type

Quick code to define what content shows up based on page type. I had to have different containers show up depending on page.

The Code

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Remove unwanted script from WP Header

I’ve noticed that WordPress adds tons of unwanted script to the header. I totally get why, but for highly focused themes, I like to remove as much as I can. This decreases page load times, eliminates render-blocking resources, and optimizes the First Link Priority Rule. The Script Using the script below, add it to your… Read More

Redirect form after submit

Add the onClick values onClick values *replace f0rm with form, I didn’t want the form to render on this website.