Footer error
-
I’m working with a subdomain website for a new customer and I get this at the bottom of the site: Fatal error: Call to undefined function of_get_option() in /home/tlyonweb/public_html/bagelsnbeyond/blog/wp-content/themes/vryn-restaurant/footer.php on line 16
I found the file location in the file manager via CPanal, but I don’t know what to add, delete, or change to correct this error. Also, when I added content in the Theme, Appearance, Footer section for the copyright, nothing shows up, just that fatal error message.
Here is the php that is for the footer:
` <?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Sixteen
*/
?></div><!– #content –>
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
<div class=”container”>
<?php if ( of_get_option(‘credit1’, true) == 0 ) { ?>
<div class=”site-info”>
<?php do_action( ‘sixteen_credits’ ); ?>
VRYN Restaurant By PixelThemes.com
</div><!– .site-info –>
<?php } //endif ?>
<div id=”footertext”>
<?php
if ( (function_exists( ‘of_get_option’ ) && (of_get_option(‘footertext2’, true) != 1) ) ) {
echo of_get_option(‘footertext2’, true); } ?>
</div></div><!–.container–>
</footer><!– #colophon –>
</div><!– #page –><?php wp_footer(); ?>
</body>
</html>
- The topic ‘Footer error’ is closed to new replies.