Created
July 2, 2021 13:30
-
-
Save akroii/8888a3efba3deb269c0ff94cd85245c6 to your computer and use it in GitHub Desktop.
get page alias
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 | |
global $objPage; | |
echo substr($objPage->alias, strrpos($objPage->alias, '/') + 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment