Multiple Instagram Authors
-
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
- The topic ‘Multiple Instagram Authors’ is closed to new replies.