Michael
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST API (WP API)] Only get latest postIf you do
filter[posts_per_page]=1
that will get you the 1 latest post, regardless of category or whatever.e.g. full URL
https://www.domain.com/wp-json/posts?filter[posts_per_page]=1
Forum: Plugins
In reply to: [FBF Facebook page Feed Widget] l.facebook.comI ended up modifying the plugin to eliminate the l.facebook.com URLs altogether. They require a profile hash key that isn’t supplied through a WordPress site (as far as I can tell).
The
str_replace()
ran on line 117 & 118 didn’t make sense, so I overrode it.$desc = str_replace( 'https://l.facebook.com/l.php?u=', '', $block->get_description() );
Forum: Plugins
In reply to: [Youtube Channel Gallery] Clicking on thumbnails does not update player.callblu, this would go in your JavaScript, somewhere within
jQuery(document.ready(function($){});
Forum: Plugins
In reply to: [Youtube Channel Gallery] Clicking on thumbnails does not update player.I am using this jQuery for the time being.
$('.ytclink').unbind().click(function(event){ event.preventDefault(); event.stopPropagation(); var iframeid = $(this).attr('data-playerid'); var youtubeid = $(this).attr('href').split("watch?v=")[1]; $('#'+iframeid).attr('src','//www.youtube.com/embed/'+youtubeid+'?version=3&theme=dark&color=white&modestbranding=&rel=1&showinfo=1&enablejsapi=1&wmode=transparent'); return false; });
Forum: Plugins
In reply to: [Youtube Channel Gallery] Clicking on thumbnails does not update player.I am having the same issue as well. It was working fine last week, but now does the same as what momofone reported. I am also getting the errors ndugger reported about.
I was running into the same problem and went about fixing it the same way. Thumbs up to WP Engine for helping me out!