• Resolved danishfareed

    (@danishfareed)


    Dear team,

    The theme is great for any kind of website, but how can I remove the copyright options from the footer? I tried removing the action call but wasn’t able to do so, can you help me with it?

    add_action( 'init', 'remove_copyright_action');
    function remove_copyright_action() {
         remove_action( "greenlet_after_footer_0_columns", 'greenlet_footer_text', 9);
    }

    This is a business website, having copyrights will not look good. Hope you understand

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Greenlet Team

    (@greenlet)

    Hi, we do understand the need for a simple option to remove/change the copyright section. We are considering all the possibilities and will come up with the best possible solution in the upcoming version.

    Currently, please use the following to remove the copyright section completely:

    function remove_copyright_action() {
    	remove_action( "greenlet_after_footer_1_columns", 'greenlet_footer_text' );
    }
    
    add_action(  'greenlet_after_footer_1_columns', 'remove_copyright_action', 9 );

    Note: footer_1 is the first footer row. The above action runs after rendering all the columns in footer_1.

    Alternatively, you can use the following to change the content of the copyright section:

    function mysite_copyright() {
    	echo 'Alternative copyright section';
    }
    
    add_filter( 'greenlet_copyright', 'mysite_copyright' );

    Hope that helps. Please let us know if you are facing difficulties to achieve the same.

    Thanks,
    Greenlet Team

    Theme Author Greenlet Team

    (@greenlet)

    Hi, Copyright section is now converted to a footer item. You can easily remove this section under Customize > Layout > Footer Layout > Footer {n} Items and add different items like widgets, menus and PHP templates. remove_action example given above is no longer needed. However, changing the copyright content via filter still works.

    Thanks,
    Greenlet Team

    Thread Starter danishfareed

    (@danishfareed)

    Thank you soo much for your response.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why is the copyright from functions? How to remove it?’ is closed to new replies.