How to put java script and PHP for custom page plugin & how to add more pages using custom page plugin ?
Disable the formatting editor for the page ,by checking the "disable automatic body formatting and allow raw HTML" check box as stated above by shadowdare.
then add the Facebook script in between div tags
<div class="facebookcomments">your script goes here</div>
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
are you specifically interested in that plugin or would
do the job. It is very easy to use.
you could add js with a mod to applications/basicpages/controllers/class.basicpagescontroller.php
but shadowdare may have a better solution that doesn't require a mod to the plugin.
but in answer to your question. your php is in CustomPages/pages/default.php
and you could add js in there with script tags.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
How to add facebook comment box in to this plugin
You can generate code for Facebook Comments that you can copy and paste onto your page from the Facebook website: https://developers.facebook.com/docs/plugins/comments/
Add Pages to Vanilla with the Basic Pages app
@Shadoedare please explain it.. how to add java script..?