How to add Instapress plugin feed

Discussion in 'Andrina WordPress Theme' started by gunnlaugursig, May 3, 2013.

  1. gunnlaugursig

    gunnlaugursig New Member

    Joined:
    May 1, 2013
    Messages:
    10
    Likes Received:
    0
    I installed the Instapress plugin and want to display one picture in the "Homepage Two Col" section in the theme. I can use the plugin on a page with shortcode without a problem but not in this area on the frontpage.

    Any idea how I get this working?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,
    It is not possible to add a plugin shortcode on homepage area, But you can add it in the footer widget area if you want to do that then, go to Appearance > Widgets and drag text widget and add you plugin shortcode there and drop it in the first footer widget area.
     
  3. gunnlaugursig

    gunnlaugursig New Member

    Joined:
    May 1, 2013
    Messages:
    10
    Likes Received:
    0
    What code would I need to change for shortcodes to work in "Homepage Two Col"?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  5. gunnlaugursig

    gunnlaugursig New Member

    Joined:
    May 1, 2013
    Messages:
    10
    Likes Received:
    0
    So there is no way for me to customize the theme to support that?
     
  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Go to the front-page.php file present in your Theme directory and add the code given below as shown in the image given below in that file.
    Code:
    <?php echo do_shortcode("paste your shortcode here"); ?>
    [​IMG]

    This will solve your issue.
     

Share This Page