Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Saguaros Moderator
    #1040622

    Hi,

    I’m not quite sure which article this text belong to, could you tell me more details?

    oribe522 Friend
    #1040766

    All articles created by the plugin from Facebook post, contains the text shown in the picture.

    Saguaros Moderator
    #1041350

    I see it. But there is no way to ‘hide’ these text, you mean that you want to remove them, right?

    oribe522 Friend
    #1041356

    Yes I want to remove them!

    Saguaros Moderator
    #1041545

    You can open the file: ROOT/plugins/system/jasocial_feed/jasocial_feed.php

    At approx line 503, comment / remove this snippet of code:

                    $post['source_content'] .= '
                    <div class="content-links">
                        <ol class="nav">
                            <li class="content-links-a">
                                <a href="https://www.facebook.com/'.$fbid.'/posts/'.preg_replace('/[0-9]+_/','',$dt->id).'" target="_blank" rel="nofollow">'.$srcTxt.'</a>
                            </li>
                            <li class="content-links-b">
                            ';
                    $post['source_content'] .=    $dt->link ? '<a href="'.$dt->link.'" target="_blank" rel="nofollow">'.$domain['host'].'</a>' : '';
                    $post['source_content']   .= '   </li></ol></div>';

    Remember to backup this file first.

    Then go to backend settings of this plugin and import content again.

    oribe522 Friend
    #1044577

    Great Really thanks!!!!!

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

This topic contains 6 replies, has 2 voices, and was last updated by  oribe522 7 years, 5 months ago.

The topic ‘JA Social Feed – Hide source text from article …’ is closed to new replies.