• Resolved eholz1

    (@eholz1)


    Hello Members,
    I am using the Activation theme from GoDaddy/Wordpress. It is a child theme of Primer.
    I am trying to find the code where the footer text is stored for this theme.
    I want to change it. It uses this code to load the footer info:
    <div class=”site-footer-inner”>

    <?php
    /**
    * Fires inside the <footer> element.
    *
    * @since 1.0.0 */

    do_action( ‘primer_footer’ );

    ?>

    </div><!– .site-footer-inner –>

    </footer><!– #colophon –>

    <?php
    /**
    * Fires after the <footer> element.
    *
    * @since 1.0.0 */

    do_action( ‘primer_after_footer’ );

    ?>

    I am trying to find the ref to those arguments in the do_action() function. Any idea where to look
    for this info?
    Thanks
    ewholz

Viewing 5 replies - 1 through 5 (of 5 total)
  • look into all functions files of your theme, and look for add_action('primer_footer', ..... ); and possibly add_action('primer_after_footer', .... );

    if you can’t find anything in your used child theme, look into the parent theme…

    Thread Starter eholz1

    (@eholz1)

    Hello Michael,
    Thanks for the tip, I will check around for those.

    Eric, aka eholz1

    Thread Starter eholz1

    (@eholz1)

    Hello Michael,

    I had to do a lot of searching, even “grep” did not find the string for the footer text,
    but I did find the add_action functions, which finally led me to the string I wanted to change!

    thanks for the tip, it led me to the right place.
    Wordpress is an amazing application.

    Thanks

    Eric aka eholz1

    Hiya I see this is resolved but I would love to know how, in simple steps for a newb! I’ve been searching for the answer to removing the godaddy link in the footer and this seems to be it, but I’m blowed if I can make sense of the answer! I would be so grateful for any help, cheers,James

    In case someone googles this looking for the answer –

    You can’t get to the file through WP Admin Dash. You need to download and edit: credit.php which can be found in ‘Themes > primer > templates > parts’.

    Comment out line 27 to 43 (be sure to keep the closing ?> tag). Save and upload.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Find text Not in footer.php code’ is closed to new replies.