Forums

WordPress search results not clickable (4 posts)

  1. Simkill
    Member
    Posted 1 year ago #

    Hi guys, I was wondering if anyone can help. The search function on my site http://www.totalgamingreviews.com seems to be broken, and returns the correct search results without a clickable title.

    I really don't know what to do about this and cannot find anything in the forum regarding the same issue.

    Any input would be great!

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    check search.php of your theme, and see if the title is actually linked.

    example for a linked title (taken from twenty ten):

    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    if your search.php does not have linked titles, use the general idea from the example to adjust the code.

  3. Simkill
    Member
    Posted 1 year ago #

    Thanks! The sites search now works properly. Much appreciated

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    great ;-)

    please mark this thread as 'resolved' - somewhere here on the right ...

Topic Closed

This topic has been closed to new replies.

About this Topic