eurotrashNM
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Leafly Menu for WordPress] Plugin Works as ExpectedForum: Plugins
In reply to: [Leafly Menu for WordPress] Plugin Works as ExpectedJust want to add an update to my comment above the current hosted version of the plugin is using an older embed method no longer supported by Leafly. The new embed method provides an improved user experience and removes the need to adjust iframe properties.
Link to updated view:
https://github.com/wp-plugins/leafly-menu-embed/blob/master/views/leafly-menu.phpFull embed code:
<div id="leafly-menu"></div><div style="text-align:center;">Visit our profile on <a href="https://www.leafly.com/dispensary-info/some-store-url">Leafly</a></div> <script src="https://www.leafly.com/public/global/js/dispensarymanager/embed.js"></script> <script>var pymParent = pym.Parent('leafly-menu', 'https://www.leafly.com/embed/menu2/ultra-health-albuquerque---ne', {});</script>
Forum: Plugins
In reply to: [Flickr Photostream] Receiving error Notice: has_cap was calledIn flickr-photostream-setting.php on line 63 to 67 remove the numeric value for the third parameter and replace with a string.
Using a Numeric value for the setting instead of a string causes this error.
Original Code
add_action('admin_menu', 'flickr_photostream_admin_add_page'); function flickr_photostream_admin_add_page() { add_options_page('FlickrPhotostreamSettings', 'Flickr Photostream', 10, 'flickrps', 'flickr_photostream_setting'); }
Fixed Code
add_action('admin_menu', 'flickr_photostream_admin_add_page'); function flickr_photostream_admin_add_page() { add_options_page('FlickrPhotostreamSettings', 'Flickr Photostream', 'activate_plugins', 'flickrps', 'flickr_photostream_setting');
}
Okay, thanks. Thought the module looked a little light in code.
Would be really sweet if was implemented as part of nextgen pro.
Viewing 4 replies - 1 through 4 (of 4 total)