Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
agente_smithx
tagDiv Member

Thanks, but I would like to work without plugins

agente_smithx
tagDiv Member

How? I added this code in funtions.php but does not work.

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');
} else {
$img_src = get_stylesheet_directory_uri() . '/img/opengraph_image.jpg';
}
if($excerpt = $post->post_excerpt) {
$excerpt = strip_tags($post->post_excerpt);
$excerpt = str_replace("", "'", $excerpt);
} else {
$excerpt = get_bloginfo('description');
}
?>

<meta property="og:description" content="<?php echo $excerpt; ?>"/>

<?php
} else {
return;
}
}
add_action('wp_head', 'fb_opengraph', 5);

agente_smithx
tagDiv Member

Hi.

Thanks for the answers

I have solved witch a iframe.

Regards.

agente_smithx
tagDiv Member

Thanks.

For all post, is this?:

.post .td-author-description{
display:none!important;
}

Edit: yes, working.

agente_smithx
tagDiv Member

Hi.

The cache is empty and i install plugin two days ago

agente_smithx
tagDiv Member

Hi.

Sorry.

I update theme, i update plugin social counter and i follow all steps in the tutorial but the facebook counter is 0.

agente_smithx
tagDiv Member

How do I put the app in live?

agente_smithx
tagDiv Member

hi.

This solution it’s working awesome.

agente_smithx
tagDiv Member

Yes, yesterday I solved that way.

Viewing 9 posts - 1 through 9 (of 9 total)