Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #87552
    isabella
    Participant

    hi,
    please, i’d like to have the facebook “Page Plugin” on featured post 1 in home page,
    instead of image and text,
    How can i do?
    thank you!
    have a nice day
    Isabella

    #87589
    Mahesh
    Participant

    @isabella: For that, you’ll need to create child theme. You can find more details on creating child theme HERE. Then in your child theme’s functions.php, find and add the code from the following link. Then you’ll be able to add shortcode to display facebook page plugin in any one of content section of Featured Content.
    http://bit.ly/1RNkOT8

    Regards,
    Mahesh

    #88154
    isabella
    Participant

    Thank you Mahesh,
    i’ve tried but unfortunately didn’t work,
    i create child theme, downloading this: http://catchthemes.com/wp-content/uploads/2014/05/catch-everest-pro-child1.zip
    so, in my folder:
    folder catch-everest-pro-child
    in the file functions.php
    i add the code you suggest me in this page:
    http://pastebin.com/kmjYinbm

    so I activate the child theme, but the only thing has changed was the logo web site, that i have to reload.
    In the content section in “featured content home page” i not see any changes;
    And, in the page that i linked you
    https://developers.facebook.com/docs/plugins/page-plugin
    there are two codes that needed to be add,

    1. Include the SDK JavaScript on your page once, ideally right after the opening <body> tag.
    <div id=”fb-root”></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = “//connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v2.5″;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));</script>

    2. position the code in your page where you like to show the plugin
    <div class=”fb-page” data-href=”https://www.facebook.com/facebook&#8221; data-tabs=”timeline” data-small-header=”false” data-adapt-container-width=”true” data-hide-cover=”false” data-show-facepile=”true”><div class=”fb-xfbml-parse-ignore”>

    Facebook

    </div></div>

    my web site address is:
    admofvg.it

    thank you for your assistance,
    Isabella

    #88158
    Mahesh
    Participant

    @isabella: Sorry, I thought you were trying to use the Facebook Page Plugin for WordPress, but you are trying to use the facebook’s own page plugin. This the not possible with the above method. You’ll need to hire a customizer for this.

    Regards,
    Mahesh

    #88162
    isabella
    Participant

    oK,
    that kind of Facebook Page Plugin for WordPress i can use?

    #88167
    Mahesh
    Participant

    @isabella: If you want to display certain facebook page in your site (in featured content) as you’ve mentioned earlier you can use this plugin and you have to follow the above steps.

    Regards,
    Mahesh

    #88168
    isabella
    Participant

    thank you, the name of the plug in is: “Facebook Page Plugin”?
    https://it.wordpress.org/plugins/facebook-page-feed-graph-api/

    but, as i create the child theme, nothing has changed on the content section of “Featured Content”. How we can check if i done the changes in the correct way?
    thank you
    Isabella

    #88172
    Mahesh
    Participant

    @isabella: I guess you’ve followed all the instructions above ( i.e. creating child theme, putting codes in functions.php etc ). After installing and activating the mentioned plugin, go to Admin Dashboard, you’ll see Facebook Page Plugin Shortcode Generator section at the bottom. Fill up the form and a shortcode will be generated. Copy the generate shortcode and go to “Dashboard=> Appearance=> Customize=> Homepage Settings=> Homepage Featured Content Options”, then page it in Content within Featured Content # and click save. Then go to front page, you’ll see the facebook page div in featured content section.

    Regards,
    Mahesh

    #88177
    isabella
    Participant

    big thank you Mahesh!
    everything works now,
    thanks for the fast support.
    have a nice day
    isabella

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘facebook in featured post in home page’ is closed to new replies.