• Resolved abhishekmsharma

    (@abhishekmsharma)


    Basically I just want to edit the footer and edit the copyright and remove the log in option. There was a similar question on this but I couldn’t get the solution.

    I haven’t worked with PHP files much, so any help will be appreciated.

    BTW I tried Appearance -> Editor -> footer.php but there I couldn’t find any copyright or log in text.

Viewing 15 replies - 1 through 15 (of 17 total)
  • 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://www.ads-software.com/plugins/pluginception/

    This is the code: https://gist.github.com/generatepress/36c0c52479679252af28

    Thread Starter abhishekmsharma

    (@abhishekmsharma)

    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('https://generatepress.com');?>" target="_blank" title="<?php _e('GeneratePress','generate');?>"><?php _e('GeneratePress','generate');?></a> · <a href="https://www.ads-software.com" 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 ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Edit footer’ is closed to new replies.