Website does not work
-
When I copy and paste the code provided by Appfolio for my rental property it works just fine in the ‘preview’ mode in the block, but not in the preview mode for the website, or when I post it to the website. Any help would be much appreciated. Thank you!!
The blog I need help with is: (visible only to logged in users)
-
This is the provided code.
document.write(unescape(“%3Cscript src='” + ((‘https:’ == document.location.protocol) ? ‘https:’ : ‘http:’) + “//anaogic.appfolio.com/javascripts/listing.js’ type=’text/javascript’%3E%3C/script%3E”));
Appfolio.Listing({
hostUrl: ‘anaogic.appfolio.com’,
//propertyGroup: ‘My Group Name’,
themeColor: ‘#676767’,
height: ‘500px’,
width: ‘100%’,
defaultOrder: ‘date_posted’
}); -
Ok. I am not smart enough to figure this out, but that is not the provided code. It cuts out the first 1/2 roughly, and the last couple lines.
-
Hi there,
Is this for
anaogic.wordpress.com?That embed code will not work because we do not allow certain tags on WordPress.com (exception is the Business Plan), for security reasons, including JavaScript, Flash, iframe, form, and input tags.
These restrictions are in place to prevent any disruptions in service due to potentially malicious code.
You can read more about this here:
Let me know if you have any questions.
Thanks!
-
Javascript won’t work with a free WordPress.com site. You’d need to upgrade to the Business plan: https://en.support.wordpress.com/code/
-
Ok, what website company does that work with? I just need a super basic thing to post available apartments
-
@erleanaogiccom you can use JS with our Business plan since we have more resources dedicated to handling the complexities outside code can introduce.
If you want to run your own copy of WordPress with another host, we have some recommendations here:
https://get.wp.comAppfolio may even have a plugin you can use. Just be sure to note: when you run your own copy of WordPress, security, backups, maintenance, optimization, and support for the site will all be up to you.
Your host may offer some help, too — be sure to clarify with them what features they include and where you’re on your own. So you’ll want to be mindful of what code you put on your site, know how to restore backups if needed, and be prepared to take care of any issues you run into.
If you have more questions about running your own installation, the community forums for individual WordPress installations are over at https://wordpress.org/support/forums/
- The topic ‘Website does not work’ is closed to new replies.