• Resolved gscohier

    (@gscohier)


    Hi,

    When I try to update the footer credits, I get the following error:
    Parse error: syntax error, unexpected ‘:’ in /home/content/74/11716374/html/wp-content/themes/customizr/parts/class-main-footer.php on line 81

    Doing it in class.footer.php in this bit:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    <div class="span4 credits">
    	    	<?php
    		    	$credits =  sprintf( '<p> · ? %1$s <a href="%2$s" title="%3$s" rel="bookmark">%3$s</a> · Designed by %4$s ·</p>',
    					    esc_attr( date( 'Y' ) ),
    					    esc_url( home_url() ),
    					    esc_attr(get_bloginfo()),
    					    '<a href="'.TC_WEBSITE.'">Themes & Co</a>'
    				);
    				echo apply_filters( 'footer_credits', $credits );
    			?>
    		</div>
    		<?php
        }

    Trying to replace this: href=”‘.TC_WEBSITE.'”>Themes & Co with my stuff but it won’t work.

    Anyone else having the same issue?

Viewing 14 replies - 31 through 44 (of 44 total)
Viewing 14 replies - 31 through 44 (of 44 total)
  • The topic ‘Credits in the footer’ is closed to new replies.