• Hi, a while back I was given some text to modify the footer.php in a child theme so that javascript (for an automatcially updating date) could be added.

    This was more or less the assistance given:

    You can change it by editing the theme footer.php file:
    1. Copy the file to a child theme.
    2. Find this section near the bottom:
    <div id=”copyright”>
    <?php if ( ot_get_option( ‘copyright’ ) ): ?>
    <p><?php echo esc_attr( ot_get_option( ‘copyright’ ) ); ?></p>
    3. Change the third line above to this:
    <p><?php echo ot_get_option( ‘copyright’ ); ?></p>

    It has stopped working.

    When looking at the code it appears that the code has been changed.

    This is the similar code in question

    <div id=”copyright”>
    <?php if ( hu_get_option( ‘copyright’ ) ) : ?>
    <p><?php echo wp_kses_post( hu_get_option( ‘copyright’ ) ); ?></p>

    I would appreciate if someone could advise how to adjust the code so I can keep the java functioning in the Replace the footer copyright text

    (It would also be great if the new owners of hueman would restore the function, but I guess WordPress insisted it be removed with the Customizer function.)

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    You will need to customize the theme for this. You can also consult with a developer.

    Thanks!

    Thread Starter nextstep

    (@nextstep99)

    Yes I realise I I needed to customize, hence the child theme. However I’ll leave the code out and update by hand. FYI I had just purchased customizr pro, and was about to do same with with hueman. Now I guess I will rethink my decision on hueman.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adjust child theme footer.php Java in footer : Replace the footer copyright text’ is closed to new replies.