badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Alfred

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: PHP code for copyright year doesn't work #28012
    Alfred
    Participant

    OK. Finally got it with the proper PHP punctuation. The last line of code needs to be:

    $output = '<div class="copyright">'.'Copyright &copy; '.attitude_the_year().' Daniel Corbeil | <a href="http://danielcorbeil.com/contact/">Contact</a> '.'</div><!-- .copyright -->';
       echo do_shortcode( $output );
    }

    Problem solved.

Viewing 1 post (of 1 total)