Just another WordPress.com site

Posts tagged ‘Featured image’

Worpress Code snippets, Like excerpt, featured image

  1. By Default WordPress displays the excerpt of the current post with the “[…]” text at the end, which is not a “read more” link. So to have a custom excerpt add following to the function.php

function new_excerpt_more($more) {
global $post;
return ‘<p><a href=”‘ . get_permalink($post->ID) . ‘”> Continue Reading</a></p>’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);

  1. To Enable Featured Image
  2. To Avoid Google Ranking please find detailed article at ecarobar.com
%d bloggers like this: