• Resolved asgoedkoop

    (@asgoedkoop)


    Hi,

    How does one delete the “Theme designed by CPOThemes.” in the footer?

    On all previous themes I have worked on it was simply a matter of deleting some html code in the footer.php file to be found under Appearance -> Editor.

    However, here I get the following code on this Allegiant theme:

    <?php do_action(‘cpotheme_after_main’); ?>

    <?php get_sidebar(‘footer’); ?>

    <?php do_action(‘cpotheme_before_footer’); ?>
    <footer id=”footer” class=”footer secondary-color-bg dark”>
    <div class=”container”>
    <?php do_action(‘cpotheme_footer’); ?>
    </div>
    </footer>
    <?php do_action(‘cpotheme_after_footer’); ?>

    <div class=”clear”></div>
    </div><!– wrapper –>
    <?php do_action(‘cpotheme_after_wrapper’); ?>
    </div><!– outer –>
    <?php wp_footer(); ?>
    </body>
    </html>

    All tips welcome, any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @asgoedkoop,

    Removing this code for footer.php should do it for you:

    <div class=”container”>
    <?php do_action(‘cpotheme_footer’); ?>
    </div>

    All the best,
    Mihaela

    Hey,
    When I remove this code, the entire line, together with the copyright and site name is removed.

    Is there a betters solution?

    Thnx

    You can find it in the file markup.php

    //Print footer copyright line
    if ( ! function_exists( ‘cpotheme_footer’ ) ) {
    function cpotheme_footer() {
    echo ‘<div class=”footer-content”>’;
    echo ‘© ‘ . get_bloginfo( ‘name’ ) . ‘ ‘ . date( ‘Y’ ) . ‘. ‘ . sprintf( __( ”, ‘allegiant’ ), esc_url( CPOTHEME_PREMIUM_URL ), esc_attr( CPOTHEME_NAME ) );
    echo ‘</div>’;
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove “Theme designed by CPOThemes.” in Footage’ is closed to new replies.