Customizing the copyright footer

This topic contains 3 replies, has 3 voices, and was last updated by  Kor 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #523462

    bivid
    Expired Member
    Post count: 5

    Added the provided code snippet using the Code Snippets plugin as advised on the following URL: https://wpgeodirectory.com/docs-v2/themes/directory-starter/#footer

    Please see attached screen shots. Have a parsing error I cannot overcome. Keeps stating “;” is expected, but the character is there on the line it is supposed to be on.

    When activated, the snippet causes a fatal error.

    Any suggestions? Thanks!

    #523470

    Guust
    Moderator
    Post count: 29970

    Try changing all the curly quotes with straight quotes.
    Let us know. Thanks

    #523727

    bivid
    Expired Member
    Post count: 5

    Thanks Guust. Actually, the following CSS removed the copyright:

    p.copyright-text {
    display:none!important;
    }

    I used the code snippet tool and my site crashed. Had to completely reinstall new MySQL and WP. Then found the CSS code in another post – it works to remove the copyright.

    So now I have 2 other questions:

    1.) How can I add my own copyright to the footer in supreme directory?
    2.) How can I remove the mobile hamburger menu (want to use my own menu app).

    Thanks! -Jon

    #523750

    Kor
    Moderator
    Post count: 16516

    Hi Jon,

    Thanks for your reply. You shouldn’t remove it using the custom CSS code. To change the copyright, use the following code. Insert into the Code Snippets plugin https://wordpress.org/plugins/code-snippets/ .

    add_action('after_setup_theme', '_my_sd_footer_changes',15);
    function _my_sd_footer_changes(){
    remove_action( 'dt_footer_copyright', 'dt_footer_copyright_default', 10 );
    remove_action( 'dt_footer_copyright', 'sd_footer_copyright_default', 10 );
    add_action( 'dt_footer_copyright', 'custom_dt_footer_copyright_text', 10 );
    }
    
    function custom_dt_footer_copyright_text(){
    echo '© 2018 Supreme Theme LLC. All Rights Reserved.';
    }

    use this custom CSS code below into WP > Appearance > Customize > Additional CSS.

    .dt-nav-toggle.dt-mobile-nav-button-wrap {display:none;}
Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket