can i remove this codes forum function.php

Posted in: Newspaper
Post count: 101

i dont use demo meta. Can i remove this? i just delete demo folder.


/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action('wp_footer', 'td_theme_style_footer');
function td_theme_style_footer() {
?>
<div id="td-theme-settings" class="td-theme-settings-small">
<div class="td-skin-header">One click demos</div>
<div class="td-skin-content">
<div class="td-set-theme-style">DEFAULT</div>
<div class="td-set-theme-style">FASHION</div>
<div class="td-set-theme-style">TECH</div>
<div class="td-set-theme-style">VIDEO</div>
<div class="td-set-theme-style">SPORT</div>
<div class="td-set-theme-style">CLASSIC BLOG</div>
<div class="td-set-theme-style">TRAVEL<span>New</span></div>
<div class="td-set-theme-style">HEALTH<span>New</span></div>
<div class="td-set-theme-style">CARS<span>New</span></div>
</div>
<div class="clearfix"></div>
<div class="td-set-hide-show">HIDE</div>
</div>
<?php
}
}

//td_util::update_option('tdx_remote_http', '');
//die;
//if (!is_admin()) {
// $result = tdx_remote_http::get_page('http://reddit.com');
// echo $result;
// die;
//}

//print_r(td_remote_video::youtube_api_get_videos_info(array('JgI8DyDCESw', 'f5qepzrQm9U', 'UGdRyPN3IRk')));
//
//print_r(td_remote_video::vimeo_api_get_videos_info(array('141710401', '135900733', '135911266')));
//die;

Post count: 22421

Hello,
If you do not use a demo, then it is probably safe to remove the code, but if you use a demo (the default demo counts) then you will need to leave it as it is. I cannot provide a precise answer to this as it will have to be tested thoroughly to see if it will not create other problems, but at a first inspection I could not find anything wrong in removing it. (I recommend commenting it out instead of deleting)
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.