Jetpack Publicize
-
Hi,
I’m the managing editor of an online media source, https://www.smcorridornews.com. We post links to our posts to our facebook page and twitter account to draw in my traffic. Right now, we’re doing it by hand because Jetpack’s publicize feature is putting a generic, default image in the posts instead of using the featured image. From reading other forums, I think this has to do with our theme and meta tags, but I’m not sure how to fix it. And I don’t want to go in and delete things blindly. We’re using Mozimat’s Multinews theme.Here are the Meta Tags I found in the header.php for our theme.
<meta property=”og:title” content=”<?php echo esc_attr($mom_og_title); ?>”/>
<meta property=”og:type” content=”article”/>
<meta property=”og:description” content=”<?php global $post; $excerpt = $post->post_excerpt; if ($excerpt == ”) { $excerpt = $post->post_content;} echo esc_attr(wp_html_excerpt(strip_shortcodes($excerpt), 200)); ?>”/>
<meta property=”og:url” content=”<?php the_permalink(); ?>”/>
<meta property=”og:site_name” content=”<?php echo esc_attr(get_bloginfo( ‘name’ )); ?>”/>
<?php } else { ?>
<meta property=”og:image” content=”<?php echo esc_url(mom_option(‘logo_img’, ‘url’)); ?>”/>
<meta property=”og:image:width” content=”<?php mom_option(‘logo_img’, ‘width’); ?>” />
<meta property=”og:image:height” content=”<?php mom_option(‘logo_img’, ‘height’); ?>” />
- The topic ‘Jetpack Publicize’ is closed to new replies.