You can find it in functions.php
<span class="copyright"><?php _e('Copyright','generate');?> Β© <?php echo date('Y'); ?></span> <?php do_action('generate_copyright_line');?>
And login part is below that.
Theme Author
Tom
(@edge22)
To change the copyright, you need to add a function to either your child themeβs functions.php file, or you need to pop the code in a new plugin you can create with this awesome plugin: https://wordpress.org/plugins/pluginception/
This is the code: https://gist.github.com/generatepress/36c0c52479679252af28
Okay, so I did what maroof suggested and it also removed the credit to theme. And I didn’t even take a backup of the original php file.
What code do I add back to get back the copyright line and the credit to the theme?
Hi,
Sorry for confustion, I thought you will see the part you have to remove:
?>
· <a href="<?php echo esc_url('http://generatepress.com');?>" target="_blank" title="<?php _e('GeneratePress','generate');?>"><?php _e('GeneratePress','generate');?></a> · <a href="http://wordpress.org" target="_blank" title="<?php _e('Proudly powered by WordPress','generate');?>"><?php _e('WordPress','generate');?></a> · <a href="<?php echo wp_login_url(); ?>" title="<?php _e('Log in','generate');?>"><?php _e('Log in','generate');?></a>
<?php
This is that part (copyright part).
Theme Author
Tom
(@edge22)
It’s much better to use the code I provided in a child theme or plugin. When you update the theme all changes made to core files will be removed.
Theme Author
Tom
(@edge22)
Were you able to figure this out?
Let me know π
Theme Author
Tom
(@edge22)
I’m going to go ahead and mark this as resolved as the code I provided above has been confirmed to work.
Re-post in here if you need to re-open this thread.
Thanks!
Sorry to post in this thread.
But, how do I remove the meta box (login)? Exactly, which code should I remove from functions.php?
I was able to change the copyright. But, I do not see anything for the meta box?
Appreciate if someone could point me to the correct direction.
Thank you.
I see the meta box appearing on the right sidebar. But, I am not able to remove it using my Admin Dashboard>Widgets.
Theme Author
Tom
(@edge22)
Hi there,
I’m not sure what you mean? There’s no login metabox anywhere in GP?
Everytime I attempt to have a different image for each page, they all are the same. I want something different for the home page than for the other pages. Also, it looks like there’s a line under the first half of the page because there’s an image way up top and then below, too
Theme Author
Tom
(@edge22)
Hi there,
It looks like you’re using the default Twenty Twelve theme, not GeneratePress?
How are you adding your images?
Hey Tom, you sent me this link to help changing the copyright. I used the pluginception and your code and it did the job. Wohoooo! However, It aslo gives this message after activating the plugin “The following plugins might cause (xml sitemaps) issues with Yoast WordPress SEO: Google XML Sitemaps” π
What should I do?
Thanks.
Theme Author
Tom
(@edge22)
It shouldn’t cause any issues with sitemaps – just a simple function.
You can most likely ignore that message π