title: Wordpress: Display different navbar & widgets based on users landing page
body: <p>With Wordpress looking to display different navbar, footer &amp; widgets, based on a users landing page.</p>
  
  <p>So is there a way to set a cookie, or take the landing page url and set as a variable throughout the visitors experience. They would NOT be logged in users.</p>
  
  <p>For example they go from a landing page about /new-york to a blog page, and then navigation retains the new-york navbar on the blog pages.</p>
  
  <p>Similarly inside a marketing banner area, there'd be a different widget depending on the landing page. E.g. the detroit landing page vistor sees a car widget, and the new york landing page visitor sees a (stereotypical ) pizza widget.</p>