/*
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;
}
?>
Berlin’s university canteens go almost meat-free as students prioritise climate
Berlin’s university canteens go almost meat-free as students prioritise climate
This entry was posted by RealNews.Today on August 31, 2021 at 20:24
if($postisvideo)
{
?>
}
else
{
?>
}
?>
Students at universities in Berlin will from this winter swap currywurst and schnitzel for seeds and pulses, as campus canteens in the German capital make heavy cuts to their meat and fish options.