/*
Plugin Name: PHPValley Add Standout meta
Plugin URI: http://phpvalley.com
Description: Add Standout meta
Author: PHPValley
Author URI: http://phpvalley.com
*/
function phpval_addstandout( $content= false, $attr_twitter = null, $attr_items = null )
{
if(in_array('get_the_excerpt', $GLOBALS['wp_current_filter']) OR 'post' !== get_post_type() OR !is_single()) return;
global $post;
$url=get_post_meta($post->ID,'imwb_socialpress_post_bookmark_url',true);
$meta_desc=substr($post->post_content,0,strpos($post->post_content, ' ', 150));
echo ' '."\n";
echo ' '."\n";
return $shares.$content.$newsletter;
}
add_action('wp_head', phpval_addstandout);
add_filter( 'the_content', 'phpval_appendtocontent');
?>
/*
Plugin Name: PHPValley Append to Content
Plugin URI: http://phpvalley.com
Description: Appends stuff to content
Author: PHPValley
Author URI: http://phpvalley.com
*/
function phpval_appendtocontent( $content= false, $attr_twitter = null, $attr_items = null )
{
return $content;
if(in_array('get_the_excerpt', $GLOBALS['wp_current_filter']) OR 'post' !== get_post_type()) return $content;
global $post;
$newsletter='
';
return $shares.$content.$newsletter;
}
?>
Ancient stone carvings confirm how comet struck Earth in 10,950BC, sparking the rise of civilisations
Ancient stone carvings confirm how comet struck Earth in 10,950BC, sparking the rise of civilisations
This entry was posted by RealNews.Today on April 22, 2017 at 11:29
if($postisvideo)
{
?>
}
else
{
?>
}
?>
Ancient stone carvings confirm that a comet struck the Earth around 11,000BC, a devastating event which wiped out woolly mammoths and sparked the rise of civilisations.