Ready to get started?Download WordPress


[resolved] Remove "Permalink to" from <a title="....." (12 posts)

  1. Procyon
    Posted 4 years ago #


    I honestly have no idea where to look in the code and thought I'd save myself time by posting here. It's not a big problem, but I think it looks a bit ugly. I have a few product images and it always says "Permalink to Product Name" when I hover over the product image.
    Check here. Thanks!

  2. vtxyzzy
    Posted 4 years ago #

    The code is probably in the index.php, but may be in a different file for your theme. Look for a line like this:

    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">

    and delete 'Permanent Link to' from the title=" part (be sure to leave the double quote).

  3. Procyon
    Posted 4 years ago #

    The author of the theme told me it's somewhere in wordpress.
    It is, unfortunately, not the index.php file (default theme) you just told me. I also checked all of the other files in the same folder but no luck.

  4. isaiwap
    Posted 4 years ago #

    Find alt= and delete code after alt= or paste ur source code here...

  5. Procyon
    Posted 4 years ago #

     * @package WordPress
     * @subpackage Default_Theme
    get_header(); ?>
    	<div id="content" class="narrowcolumn" role="main">
    	<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    			<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    		<?php endwhile; ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    	<?php else : ?>
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php get_search_form(); ?>
    	<?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  6. isaiwap
    Posted 4 years ago #

    paste ur functions.php ...because ur theme got only functions.php ..its right

  7. isaiwap
    Posted 4 years ago #

    hello you are pasting default wordpress theme file...not that....find this path http://www.moress-charms.com/wp/wp-content/themes/TheFurnitureStore and find page.php or single.php and replace alt =

  8. Procyon
    Posted 4 years ago #

    functions from my theme or from default?

  9. Procyon
    Posted 4 years ago #

    that's the thing...I already went through every php file in that theme and couldn't find it....the author tells me it's somewhere in wordpress

  10. Procyon
    Posted 4 years ago #

    ...and not in the theme.

  11. Procyon
    Posted 4 years ago #

    found it! it was in a file called category_body.php
    thanks guys!

  12. Mark / t31os
    Posted 4 years ago #

    Wow, i hope the author isn't that forgetful in his usual duties, whatever they may be... assuming he wrote the original code... :)

Topic Closed

This topic has been closed to new replies.

About this Topic