I am working some php code and it had been functioning properly, and now all of a sudden it’s not. Here’s what I have:
<?php if ( is_page( 'inmate-information' ) ) {
echo '<a href="https://www.blackstone.edu/request-information/index.php?inmate=true" title="Request Info">Request Info</a>';
} else if ( is_page( 'information-for-prison-inmates-and-their-sponsors-advanced-paralegal-courses' ) ) {
echo '<a href="https://www.blackstone.edu/request-information/index.php?inmate=true" title="Request Info">Request Info</a>';
} else {
echo '<a href="http://www.blackstone.edu/request-info/" title="Request Information">Request Info</a>';
} ?>
This code is entered into a text widget under sidebar 1. Any advice?
[Please post code snippets between backticks or use the code button.]