Pinterest RSS Widget
[resolved] Pins not showing in sidebar (5 posts)

  1. kthorjensen
    Posted 3 years ago #

    Hey, man - I'm having a problem getting the plugin to display when using the PHP code in my sidebar.php file. The shortcode on a page looks fine (as seen on this test page here: http://www.fortheloveof.net/?page_id=809) but embedding the PHP code calls nothing at all, even with the same parameters.

    Here's the code on the sidebar page:

    <div class="tightlist" style='border-style:solid;border-width:1px;border-color:#b7e0d2;margin-top:16px'>
    			<img src="http://www.fortheloveof.net/wp-content/uploads/2012/05/ftlo-pinterest.png" class="middlebar2">
    <?php get_pins_feed_list('fourflights', 'my-style-pinboard', 3, 'myList', 1, 'newwindow', 'yes', 145, 145, 'none'); ?>

    Any thoughts? Thanks so much for an awesome plugin. I hope I can get it to work.


  2. bkmacdaddy
    Plugin Author

    Posted 3 years ago #

    Very strange. I don't know why the template tags are not working, since the shortcode is. I will have to look into it when I have more time. IN the meantime, you can use the do_shortcode function to make it work. I just tested it with your settings and it worked fine. Use the following code:

    <?php echo do_shortcode('[prw username="fourflights" boardname="my-style-pinboard" maxfeeds="3" divname="myList" printtext="1" target="newwindow" useenclosures="yes" thumbwidth="145" thumbheight="145" showfollow="none"]'); ?>

    Let me know if that solves the problem for now.

  3. kthorjensen
    Posted 3 years ago #

    That solved the problem. Thanks. Let me know if you ever want me to test anything to run down the problem with the template tags, I'd be glad to do whatever I can to help.

  4. Mannie Schumpert
    Posted 2 years ago #

    FYI, get_pins_feed_list didn't work for me, either.
    But the do_shortcode function did.

  5. Henry
    Posted 2 years ago #

    FYI, the get_pins_feed_list() function isn't working for me either

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest RSS Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic