Created
November 9, 2015 00:14
-
-
Save dryan1144/b3171f551c446f31beb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (is_product()) { | |
echo '<h1>Register</h1>'; | |
} elseif (is_cart()) { | |
echo '<h1>Review Order</h1>'; | |
} elseif (is_wc_endpoint_url('order-received')) { | |
echo '<h1>Confirmation</h1>'; | |
} elseif (is_checkout()) { | |
echo '<h1>Checkout</h1>'; | |
} else { | |
the_title('<h1>','</h1>'); | |
} ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment