• I am interested in editing the footer credits on my site, but after locating the code I have been unable to add my desired information. I noticed the exact wording of the footer in my function.php panel, but when I proceeded to make changes my entire site went white with an error message. Any help is great. My information is below.

    Site: https://www.keenanmorgan.com

    footer.php (credit-line):

    <div id="creditline">??<?php echo date("Y") ?>?<?php bloginfo( 'name' );  d5businessline_credit(); ?></div>

    funtion.php (credit-line)

    //	D5 BusinessLine and WordPress Credit
    	function d5businessline_credit() {
    		echo '| D5 Business Line Theme by: <a href="https://d5creation.com"><img  width="30px" src="' . get_template_directory_uri() . '/images/d5logofooter.png" /> D5 Creation</a> | Powered by: <a href="https://www.ads-software.com">WordPress</a>';
    	}

    [please mark any posted code according to the forum guidelines – the above code is partly corrupted]

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you are making a static footer just make sure you get rid of the whole php strings…

    Then you can ignore the line in function.php..

    So it becomes something like this

    <div id=”creditline”>? <p>here your own html content</p></div>

    You can then style the footer in style.css under
    #creditline {}

    Hope that helps

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    I have a feeling that the theme is purchased, correct? If so, then we really cannot provide you with help. Sorry.

    when I proceeded to make changes my entire site went white with an error message.

    what changes exactly? and what was the exact error message?

    editing the footer credits on my site

    what do you want to edit or insert?

    btw:
    the used theme is https://www.ads-software.com/extend/themes/d5-business-line

    Thread Starter km2100

    (@km2100)

    Hello everyone,

    Problem solved! Beninspain’s solution fixed it! And thank you very much. Thank you all for your responses. (Jcastaneda) The theme is offered for free through WordPress and to my knowledge it is one of the more recent themes made available. I’ve done some modifying of course, but if you search for the D5 Business Line theme you should be able to locate it. (Alchymyth) The changes I made were to the “creditline” info in the functions.php panel. I replaced their existing information with my own. (See example below). I cannot remember the error message verbatim, but I do recall the screen becoming all white with a bold black code at the top that contained my ftp information (user name and host). After the screen turned white I was unable access the login page for my wordpress, so I had to replace the functions.php file to rectify my error.

    Ex. (Replaced the highlighted areas with <p> © 2012 KeenanMorgan.com </p>)
    // D5 BusinessLine and WordPress Credit
    function d5businessline_credit() {
    echo ‘| D5 Business Line Theme by: <img width=”30px” src=”‘ . get_template_directory_uri() . ‘/images/d5logofooter.png” /> D5 Creation | Powered by: WordPress‘;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Difficulty with footer.php’ is closed to new replies.