Can not remove form from a wordpress...

User 1929169 Photo


Registered User
2 posts

The form won't delete from these pages:

http://drakehomesinc.com/?communities=stillman-ii
http://drakehomesinc.com/?communities=orleans-square

The site is in Wordpress 4.3 but they wouldn't delete before the upgrade either. I hadn't been too concern but now we are having people asking about buying homes in these two communities, regardless of the fact that it is shown as "Sold Out." So I need to remove them.

So far the only thing that works is to remove the code off all the community pages that gives me the field to put in the contact form code and that defeats the purpose of having the forms on the Active communities.

Here is the code we are using on the single-communities.php page:

<?php if( get_custom_fields('contactform') != ""){ ?><p><h4>Request Information</h4><?php custom_fields('contactform'); ?></p><?php } ?>

Thank you!

User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Use an ftp app and manually remove the code from the pages.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1929169 Photo


Registered User
2 posts

Thank you Eric. I logged into the site via ftp and removed the file (I have a backup). When I reload the page, I get a long set of errors, warnings, that the file can not be found.

The code stays in the field and keeps looking for the files in the directory. I'm wondering if I should re-build it with no fields and see if I can copy that in and if that will at least keep them from trying to fill it out. I will let you know.

Thank you for replying.
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

I meant for you to remove the code that's referencing the files. This would allow you to leave the files in place.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.