• I managed to create a childtheme for sixteen. But I can’t seem to be able to remove the credits ‘sixteen theme by inkhive’ in the footer.

    this is what the footer.php contains

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the #content div and all content after
    *
    * @package Sixteen
    */
    ?>

    </div><!– #content –>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>

    <div class=”container”>
    <?php if ( of_get_option(‘credit1’, true) == 0 ) { ?>
    <div class=”site-info”>
    <?php do_action( ‘sixteen_credits’ ); ?>
    <?php printf( __( ‘Sixteen Theme by %1$s’, ‘sixteen’ ), ‘InkHive‘ ); ?>
    </div><!– .site-info –>
    <?php } //endif ?>
    <div id=”footertext”>
    <?php
    if ( (function_exists( ‘of_get_option’ ) && (of_get_option(‘footertext2’, true) != 1) ) ) {
    echo of_get_option(‘footertext2’, true); } ?>
    </div>

    </div><!–.container–>
    </footer><!– #colophon –>
    </div><!– #page –>

    <?php wp_footer(); ?>
    </body>
    </html>

    Can someone help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You will want to check the license to use the theme, it might require you to leave it there. If not, then read on:

    Some themes give you instructions on where to change the “Theme By” variable, which is %1$s in your code. The theme I used is designed to be modified using the GNU license and listed the various places to change the information.

    You can change this line:

    <?php printf( __( 'Sixteen Theme by %1$s', 'sixteen' ), 'InkHive' ); ?>

    to read

    <?php printf( __( 'RocksAndBubbles Theme by RocksAndBubbles', 'rocksandbubbles' ), 'InkHive' ); ?>

    BUT, like I said, make sure you are not violating any license agreement, if so, it is better to go find another theme that allows you to do what ever you want to it.

    You can remove it in the theme settings:

    WordPress Dashboard –> Appearance –> Sixteen Settings –> Support –> Theme Credits. Tick the box.

    Thread Starter rocksandbubbles

    (@rocksandbubbles)

    That worked perfectly! Didn’t know that easy option 😉 Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove credits in theme sixteen’ is closed to new replies.