I am trying to set up a Facebook feed on the SKRUM website. I would have done it by now if I could edit HTML directly. How do I add code like this when I have to use Cornerstone? Is there a code editor for existing Cornerstone pages?
Hi Michael,
Thanks for reaching out.
It is not very clear what exactly you are trying to acheive here. If you want to inject some code in the Header or Footer you can go through the following article and can use the plugin. But please remember that we don’t provide any support for custom coding-related issues.
If that is not the case and you are trying to point out something else, please elaborate a bit more for further assistance.
Thanks
Hi @tristup. I have been creating websites, using HTML (plus) for over 30 years. I just need to know how to add code (from Facebook) to a Cornerstone-created page. Where do I even find the head? And the place where I wanted to add the div from Facebook on the page itself just tells me about a “Row” and a “Column”. On other pages on this site (which I took over from a developer who used X and Cornerstone to create the site) there have been blocks where I could edit the HTML. But on the page I am now working with, there is no such obvious block.
Thank you for the update. You cannot directly edit the content of the head tag in the Cornerstone builder, but you can use hooks such as wp_head
or wp_footer
, or install plugins like the ones suggested above to insert content such as custom scripts or html in the header, footer or other areas of the site. Hope this clear things up a bit.
UPDATE: Another option is to use the Custom Code > Global JS field if you intend to insert Javascript code.
Thank you, @Ismael. There are some useful suggestions in your reply. And I’d forgotten about the custom code inserting option (even though I used it a while ago!)
You’re welcome! Please don’t hesitate to open another thread if you have more questions. Have a nice day.