• https://howtostopsquirrels.com/

    I want to add a privacy policy page link in the footer of my dkret3 theme.
    But the footer.php seems to be filled with hooks.

    I can’t figure out how to place a link in the footer. I even looked in the subsidy.php for the powered by wordpress link, thinking I could simply modify that, but it wasn’t in there.

    Below is the dkret3 theme footer:

    <?php
    /**
    * The template used to display the footer
    *
    * Contains all content after id=container div and all content.
    * Calls subsidiary.php for bottom widgets
    *
    * @package dkret3
    * @since 3.6
    */

    get_sidebar( ‘subsidiary’ ) ?>

    <div id=”footer” role=”contentinfo”>

    <?php /* dkret3 Hook */ do_action( ‘dkret_before_footer’ ); ?>

    <?php /* dkret3 Hook */ do_action( ‘dkret_footer’ ); ?>

    <?php /* dkret3 Hook */ do_action( ‘dkret_after_footer’ ); ?>

    </div><!– #footer –>

    </div><!– #wrapper .hfeed –>

    <?php /* dkret3 Hook */ do_action( ‘dkret_after_html’ ); ?>
    <?php /* WordPress footer Hook */ wp_footer() ?>

    </body>
    </html>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try working on a Child Theme of the footer file.
    What happens if you add your content to after this line

    <div id="footer" role="contentinfo">

    Or after this line

    <?php /* dkret3 Hook */ do_action( 'dkret_before_footer' ); ?>

    ?

    Thread Starter below7

    (@below7)

    Yep, that did it exactly. right after
    <div id=”footer” role=”contentinfo”>
    Thanks a million.

    You can even use the Theme-Options. There is already an option to change the footer. It’s really easy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘dkret3 theme footer issue’ is closed to new replies.