/*
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;
}
?>
‘Affluenza’ teen, who blamed four killings on his wealth, to be freed
‘Affluenza’ teen, who blamed four killings on his wealth, to be freed
This entry was posted by RealNews.Today on March 27, 2018 at 20:21
if($postisvideo)
{
?>
}
else
{
?>
}
?>
Ethan Couch, the rich teen who killed four people when he drunkenly ploughed into them, only it to be blamed on “affluenza” – a imaginary illness that makes wealthy people unable to tell right from wrong – is to be released….