Metric Theme Custom Footer

Community Forums Forums Design Tips and Tricks Metric Theme Custom Footer

This topic is: resolved

This topic contains 3 replies, has 3 voices, and was last updated by  braddalton 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23554

    jmalisos
    Participant
    Post count: 16

    I am trying to customize the credits text located in the footer section. When I insert the below code into the function.php file to do so, the site goes offline and an error message reading the following appears: Parse error: syntax error, unexpected $end in /nfs/c05/h04/mnt/72994/

    Website: http://goldshieldatm.com/

    The code I am inserting into the editor:

    /** Customize the credits */
    add_filter( ‘genesis_footer_creds_text’, ‘custom_footer_creds_text’ );
    function custom_footer_creds_text() {
    echo ‘<div class=”creds”><p>’;
    echo ‘Copyright &copy; ‘;
    echo date(‘Y’);
    echo ‘ &middot; <a href=”http://goldshieldatm.com/contact“>Goldshield ATM Service, LLC</a> &middot;
    echo ‘</p></div>’;

    #23593

    braddalton
    Participant
    Post count: 7478

    Try this or use the Genesis Simple Edits plugin http://www.briangardner.com/code/customize-footer/


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #36573

    dahlkr
    Participant
    Post count: 10

    If you update the function.php file and genesis does an update, will I lose the change?

    #36627

    braddalton
    Participant
    Post count: 7478

    Depends which method you have used.

    You shouldn’t need to update the child themes functions.php file.

    Any changes made using the Simple Edits plugin will NOT be effected by any updates.

    Any changes to the Genesis framework will not effect the child theme.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

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

The topic ‘Metric Theme Custom Footer’ is closed to new replies.