• Hi,
    Beginner here. Like so many others, I’m investigating how to remove/change the theme copyright notice in the footer of my site. I’ve discovered several ways to accomplish this, but one question is unanswered. Most remedies consist of altering the code in footer.php, however the actual copyright notice is not present in this file for altering. I believe it is generated somehow from the do_action( ‘catchbase_footer’ ); line of code (see below). Is this correct? If it is correct, can someone please explain where this action is called from? Where does it reside please? Is it generated from an add_action function and if so, where would one look for it? I’ve searched all the theme files and cannot find this ‘catchbase_footer’ string anywhere.

    Very curious,
    Rip

    <?php
    /**
     * The template for displaying the footer
     *
     * @package Catch Themes
     * @subpackage Catch Base
     * @since Catch Base 1.0 
     */
    ?>
    
    <?php 
        /** 
         * catchbase_after_content hook
         *
         * @hooked catchbase_content_sidebar_wrap_end - 10
         * @hooked catchbase_sidebar_secondary (three-column) - 20 
         * @hooked catchbase_content_end - 30
         * @hooked catchbase_featured_content_display (move featured content below homepage posts) - 40 
         *
         */
        do_action( 'catchbase_after_content' ); 
    ?>
                
    <?php                
        /** 
         * catchbase_footer hook
         *
         * @hooked catchbase_footer_content_start - 30
         * @hooked catchbase_footer_sidebar - 40
         * @hooked catchbase_get_footer_content - 100
         * @hooked catchbase_footer_content_end - 110
         * @hooked catchbase_page_end - 200
         *
         */
        do_action( 'catchbase_footer' );
    ?>
    
    <?php               
    /** 
     * catchbase_after hook
     *
     * @hooked catchbase_scrollup - 10
     * @hooked catchbase_mobile_menus- 20
     *
     */
    do_action( 'catchbase_after' );?>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>
Viewing 6 replies - 1 through 6 (of 6 total)
  • @rippert: Hello there,
    First of all before making any changes to theme files I suggest you to create a child theme otherwise all the changes you make to the theme will be lost when you update the theme to newer versions.

    To edit the footer you will need to override the function catchbase_get_content() in catch-base/inc/catch-base-default-options.php on your child theme. By editing the function on your child theme you can edit the footer section of your site.
    If you do not know how to create a child theme you can use Generate Child Theme Plugin.

    Let me know if this helps you out!

    For swift replies please post your issues and queries on Our Official Theme Support Forum https://catchthemes.com/support-forum/

    Kind Regards,
    Skandha

    Thread Starter rippert

    (@rippert)

    Hello @skandha,
    Yes this was very helpful.
    I have installed the plugin and created a child theme. Can you tell me how to override the function?

    Many thanks!
    Ripper

    @rippert: Please let me know what you would like to change (text changes) to the current footer so that I can provide you the code accordingly. Also do post in your site URL that will be helpful.

    Kind Regards,
    Skandha

    Thread Starter rippert

    (@rippert)

    I would like it to say

    Design by Dazzle Cleaning Service

    (with hyperlink to https://www.dazzlecleaning.com)

    URL is https://patandvern.com

    many thanks,

    Rip

    @rippert: There are some detail information I need to share with you regarding this.
    There are chances of getting a fatal error even with a small mistake when you are working with a child theme. So can you please come to our support forum https://catchthemes.com/support-forum/ so that I can provide you the step by step procedure to achieve this? If needed I will make the changes my self and email you the .zip of the child theme.

    I hope this helps you out!
    Kind Regards,
    Skandha

    Thread Starter rippert

    (@rippert)

    Hi, @skandha
    Posted this on your catch themes support forum.

    Thank you.

    Rip

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘do_action’ is closed to new replies.