but from where in the code i put above?If its outside the php stuff (which it looks like it is from your post) you should just be able to delete it ?
/**
* Footer credits
*/
$credits = get_theme_mod( 'footer_credits' );
?>
<div class="site-info col-md-12">
<?php if ( $credits == '' ) : ?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'airi' ) ); ?>"><?php
/* translators: %s: CMS name, i.e. WordPress. */
printf( esc_html__( 'Proudly powered by %s', 'airi' ), 'WordPress' );
?></a>
<span class="sep"> | </span>
<?php
/* translators: 1: Theme name, 2: Theme author. */
printf( esc_html__( 'Theme: %2$s by %1$s.', 'airi' ), 'aThemes', '<a href="https://athemes.com/theme/airi">Airi</a>' );
?>
<?php else : ?>
<?php echo wp_kses_post( $credits ); ?>
<?php endif; ?>
</div><!-- .site-info -->
check the template-funtions.php file
probably this bit you want i would have thought. Poke around in there
:Code:/** * Footer credits */ $credits = get_theme_mod( 'footer_credits' ); ?> <div class="site-info col-md-12"> <?php if ( $credits == '' ) : ?> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'airi' ) ); ?>"><?php /* translators: %s: CMS name, i.e. WordPress. */ printf( esc_html__( 'Proudly powered by %s', 'airi' ), 'WordPress' ); ?></a> <span class="sep"> | </span> <?php /* translators: 1: Theme name, 2: Theme author. */ printf( esc_html__( 'Theme: %2$s by %1$s.', 'airi' ), 'aThemes', '<a href="https://athemes.com/theme/airi">Airi</a>' ); ?> <?php else : ?> <?php echo wp_kses_post( $credits ); ?> <?php endif; ?> </div><!-- .site-info -->
Forget trying to do it from *within* wordpress. Find the line of code in the actual php files and just delete it if it's not in your templates.