Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey mdomfu,

    The “View on Facebook” link is intended to link to the Facebook post while the “Read More” link is intended to expand the text to reveal more. It might be possible to achieve what you’re describing using a custom code snippet, but I would need to see a link to the page on your website where you’re displaying the feed in order to say for sure. If you can provide a link then I can take a look for you.

    Thanks,

    John

    Thread Starter mdomfu

    (@mdomfu)

    Thanks. My web is http://www.capalma.com.
    The reason I want this is because large text posts display the photo up, while in short text the photo is cuadred with the text

    Plugin Author smashballoon

    (@smashballoon)

    Thanks for the link. Try adding this to our plugin’s Custom JavaScript section and let me know whether it works for you:

    $('.cff-item').each(function(){
      var $self = $(this);
      $self.find('.cff-expand a').off().on('click', function(e){
        e.preventDefault();
        window.open($self.find('.cff-viewpost-facebook').attr('href'), '_blank');
      });
    });

    Hope you’re having a good day!

    John

    Thread Starter mdomfu

    (@mdomfu)

    Works perfect, but it open the photo (I think this is normal because the plugin open the photo). Any way to open the post and not the photo?

    Plugin Author smashballoon

    (@smashballoon)

    Awesome, glad to hear that works 🙂

    It doesn’t seem as though it’s possible to avoid that, as even if I use the post ID to go directly to a post then Facebook still redirects to open their photo “theater” view: https://www.facebook.com/175368575835304_1033532626685557

    John

    Thread Starter mdomfu

    (@mdomfu)

    Okey! Thans for all!!!

    Plugin Author smashballoon

    (@smashballoon)

    You’re welcome. Happy to help!

    If you like the plugin, please consider leaving a quick review, as it really helps to support the plugin!

    I hope you have a good rest of your week 🙂

    John

    Thread Starter mdomfu

    (@mdomfu)

    I did it in your last help 😉

    Plugin Author smashballoon

    (@smashballoon)

    Haha awesome, thanks so much 🙂 We really appreciate that!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Read more text linked to Facebook post’ is closed to new replies.