Убрать ссылки с WP шаблона

N
На сайте с 21.02.2013
Offline
27
399

Уважаемые форумчане, будьте добры подскажите пожалуйста как убрать ссылки в футере шаблона на вордпресс

в bottom.php шаблона есть вот такой код

<?php

if ($SMTheme->get( "layout","footertext" )) {
echo $SMTheme->get( "layout","footertext" );
} else {
?>Copyright &copy; <?php echo date("Y"); ?> <a href="<?php echo home_url(); ?>"><?php bloginfo("name"); ?></a><?php
echo (get_bloginfo('description'))?' - '.get_bloginfo('description'):'';
}
?>
</div>
<?php /*
All links in the tag <div class='smthemes'> are attribution of the theme developers and should remain intact.
It's protected by Creative Commons License (http://creativecommons.org/licenses/by/3.0/).
Warning! Your site will not be able to work if these links are edited or deleted.
You can buy this theme without footer links online at http://smthemes.com/buy/clinicpress/
*/ ?>
<div class='smthemes'>Designed by <a href='http://www.streamline-surgical.com' target='_blank'>gastric bypass surgery</a>, thanks to: <a href='http://www.streamline-surgical.com' target='_blank'>bariatric surgery</a>, <a href='http://jdis.co/' target='_blank'>JDis.co</a> and <a href='http://sjthemes.com/' target='_blank'>SJThemes.com</a></div>
</div>

в footer никаких ссылок,вот код футера шаблона

<?php

// html code of the footer placed in bottom.php
global $SMTheme, $return;
if (!isset($_POST['smt_layout'])||$_POST['smt_layout']!=$SMTheme->layout) {
?> </div><!-- #content --><?php
}

if ( isset($_POST['smt_layout'])) {
$return['content']=ob_get_contents();
$return['layout']=$SMTheme->layout;
$return['sidebars_type']=$SMTheme->sidebars_type;
ob_end_clean();
}


if(!isset($_POST['smt_layout'])){
get_template_part('bottom');
} else {
header('Content-type: application/json');
echo json_encode($return);
}


---------- Post added 17-12-2013 at 11:26 ----------

UPD Проблема решена

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий