diff --git a/content-presspage-small-image-and-headline.php b/content-presspage-small-image-and-headline.php
index 855cecc..9a1cb39 100644
--- a/content-presspage-small-image-and-headline.php
+++ b/content-presspage-small-image-and-headline.php
@@ -22,6 +22,26 @@
}
?>
+ parent);
+ if($parent->slug == 'authors'){
+ $authors[] = ''.$cat->name.'';
+ }
+ }
+ if(count($authors) > 0){
+ $by = implode(', ', $authors);
+ }
+ else {
+ $by = sprintf( '%2$s',
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+ esc_html( get_the_author() )
+ );
+ }
+ ?>
+
By
diff --git a/content-single.php b/content-single.php
index dd77636..802e5ab 100644
--- a/content-single.php
+++ b/content-single.php
@@ -25,17 +25,19 @@
-ID, 'printthis', true);
-if(strlen($printthis) > 0 || $printthis == 'false') echo '';
-?>
+
You might be interested in:
diff --git a/functions.php b/functions.php
index 7ca4d77..3c92e9f 100644
--- a/functions.php
+++ b/functions.php
@@ -203,13 +203,39 @@ endif;
add_filter('protected_title_format', 'protected_wrapper');
function protected_wrapper($title) {
- return 'Protected: %s';
+ return '%s';
}
-function print_shortcode( $atts ) {
- return '';
-}
-add_shortcode( 'printthis', 'print_shortcode' );
+function fb_opengraph() {
+ global $post;
+
+ if(is_single()) {
+ if(has_post_thumbnail($post->ID)) {
+ $img_src = wp_get_attachment_image_src(get_post_thumbnail_id( $post->ID ), 'medium');
+ $img_src = $img_src[0];
+ }
+ if($excerpt = $post->post_excerpt) {
+ $excerpt = strip_tags($post->post_excerpt);
+ $excerpt = str_replace("", "'", $excerpt);
+ } else {
+ $excerpt = get_bloginfo('description');
+ }
+
+ $facebookshareline = get_post_meta( $post->ID, 'facebookshareline', true);
+ if(empty($facebookshareline)) $facebookshareline = get_the_title();
+ ?>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/header.php b/header.php
index c5758e5..6f9ff14 100644
--- a/header.php
+++ b/header.php
@@ -14,10 +14,6 @@ include 'inc/vars.php';
-ID, 'ogtitle', true);
-if(strlen($ogtitle) > 0) echo '';
-?>