function royaltruth_og_tags() { if ( is_single() ) { $title = get_the_title(); $url = get_permalink(); $excerpt = has_excerpt() ? get_the_excerpt() : wp_trim_words(get_the_content(), 25, '...'); $excerpt = strip_tags($excerpt); echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; if ( has_post_thumbnail() ) { $img = get_the_post_thumbnail_url(null, 'full'); echo '' . "\n"; } echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; if ( has_post_thumbnail() ) { echo '' . "\n"; } } } add_action('wp_head', 'royaltruth_og_tags');

the conspiracy: anatomy of a lie





Leave a Reply

Your email address will not be published. Required fields are marked *