Issues Adding Custom Code to a Page
-
Hello!
I am attempting to add two lines of code to a new page. This code should activate calendar integration from an online booking software called Classfit, which specifically states it is compliant with WordPress. I am not super well-versed in code, so I am hoping I may be doing something wrong?
I have these instructions for inputting the code:
Please follow the below instructions to install this on your website.
1. Copy and paste this code where you would like your calendar to appear on your website.
<div id=”VA-iframe-container” style=”height: 190px;width: 100%;”></div>2. Copy and paste this code at the bottom of the webpage you would like your calendar to appear on.
https://classfit.com/iframe-files/9c4aefb4b1fff4e1816dcb01488d2a5e/iframe-9c4aefb4b1fff4e1816dcb01488d2a5e.jsUsing the instructions above, I have created a new page, copied and pasted the code with no success. I’ve used the Code Block, and I have also tried copy/paste the code in the code editor.
Nothing seems to be working. At best, it displays a link. At worst, it doesn’t display anything.
Am I doing something wrong, or is WordPress striping the code?
Thank you for your help!
Katie
The blog I need help with is: (visible only to logged in users)
-
Also – the second component of code in my comment above didn’t display correctly, so I added a space before and after the first and last character. Thanks for your help!
< script src=”https://classfit.com/iframe-files/9c4aefb4b1fff4e1816dcb01488d2a5e/iframe-9c4aefb4b1fff4e1816dcb01488d2a5e.js”></script >
-
Does your site have a Business plan? That would be required here at WordPress.com to use iframes.
https://wordpress.com/support/code/ -
@worldmapsandyogamats, as @themagicrobot mentioned, you would need to upgrade your plan to Business to be able to add that code properly:
https://wordpress.com/support/business-plan/.For any other doubt, remember that you can access Live Chat directly via https://wordpress.com/help/contact. That way, you can get help faster :).
-
Thanks everyone! I did upgrade to a Business Plan, and it still won’t work. I’ll try the live chat function. Thanks for the help!
- The topic ‘Issues Adding Custom Code to a Page’ is closed to new replies.