Custom Copyright Text
-
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.
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..
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.phpfile,<?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.
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
