Viewing 3 replies - 1 through 3 (of 3 total)
  • If the page template of your theme isn’t able to display content from the page editor you would need to edit the template file in order to add the Facebook feed shortcode directly to it.

    You can do this by opening the template file for the template page that you are going to use for the feed and then adding the following PHP code wherever you want to display the feed:

    <?php echo do_shortcode('[custom-facebook-feed]'); ?>

    Thread Starter w1zzard

    (@w1zzard)

    Ah I forgot this function. do_shortcode seems cool, thanks.

    No problem and I wish you a great day.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘php function’ is closed to new replies.