Embed Facebook
[PATCH] Too many album photos shown on index pages (1 post)

  1. thelonelyghost
    Posted 2 years ago #

    The embedded albums I use are huge and I prefer not to have 400 photos show up as one post on my front page. There's no included teaser-setting where one limits the number of photos shown in a teaser, yet I don't want to set a global album limit. To answer this issue, I adjusted a few lines in embed-facebook.php.


    The main changes are to lines 161 and 162 of sohail_do_embed_album() and 220 and 221 of sohail_do_embed_new_album(). You'll see I added the default teaser limit to be 12 photos, limiting results directly in the API call.

    I request that these changes be merged into the latest code base so I may safely update this plugin again. I am more familiar with git than svn so I apologize for not submitting this as a patch file.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Embed Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by thelonelyghost
  • This topic is not resolved
  • WordPress version: 3.4.2