How to Remove Footer Credit on wordpress themes?

Flash is multipurpose, easy, flexible and feature-rich theme. It has drag and drop page builder that makes it more advanced. Flash is available in free and premium version. Free version does not allow you to change the footer credit text. To change the footer credits just add this code in your child theme ‘function.php’ or if you have any custom plugin you can put this code in your plugin.

<?php
//copy below this line, you shouldn’t include <?php
//paste this code in your function.php
//flash footer editor
if (! function_exists(‘flash_custom_credits’)) {
add_action(‘init’,’remove_default_flash_credits’);
function remove_default_flash_credits(){
remove_action(‘flash_copyright_area’,’flash_footer_copyright’);
}
add_filter(‘flash_copyright_area’, ‘flash_custom_credits’);
function flash_custom_credits(){
$credit_value ='<div class=”copyright”><span class=”copyright-text”>Copyright &copy; ‘ . date(‘Y’) . ‘ <a href=”‘ . esc_url( home_url( ‘/’ ) ) . ‘” title=”‘ . esc_attr( get_bloginfo( ‘name’, ‘display’ ) ) . ‘” ><span>’ . get_bloginfo( ‘name’, ‘display’ ) . ‘.</span></a> ‘ .get_option(‘flash_custom_credits’). ‘</span></div>’;
echo $credit_value;
}
}
if (! function_exists(‘flash_custom_options’)) {
add_action(‘customize_register’, ‘flash_custom_options’, 100, 1);
function flash_custom_options( $wp_customize ) {
$wp_customize->add_section(‘flash_footer_options’, array(
‘capabitity’ => ‘edit_theme_options’,
//’priority’ => 0,
‘title’ => __(‘Footer’, ‘flash’)
));
$wp_customize->add_setting( ‘flash_custom_credits’ , array(
‘default’ => ‘<br/>Configure in Appearance => Customize => Footer’,
‘transport’ => ‘refresh’,
‘capability’ => ‘edit_theme_options’,
‘type’ => ‘option’,
) );
$wp_customize->add_control( new WP_Customize_Control( $wp_customize, ‘flash_custom_credits’, array(
‘label’ => __( ‘Footer Text’, ‘flash’ ),
‘section’ => ‘flash_footer_options’,
‘settings’ => ‘flash_custom_credits’,
) ) );
}
}
?>

view rawflashfooter.php hosted with 

❤

 by GitHub

If you have problem on editing your child theme or you don’t have any child theme, you can use this plugin. Just download and install this plugins and it starts working.

After installing this plugin you may able to edit footer text from theme customizer.

Leave a Reply

Your email address will not be published. Required fields are marked *

how-to-remove-footer-credit-on-wordpress-themes
Facebook
Facebook