Go into archive.php and remove the title="<?php stuff ?>">
inside your link.
Dude, there is no title!
I’m using the imagination theme. That doesn’t help :/
I think what you want to do is change index.php. Make a backup copy first, then change this:
<?php the_category(', '); ?>
to this:
<?php
foreach((get_the_category()) as $category) {
echo '<a href="' . get_category_link( $category->term_id ) . ' >' . $category->name.'</a> ';
}
?>
I pasted that, but now there is no category.
The place where the category should appear is empty.
There is a link but it gets me to the wrong page- 404
Sorry, I copied that from another article without testing it. Here is the corrected code:
<?php
foreach((get_the_category()) as $category) {
echo '<a href="' . get_category_link( $category->term_id ) . '" >' . $sep . $category->name.'</a> ';
$sep = ', ';
}
?>
I already made it by updating the category-template in wp-includes
Thanks anyway
You might want to rethink that because the next upgrade of WP will wipe out your changes.
Any ideas how to make it work for posts` titles?
Any code to remove the “Permanent link to” stuff.
rossrobbie,
I think “Permanent link to” might be in your theme, so you need to edit your theme files
like page.php, archive.php, search.php and manually remove these “Permanent link to”
Thanks,
Suresh
http://www.largeresource.net
I removed the “Permanent link to” text,
but these “Comments on” “View all posts in” are still appearing
when mouse hovers the category and comments link bellow the post.
They are not in the theme`s source code. I’ve checked everything.
I guess it’s just wrote somewhere in the WordPress’codes.
I need a specific code that could disable these titles of the links.
I changed my mind.
The category-comments link below the post are not manually placed there.
It’s used a php script that makes wordpress show them.
What if instead of deleting manually the title
we just use another php script that hides the link’s title attribute,
and there will be only the title of the category displaying.
Do anybody know about that kind of php script?
Any ideas how this code
<?php
foreach((get_the_category()) as $category) {
echo '<a href="' . get_category_link( $category->term_id ) . '" >' . $sep . $category->name.'</a> ';
$sep = ', ';
}
?>
could work for comments?