php echo get_settings(‘home’) not working anymore
-
My pages are not working anymore (testingblog.nl). At least, when I am trying to use the links in the header.
The URL is changing in the correct page or category page, however it is not displayed. The home page stays displayed.Someone told me to change the get_settings into get_option. However that doesn’t solve it either. Can someone help me out?
The code I am using is:
<div id="menu"> <ul> <li><a class="<?php if ( is_home() ){ ?>current<?php } ?>" href="<?php echo get_settings('home'); ?>/">Home</a></li> <li><a class="<?php if ( is_category('jobs') ){ ?>current<?php } ?>" href="<?php echo get_option('posts_per_page'); ?>/category/jobs">Jobs</a></li> <li><a class="<?php if ( is_page('Tools') ){ ?>current<?php } ?>" href="<?php echo get_settings('tools'); ?>/Tools">Tools</a></li>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘php echo get_settings(‘home’) not working anymore’ is closed to new replies.