WordPress.org

Ready to get started?Download WordPress

Forums

WP-Instaroll
Multiple Instagram Authors (2 posts)

  1. ethanhackett
    Member
    Posted 1 year ago #

    I love the plugin. I know it takes a lot to make and maintain them so I'm grateful for your hard work.

    I've seen a few people search for ways of getting multiple Instagram authors to show up rather than just one. You're plugin pulls in either posts by the one author or their posts and all of the posts they follow. It would be nice to somehow make it so that users could exclude or include people they follow.

    In my case my wife and I are starting family blog and we wanted both our instagram posts to show. So I needed something inbetween no friends and all friends.

    My solution was to add an if statement in the ajax_panel.php (at line 81) to filter the results to only users I wanted to display.

    // Filter only author Ethan and Colleen
    if ($element->user->username == "colleenhackett" || $element->user->username == "ethanhackett") {

    I also saw people looking to do the same thing for businesses and such that have multiple people on a team. But now that I added this I can't update the plugin without making the changes again.

    I hope this helps others.

    Ethan

    http://wordpress.org/extend/plugins/wp-instaroll/

  2. ethanhackett
    Member
    Posted 1 year ago #

    p.s. I believe it also has to be added to the autopost section in the instagram.php file. Somewhere around line 603. Otherwise it will autopost everyone's instagrams that you follow.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic