The problem is this area..
<?php if (get_option('artsee_home_link') == 'Disable') { ?>
<?php { echo ''; } ?>
<?php } else { echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>'; } ?>
<?php if (get_option('artsee_blog_link') == 'Disable') { ?>
<?php { echo ''; } ?>
<?php } else { echo '<li class="page_item"><a href="' . $artsee_blog_id . '">' . $artsee_blog_link_text . '</a></li>'; } ?>
That code is invalid to start with, but regarding the particular problem you have, the problem is with this variable.
$artsee_blog_id
If you have set a Blog url in the theme options, go update that URL with a full path… i think the issue is that the url is set to ?cat=4
, which needs to be a full path to work correctly.
Example: https://wwww.youraddress.com/?cat=4
This doesn’t fix the problem, but i tidied the code for you..
<!--This controls pages navigation bar-->
<div id="pages">
<div id="pages-inside" align="right"> <a href="<?php bloginfo('url'); ?>" class="title" title="Home"><img src="<?php bloginfo('template_directory'); ?>/images/logo-<?php echo $artsee_ebusiness_color; ?>.png" alt="logo" class="logo" /></a>
<ul class="nav superfish">
<?php if (get_option('artsee_home_link') && get_option('artsee_home_link') != 'Disable') { ?>
<li class="page_item"><a href="<?php echo get_bloginfo('url'); ?>">Home</a></li>
<?php } ?>
<?php if (get_option('artsee_blog_link') && get_option('artsee_blog_link') != 'Disable') { ?>
<li class="page_item"><a href="<?php echo $artsee_blog_id; ?>"><?php echo $artsee_blog_link_text; ?></a></li>
<?php } ?>
<?php wp_list_pages("sort_order=$artsee_order_page&depth=3&exclude=$artsee_exclude_page&title_li="); ?>
</ul>
Of course we can do away with $artsee_blog_id
if you want, but you’ll then lose the ability to update that URL in the theme options, which i’m assuming you wish to maintain.