i want remove this message from my blog
example is :
http://progvig.ir/tag/%D9%85%DA%A9%D8%A7%D9%86%DB%8C%DA%A9
help me to do this
tnk
i want remove this message from my blog
example is :
http://progvig.ir/tag/%D9%85%DA%A9%D8%A7%D9%86%DB%8C%DA%A9
help me to do this
tnk
That is coming up because that tag does not exist within your WP Site.
You can edit that message, depending on your theme, in the category-loop.php, the category.php or maybe even your archive.php.
Look in those files and perform a text search (usually CTRL-F or COMMAND-F) for "nothing found for tag"
i looked but it isn't there and another themes too.
because this message come from wp core.
How is it coming from WP Core? Where did you track that down?
I'm almost positive that it comes from your theme files.
ok ok,
if isn't possible give me true code to avoid this message from title
like 404 page
The title is handled by the WP Header.php in your theme file.
The title is assigned when your wordpress site hits that "tag not found" page. You could just do a custom title if you wanted to in the head, taking out the generated title, but that wouldn't be good for SEO.
i want
how can i do this ?
If you don't care about SEO, look for this (or something similar) in your header.php file:
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
?></title>
And replace it with:
<title>This is my custom title</title>
in my site just tags has this problem
JUST TAGS
like :
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
for post 404
what is the code in header.php of your theme, in the <title> tag?
what happens if you deactivate your seo plugin?
nice idea
thanks it's work!
This topic has been closed to new replies.