A
|
acpan 7/17/2021 |
For inspiration:
if ($_REQUEST["page"] == "myPage" ) } Note: if you don't want to duplicate the page, you can also simply use php command parse_url() to parse the URL and include the js file based on the generated unique URL string of the page. you can do the condition check both at the before process event of the page or header.php, if i am not wrong. hope it helps. |
D
|
DRCR Dev author 7/17/2021 |
Thank you that makes sense and this is great approach. I only want certain part of the site to have access to the chat and it gives that flexiability. Thanks for your help ! :-) |