• Resolved jocaasbe

    (@jocaasbe)


    I have seven pages on a clients site. When you select the link for a page the link en-boldens. All except one. Do you have any idea what would cause this and is there a fix for it. Here’s the link to the site.
    http://lockshields.com/
    It’s the “Prayer Chain” link under the header.
    Thanks for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author nobita

    (@nobita)

    Page and single post, do you think the entry title, it should not be linked ?

    Quick Fix below

    Add to style.css last line ( for modern browser )

    .page .entry-title a,
    .single-post .entry-title a{
        pointer-events: none;
        cursor: default;
        text-decoration:none;
    }

    or

    Add to functions.php first line ( <?php before )

    <?php
    	function raindrops_entry_title( $args = array( ) ) {
    
    		global $post;
    		$default	= array( 'raindrops_title_element' => 'h2', );
    		$args		= wp_parse_args( $args, $default );
    		$thumbnail	= '';
    		extract( $args, EXTR_SKIP );
    
    		if ( has_post_thumbnail( $post->ID ) && ! is_singular( ) ) {
    
    			$thumbnail .= '<span class="h2-thumb">';
    			$thumbnail .= get_the_post_thumbnail( $post->ID, array( 48, 48 ), array( "style" => "vertical-align:text-bottom;", "alt" => esc_attr__( 'Featured Image', 'Raindrops' ) ) );
    			$thumbnail .= '</span>';
    		}
    
    		if( ! is_singular( ) ) {
    
    			$html = '<' . $raindrops_title_element . ' class="%1$s">%5$s<a href="%2$s" rel="bookmark" title="%3$s">%4$s</a></' . $raindrops_title_element . '>';
    
    			$html = sprintf( $html, 'h2 entry-title', get_permalink( ), the_title_attribute( array( 'before' => '', 'after' => '', 'echo' => false ) ), the_title( '', '', false ), $thumbnail );
    			echo apply_filters( 'raindrops_entry_title', $html );
    		} else {
    
    			$html = '<' . $raindrops_title_element . ' class="%1$s">%2$s</' . $raindrops_title_element . '>';
    
    			$html = sprintf( $html, 'h2 entry-title', the_title( '', '', false ) );
    
    			echo apply_filters( 'raindrops_entry_title', $html );
    		}
    	}
    ?>

    Next version Raindrops maybe link removed from single post and page.

    Thank you.

    Theme Author nobita

    (@nobita)

    Since there is no reply 3 weeks, change to Resolved

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Link Doesn't En-Bolden When Selected’ is closed to new replies.