Dynamically changing header text depending on URL in WordPress html page

Question

My shopping cart displays the order history on the last page the customer visited. For example, www.someurl.com/item1 is the last page the customer visited before checkout. An order confirmation email is sent with a link to that order as well as the customers entire order history. The link address is www.someurl.com/item1/#!/~/orderConfirmation.

I would like my header to read “item1” on www.someurl.com/item1, and “history” on www.someurl.com/item1/#!/~/orderConfirmation.

I am using WordPress 3.5.2 with a twenty-twelve child theme

Can this be accomplished? Any help is greatly appreciated

0
Michele 4 years 2020-05-29T19:10:24-05:00 0 Answers 82 views 0

Leave an answer

Browse
Browse