remove text from footer

This topic contains 7 replies, has 3 voices, and was last updated by  Alex Rollin 6 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #411483

    Javier Solorzano
    Expired Member
    Post count: 117

    Hi, I had removed previously the text that says ” Supreme Directory Theme – Powered by WordPress” with code that was given to me by your team as shown below. However, for some reason, the footer text is back. My text is still there but it has been displaced.

    What can be causing this and how can I remove it again?

    function dt_remove_default_footer() {
    remove_action( ‘dt_footer_copyright’, ‘dt_footer_copyright_default’, 10 );
    add_action( ‘dt_footer_copyright’, ‘custom_dt_footer_copyright_text’, 10 );
    }
    add_action(‘init’, ‘dt_remove_default_footer’);

    function custom_dt_footer_copyright_text(){
    echo ‘MY FOOTER INFORMATION’;
    }

    #411493

    Kor
    Moderator
    Post count: 16516

    Hi Javier,

    You can refer to the updated code snippet here in this section of the documentation https://wpgeodirectory.com/docs/faqs/how-do-i-change-the-footer-text-in-supreme/ .

    Thanks!

    #411564

    Javier Solorzano
    Expired Member
    Post count: 117

    Hi Kor,
    I replaced this code with mine and it does not work. It only shows the following:

    Copyright © 2018 Supreme Directory Theme – Powered by WordPress.

    My custom text does not appear now.

    Any ideas?

    #411591

    Javier Solorzano
    Expired Member
    Post count: 117

    any feedback on this?

    #411598

    Kor
    Moderator
    Post count: 16516

    Hi Javier,

    Please share wp-admin access in private reply and we’ll check on the backend. Sorry for the inconvenience.

    Thanks!

    #411710

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    The Snippet for Altering the Footer for Directory Starter and Supreme Directory Child themes has been updated along with the latest release of the themes and can be found here:

    https://wpgeodirectory.com/docs/faqs/how-do-i-change-the-footer-text-in-supreme/

    Be sure that you have only added the snippet once, and that older version are removed.

    Also be sure to check out all the new Directory Starter and Supreme Directory features in Customizer!

    #411824

    Javier Solorzano
    Expired Member
    Post count: 117

    Hi Alex,

    Thank you. I just added the code below you suggested and it works.

    When these type of updates occur, is there a way for me to know when it happens?

    I was not aware of this kind of updates and it’s a bit worrisome because updates that require for me to manually do something in order to fix a problem can create problems for users when the site is live.

    Any way for notifications for these updates to happen?

    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.’;

    #411836

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    All code in Snippets and Custom CSS is a customization. Before you update any themes or plugins it is recommended to load a staging site where you can evaluate the impact of the updated plugins.

    http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    When you see that updates for GeoDirectory plugins and themes have been released, you can depend on us to have tested them extensively, but we cannot test for the interaction with customizations.

    Thanks for your understanding

Viewing 8 posts - 1 through 8 (of 8 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount