Adding Content to Main Blog Roll

  • Author
    Posts
  • #13952
    Scott Boutwell

    I need to add some content to the main blog roll.

    <?php /* Added to display posts From Facebook */ ?>
    <h1 class=”entry-title”><?php echo “Recent Facebook Media Posts”; ?></h1>
    <?php echo do_shortcode(‘[recent-facebook-posts number=4 likes=0 comments=0 excerpt_length=250]’); ?>
    <?php echo “<br>”; ?>

    I’ve tried inserting this in theme-loop.php but get unexpected error. I attempted to add at line 223 as this was the location I’ve added this shortcode in other theme’s just before the navigation.

    How and where would you suggest I add this bit of code to make this come up at either the TOP or BOTTOM of the blog roll.

    Thanks.

    #14359
    Zed
    Cryout Creations mastermind

    Use a text widget with that shortcode in the below content area. It’s simpler.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Adding Content to Main Blog Roll’ is closed to new replies.