Display Total Number of Social Shares

I found the solution:

Replace

if (!$url) $url = get_permalink($post->ID);

with

$post_id = get_the_ID();
$url = get_post_meta("$post_id", 'links_link_custom', true);

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)