moggiex
Forum Replies Created
-
Forum: Reviews
In reply to: [VS Event List] Very Light Weight! (works in a block theme too)Update, I found “Open link in new window'” in each event, can we just have this as a global option as I do not see any time when I would not want it not to open in a no window/be nofollow.
M
Forum: Fixing WordPress
In reply to: WordPress v6.2.1 Breaks the Shortcode Block in TemplatesSame here, different short codes, including custom ones not part of plugins. All broken in a block theme with 6.2.1
Ah, having widget id’s that do not match the name just won’t work in my instance, hence having the widget name the same as google place id. I can then import and export them and they match without having to worry about the post id from the widgets table.
If that makes any sense.
M
When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.1.1 Active theme: Current plugin: Plugin for Google Reviews (version 2.2.9) PHP version 8.2.3 Error Details ============= An error of type E_ERROR was caused in line 211 of the file /home/website.com/htdocs/website.com.com/wp-content/plugins/widget-google-reviews/includes/core/class-core.php. Error message: Uncaught Error: Attempt to assign property "photo" on null in /home/website.com/htdocs/website.com.com/wp-content/plugins/widget-google-reviews/includes/core/class-core.php:211 Stack trace: #0 /home/website.com/htdocs/website.com.com/wp-content/plugins/widget-google-reviews/includes/core/class-core.php(129): WP_Rplg_Google_Reviews\Includes\Core\Core->get_google_reviews() #1 /home/website.com/htdocs/website.com.com/wp-content/plugins/widget-google-reviews/includes/core/class-core.php(90): WP_Rplg_Google_Reviews\Includes\Core\Core->get_data() #2 /home/website.com/htdocs/website.com.com/wp-content/plugins/widget-google-reviews/includes/class-feed-shortcode.php(44): WP_Rplg_Google_Reviews\Includes\Core\Core->get_reviews() #3 /home/website.com/htdocs/website.com.com/wp-includes/shortcodes.php(355): WP_Rplg_Google_Reviews\Includes\Feed_Shortcode->init() #4 [internal function]: do_shortcode_tag() #5 /home/website.com/htdocs/website.com.com/wp-includes/shortcodes.php(227): preg_replace_callback() #6 /home/website.com/htdocs/website.com.com/wp-includes/class-wp-hook.php(308): do_shortcode() #7 /home/website.com/htdocs/website.com.com/wp-includes/plugin.php(205): WP_Hook->apply_filters() #8 /home/website.com/htdocs/website.com.com/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1857): apply_filters() #9 /home/website.com/htdocs/website.com.com/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(568): WP_REST_Posts_Controller->prepare_item_for_response() #10 /home/website.com/htdocs/website.com.com/wp-includes/rest-api/class-wp-rest-server.php(1171): WP_REST_Posts_Controller->get_item() #11 /home/website.com/htdocs/website.com.com/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request() #12 /home/website.com/htdocs/website.com.com/wp-includes/rest-api.php(535): WP_REST_Server->dispatch() #13 /home/website.com/htdocs/website.com.com/wp-includes/rest-api.php(2884): rest_do_request() #14 [internal function]: rest_preload_api_request() #15 /home/website.com/htdocs/website.com.com/wp-includes/block-editor.php(635): array_reduce() #16 /home/website.com/htdocs/website.com.com/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload() #17 /home/website.com/htdocs/website.com.com/wp-admin/post.php(187): require('...') #18 {main} thrown
Howdy supertrooper2,
I did some investigation over the weekend with our test site, it’s not necessarily W3 Total Cache related as other minify plugins for WordPress (such as this one https://www.ads-software.com/plugins/bwp-minify/) have the same issue.
Matt
*facepalm*
I’ve done that, thank you!
Matt
Hi,
A different version to the above, which is to not track every click event with JQuery and instead specifically look for the click event on the #darkbackground ID and then close the box.
// Added for WPMU Pop UP! Plugin to close the popup if the background is clicked on // Sources: // https://premium.wpmudev.org/forums/topic/how-do-i-close-the-popup-when-the-user-clicks-on-the-dark#post-714545 // https://www.ads-software.com/support/topic/close-box-if-clicked-out-of?replies=7#post-5232373 function custom_popup_script(){ ?> <script type="text/javascript"> jQuery(function($){ $('#darkbackground').click(function() { $('#closebox').click(); }); $('#darkbackground div').click(function(e) { e.stopPropagation(); }); }); </script> <?php } add_action('wp_footer', 'custom_popup_script');
Hope that helps someone else,
Matt
Forum: Plugins
In reply to: [ITRO Popup Plugin] Only need it to pop up onceHowdy,
Ah I’m not after a cookie pop up, that’s no longer needed. I was after the cookie part for storing the number of times that an user has been shown the pop up.
For example On every page would be annoying paste the first page view.
Matt
Forum: Plugins
In reply to: [ITRO Popup Plugin] Only need it to pop up onceHi,
I’d like to know the answer to this question also, anyone?
Matt
By the way Keith, fantastic plugin!
Matt
Hi Khang,
I do somewhere :/ I have to be honest I have very little time to code at the moment.
Matt
Howdy,
Any page would do, so a new one with a short code that we can use to show the comments made by the user that is logged in and any direct replies made to those comments.
I don’t think it should be too hard to do, I’ve just not written a WP plugin for quite a while!
Matt
Howdy Khang,
We were looking for a shortcode that we can add to a members profile page to show them the comments that they have made and any replies to them.
I’m quite surprised that there isn’t a plugin out there that can do this, all the others just show all comments, rather than comments made by one specific user.
Does that make sense?
Matt
Forum: Plugins
In reply to: [WP Favorite Posts] favorite list displayed in headerHowdy,
By the way, I did try rewriting the wpfp_list_favorite_posts() function to return the details as a variable, had no effect, still add it to the header ??
Matt
Forum: Plugins
In reply to: [WP Favorite Posts] favorite list displayed in headerHi,
Is there a way of returning the favourites without having to disable the Yoast SEO plugin or disabling the “Add Open Graph meta data or Add Twitter card meta data”?
Matt