Community Forums › Forums › Design Tips and Tricks › trying to remove footer in plugin
This topic contains 5 replies, has 3 voices, and was last updated by anitac 3 months, 2 weeks ago.
-
AuthorPosts
-
March 4, 2013 at 8:18 pm #24246
Hello;
I am trying to remove the disclaimer in the bottom left corner of http://phoenixhomesforsalehq.com
Here is what is in the plugin’s footer.php, can someone tell me where it is fetching the disclaimer from or how to tweak the code to get rid of this?
<?php
class dsidx_footer {
static $disclaimer_queued = false;static function ensure_disclaimer_exists() {
if (self::$disclaimer_queued)
return;add_action(“wp_footer”, array(“dsidx_footer”, “insert_disclaimer”));
self::$disclaimer_queued = true;
}static function insert_disclaimer() {
global $wp_query;if (is_array($wp_query->query)
&& ((isset($wp_query->query["idx-action"]) && $wp_query->query["idx-action"] == “details”)
|| (isset($wp_query->query["idx-action"]) && $wp_query->query["idx-action"] == “results”))
)
return;$apiParams = array();
$apiParams["responseDirective.IncludeDsDisclaimer"] = (defined(‘ZPRESS_API’) && ZPRESS_API != ”) ? “false” : “true”;$disclaimer = dsSearchAgent_ApiRequest::FetchData(“Disclaimer”, $apiParams);
echo $disclaimer["body"];
}
}March 4, 2013 at 8:31 pm #24249There’s two places you can look.
The first place – go to Genesis Settings > Scroll down to where there are two boxes – one marked Header, the other Footer. If there is anything in the Footer – REMOVE IT and save.
If the first option doesn’t work, the second would be – do you have Genesis Simple Hooks installed? If so, go to Genesis Simple Hooks under the Genesis tab. Scroll thru there to see if there is content inside any of the boxes. If you find it – remove it and save.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsMarch 4, 2013 at 8:51 pm #24254If I read you correctly the content is being placed by a plugin, is it the IDX one? If the plugin is inserting the data, finding out the answer for the question might be easier by searching the plugin’s forums.
I wouldn’t recommend editing the plugin’s footer or else the changes will all be undone next time you upgrade.
March 4, 2013 at 8:55 pm #24257Add this to your Style.css file. It should remove it.
.dsidx-standalone-disclaimer {
display: none;
}
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsMarch 4, 2013 at 9:00 pm #24258It worked!!!!!!!!!!!!!
Mucho thanks!
March 4, 2013 at 9:02 pm #24260Just place it at the very bottom.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered posts -
AuthorPosts
You must be logged in to reply to this topic.