imstanleyyeo
Forum Replies Created
-
Forum: Plugins
In reply to: [Shared Counts - Social Media Share Buttons] reinit share counts on pjax siteThanks a lot, Bill! Should it be this instead because I got a
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR)
if( function_exists( 'shared_counts' ) ) { $shared_counts->front->share_link = true; }
This is for styles, any idea we can do the same for the JS?
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxExcellent @bravin! Really appreciate it and look forward to the next update soon. Thank you!
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxHi @bravin,
Thanks for the latest release v1.6.1.
Would you be able to advise which line in the code below is throwing this error?
Notice: Undefined index: foogallery_album_sort in /../web/app/plugins/foogallery/extensions/albums/admin/class-metaboxes.php on line 126
Warning: Cannot modify header information – headers already sent by (output started at /../web/app/plugins/foogallery/extensions/albums/admin/class-metaboxes.php:126) in /../web/wp/wp-includes/pluggable.php on line 1219
function remove_plugin_metaboxes(){ remove_meta_box( 'foogalleryalbum_shortcode', 'foogallery-album', 'side' ); remove_meta_box( 'foogalleryalbum_sorting', 'foogallery-album', 'side' ); remove_meta_box( 'foogalleryalbum_settings', 'foogallery-album', 'normal' ); remove_meta_box( 'foogalleryalbum_customcss', 'foogallery-album', 'normal' ); } add_action( 'do_meta_boxes', 'remove_plugin_metaboxes' );
Thanks, I appreciate your reply and help. Able to point me to how I can do this on the template file instead of the shortcode?
Thank you for your reply.
Alright, I am just thinking what makes sense because I have a page (besides the main events page) to list out all current events. If these events are over, they will still be listed out. So what do you think I can do to not confuse them?
Thanks for your advise.
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxOk. foogalleryalbum_sorting and foogalleryalbum_settings also throws the same error and it’ll be excellent if they can be built in the next update too.
function remove_plugin_metaboxes(){ remove_meta_box( 'foogallery_sorting', 'foogallery', 'side' ); remove_meta_box( 'foogalleryalbum_sorting', 'foogallery-album', 'side' ); remove_meta_box( 'foogalleryalbum_settings', 'foogallery-album', 'normal' ); } add_action( 'do_meta_boxes', 'remove_plugin_metaboxes' );
Thanks a lot and look forward to the next release.
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxHi @bravin,
Just checking in to see if you’ve managed to reproduce this bug? I’m still using the same code and this happens after updating a gallery/album.
function remove_plugin_metaboxes(){ remove_meta_box( 'foogallery_retina', 'foogallery', 'side' ); remove_meta_box( 'foogallery_sorting', 'foogallery', 'side' ); remove_meta_box( 'foogallery_settings', 'foogallery', 'normal' ); remove_meta_box( 'foogalleryalbum_sorting', 'foogallery-album', 'side' ); remove_meta_box( 'foogalleryalbum_settings', 'foogallery-album', 'normal' ); } add_action( 'do_meta_boxes', 'remove_plugin_metaboxes' );
Thanks again for your time and this wonderful plugin. Look forward to your kind advise.
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxThanks for your swift reply. This is the error message I’m getting when I click on update after disabling the foogallery_retina, foogallery_sorting and foogallery_settings metabox. Let me know if you need more info.
Notice: Undefined index: foogallery_sort in ../web/app/plugins/foogallery/includes/admin/class-gallery-metaboxes.php on line 187
Warning: Cannot modify header information – headers already sent by (output started at ../web/app/plugins/foogallery/includes/admin/class-gallery-metaboxes.php:187) in ../web/wp/wp-includes/pluggable.php on line 1219
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxHi @bravin,
I’ve updated to the latest v1.5.9 but issue still occur, is this already built into the recent release?
Thanks.
Forum: Plugins
In reply to: [Hide SEO Bloat] Notice: Undefined index:Sorry please disregard this. After I’ve save setting, message goes away.
Thank you all! Managed to installed this version through composer.
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxSorry if I’m unclear.
Glad it’s all sorted out. Looking forward to the next big update. Thanks again for this great plugin!
Forum: Plugins
In reply to: [Best WordPress Gallery Plugin – FooGallery] Hide metaboxThanks a lot for your reply!
At the end in functions.php. When do you recon that I should place them? Do I need to set a priority?
Appreciate your advise.
Alright cool. Thanks a lot for raising the flag on this. Will await a response.
Hi hi,
You’re right it doesn’t. The file structure is different in 5.3.4. gadwp.php is also not there in the latest version. Able to advise?
Thanks!