Link in social media statusbar doesnt show properly (Linkedin, Facebook)

  • Posted in : Bloggy WP
  • linco
    Participant

    After I changed my theme to bloggy, strange thing happened.

    When I want to share a link of my site on social media (Facebook, Linkedin…), the link just doesnt show properly.

    Try for example use this link in FB or LI http://www.smarthappy.eu/budte-divni/ There are just two word instead of couple of sentences of the blog post.

    Do you know what is possibly wrong?

    Thanks for answer..
    Peter

    Mehmet S.
    Keymaster

    Hi, I see the issue, I will fix it with an update soon. Thanks for the feedback.

    Mehmet S.
    Keymaster

    New version is available on ThemeForest.

    linco
    Participant

    Hi Mehmet,
    which part of new theme solve the issue with link sharing?
    I made to much changes in the theme so I cant really just overwrite it :(
    Thank you.
    Peter

    Mehmet S.
    Keymaster

    If you enable open graph from theme options > seo, you will see description text when sharing your post.

    Modified files:

    – functions.php

    – style.css

    linco
    Participant

    Could you please send me which lines did you change in functions.php and style.css?
    Thanks a lot.

    Mehmet S.
    Keymaster

    – style.css

    OLD:

    Version: 2.9.8

    NEW:

    Version: 2.9.9


    – functions.php

    OLD #1:

    $excerpt = get_post_field( 'post_content', $post_ID );
    

    NEW #1:

    $excerpt = get_post_field( 'post_content', get_the_ID(), 'attribute' );
    

    – AND –

    OLD #2:

    if ( $og_description != "" )
    {
    	echo '<meta property="og:description" content="' . $og_title . '">' . "\n\n";
    }
    

    NEW #2:

    if ( $og_description != "" )
    {
    	echo '<meta property="og:description" content="' . $og_description . '">' . "\n\n";
    }
    
    linco
    Participant

    I just made the changes and theres no difference :(

    Mehmet S.
    Keymaster

    Facebook caches url. Try again after a few days.

    Note: You have a very old version of the theme. See changelog: http://themeforest.net/item/bloggy-wp-responsive-minimalist-theme/5557121

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register