Forum Replies Created
-
AuthorPosts
-
raceinkParticipant
I updated the filter bar and the issue was resolved.
Thank you
raceinkParticipantFixed thank you!!
raceinkParticipantHi Barry! After viewing the source file from the photo view on my browser, I was able to find the page causing the error: static_title.php
<?php /* Static Name: Title */ ?>
<?php get_template_part(‘title’); ?>Removing the last line fixed the problem… but hopefully it doesn’t cause other problems!
Thank you for your help.
raceinkParticipantHi Barry,
Okay it makes sense in theory but I am running a child theme as well. I am not so sure it’s the theme causing the problem? This code is at the bottom of the header.php file that lists an opening body tag:
</script>
</head><body <?php body_class(); ?>>
<div id=”motopress-main” class=”main-holder”>
<!–Begin #motopress-main–>
<header class=”motopress-wrapper header”>
<div class=”container”>
<div class=”row”>
<div class=”span12″ data-motopress-wrapper-file=”wrapper/wrapper-header.php” data-motopress-wrapper-type=”header” data-motopress-id=”<?php echo uniqid() ?>”>
<?php get_template_part(‘wrapper/wrapper-header’); ?>
</div>
</div>
</div>
</header>raceinkParticipantHi Barry,
Okay here is my header.php info for the title…
<head>
<title><?php if ( is_category() ) {
echo theme_locals(“category_for”).” "”; single_cat_title(); echo ‘" | ‘; bloginfo( ‘name’ );
} elseif ( is_tag() ) {
echo theme_locals(“tag_for”).” "”; single_tag_title(); echo ‘" | ‘; bloginfo( ‘name’ );
} elseif ( is_archive() ) {
wp_title(”); echo ” “.theme_locals(“archive”).” | “; bloginfo( ‘name’ );
} elseif ( is_search() ) {
echo theme_locals(“fearch_for”).” "”.esc_html($s).’" | ‘; bloginfo( ‘name’ );
} elseif ( is_home() || is_front_page()) {
bloginfo( ‘name’ ); echo ‘ | ‘; bloginfo( ‘description’ );
} elseif ( is_404() ) {
echo theme_locals(“error_404″).” | “; bloginfo( ‘name’ );
} elseif ( is_single() ) {
wp_title(”);
} else {
wp_title( ‘ | ‘, true, ‘right’ ); bloginfo( ‘name’ );
} ?></title>Are you asking me to find the code you listed, or to insert it? Sorry!
raceinkParticipantHi Barry,
I inserted the line of code but it’s still showing the extra heading. It’s only showing on the photo and list view for some reason…Thanks!
-
AuthorPosts