Custom Copyright Text

  • harman79

    #6618

    Hi all,

    is there a way to remove the copyright header from my copyright text. I just want to have my own text there.

    Thanks,

    Harry

    Prasanna SP

    #34884

    Go to Graphene Options –> Footer Options and uncheck Use Creative Commons license for content. Then type your copyright text in Copyright text (html allowed) text area.

    harman79

    #34885

    Prasanna thanks..

    However, my “Use Creative Commons license for content” is already unchecked. Still, the header “Copyright” remains there. If I check the “Do not show copyright info”, then it hides everything. I located the copyright part of the php code but could not locate the default “copyright” text to disable it..

    Prasanna SP

    #34886

    Okay, do you want to remove Copyright header or do you want to have your own text there?

    If you want to hide Copyright, add this to Custom CSS

    #copyright h3 {
    display: none;
    }

    If you want to change Copyright text to something else, add this to child-theme‘s functions.php file,

    <?php
    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Copyright' => 'Copyright info',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    In the 3rd line, change Copyright info to something else.

    harman79

    #34887

    Prasanna,

    excellent mate! Used the custom css option!

    Your help is much appreciated.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.