This topic has 7 replies, 4 voices, and was last updated 11 years by nusolutions.

  • Author
  • #2184
     nicholaus1221
    Participant

    Hi,

    I was trying to add links to the “terms and conditions” and the “privacy policy” pages where it says Copyright “Site” 2013 “tagline” for the footer that appears at the bottom of every page. I actually installed a footer plugin from WPMUDEV that worked, but it didn’t override the main WordPress footer info so both we’re visible. Is there a way to add an html link in the WordPress footer code in the theme?

    Any help is much appreciated,

    Thanks,
    Nicholaus

    #2257
     SQadmin
    Keymaster

    Since version 2.0 you can add this function to sweetdate-child/functions.php to override default text:

    COPY CODE
    
    function kleo_copyright_text()
    {
      echo "My custom text";
    }
    

    You need to replace/add your own text in it

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5376
     hughm
    Participant

    I would like to format my footer information. Currently all that is displaying is “Copyright © 2013,”
    I tried adding the above code to my functions.php file in my child theme but had a few problems. The copyright symbol didn’t show correctly. Instead it showed up as a box. Also the site name and description did not display.
    Could you give some direction on how to fix this and how to add additional details.

    #5383
     nusolutions
    Participant

    Not working for me:

    function kleo_copyright_text()
    {
    echo ‘<p’>Date Demo. Copyright © 2013. All rights reserved. ‘</p>’; <br class=”hide-for-large show-for-small”/>’. get_bloginfo( ‘description’ ).'</p>’;
    }

    The goal for me is to have links on both the left and right sides of that footer area.

    tia

    #5423
     SQadmin
    Keymaster

    Ok, to be more specific I modified the above function so you understand what I meant

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5424
     SQadmin
    Keymaster

    That function displays exactly the original text. Replace with your own text. Something like

    COPY CODE
    
    echo '<div class="row"><div class="six columns">Bla bla</div><div class="six columns right">Bla bla</div></div>';
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #5434
     hughm
    Participant

    Thanks, that works for me. It was easier to just echo my footer info rather than use the earlier version to generate copyright information.
    Thanks for your help.

    #5465
     nusolutions
    Participant

    Awesome!

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?