Title: Mahangu Weerasinghe's Replies - page 3 | WordPress.org

---

# Mahangu Weerasinghe

  [  ](https://wordpress.org/support/users/lastnode/)

 *   [Profile](https://wordpress.org/support/users/lastnode/)
 *   [Topics Started](https://wordpress.org/support/users/lastnode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lastnode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lastnode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lastnode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lastnode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lastnode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 31 through 43 (of 43 total)

[←](https://wordpress.org/support/users/lastnode/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/lastnode/replies/?output_format=md) [2](https://wordpress.org/support/users/lastnode/replies/page/2/?output_format=md)
3

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to group post by subcategories in archive pages build with Gutenberg](https://wordpress.org/support/topic/how-to-group-post-by-subcategories-in-archive-pages-build-with-gutenberg/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/how-to-group-post-by-subcategories-in-archive-pages-build-with-gutenberg/#post-17891761)
 * > Now, I am trying to see If I can get a similar result with Gutenberg. I guess
   > I could build a block for this
 * Yes, it sounds like you will need to look into building on [the Query Loop block](https://wordpress.org/documentation/article/query-loop-block/).
   This [Extending the Query Loop block](https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/extending-the-query-loop-block/)
   howto from [WordPress Developer Resources](https://developer.wordpress.org/) 
   may be a good place to start.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Missing picture of featured product on the Case Study page](https://wordpress.org/support/topic/missing-picture-of-featured-product-on-the-case-study-page/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/missing-picture-of-featured-product-on-the-case-study-page/#post-17891729)
 * The layout of this page is handled by Elementor. Given that Elementor is a plugin
   that has its own functionality and way of doing things, you will need to reach
   out to their support forum for assistance with this issue – [https://wordpress.org/support/plugin/elementor/](https://wordpress.org/support/plugin/elementor/)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Issues with Block-based Widgets](https://wordpress.org/support/topic/issues-with-block-based-widgets/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/issues-with-block-based-widgets/#post-17891720)
 * > The widget plugin I use is this one : [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * Yes, this does appear to be a legacy widget and once installed, does not show
   up for me either when using Block-based widgets. However, if you are using Block-
   based widgets, you can try and use [the Latest Posts block](https://wordpress.org/documentation/article/latest-posts-block/)
   instead, as it has similar functionality.
 * > About “Block themes”, how do I know if a theme I choose is a “Block theme”?
 * You can find block themes in the [WordPress theme directory](https://wordpress.org/themes/tags/full-site-editing/)
   by selecting **Block Themes** in the toolbar. This automatically takes you to
   a filtered view of all themes with Full Site Editing functionality. If you’re
   unsure of which theme to pick, the current default WordPress theme [Twenty Twenty-Four](https://wordpress.org/themes/twentytwentyfour/)
   may be a good starting point.
 * Block Themes are also compatible with [Block Patterns](https://wordpress.org/patterns/)
   that you can copy and paste directly into your theme’s templates, so there is
   a lot off flexibility here, regardless of which theme you start from. For more
   on how to edit Block Themes, see the [Site Editor documentation](https://wordpress.org/documentation/article/site-editor/).
    -  This reply was modified 1 year, 11 months ago by [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/).
      Reason: Added Twenty Twenty-Four link
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Space below footer -> where does it come from?](https://wordpress.org/support/topic/space-below-footer-where-does-it-come-from/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/space-below-footer-where-does-it-come-from/#post-17891704)
 * The issue seems to be with this CSS declaration:
 *     ```wp-block-code
       .lv2-footer {    background-color: var(--lv2--dash-color);    padding-top: 80px;    padding-bottom: 100px;}
       ```
   
 * Removing that line using my web browser style editor fixed the issue for me.
 * Of course, you will need to see what else that affects on your site and possibly
   make other edits to the CSS too.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cron jobs not running –](https://wordpress.org/support/topic/cron-jobs-not-running-2/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/cron-jobs-not-running-2/#post-17891685)
 * [WordPress cron (WP-Cron) jobs](https://developer.wordpress.org/plugins/cron/)
   are queued and then run on page load. If you don’t have a lot of visits to your
   site, they can indeed be missed.
 * > Should I setup cron jobs in cpanel?
 * Yes, one option for low traffic sites is to setup WordPress cron jobs in cPanel.
   This guide from cPanel can help you with that – [https://support.cpanel.net/hc/en-us/articles/10687844130199-How-to-replace-wp-cron-with-cron-job-without-WP-Toolkit](https://support.cpanel.net/hc/en-us/articles/10687844130199-How-to-replace-wp-cron-with-cron-job-without-WP-Toolkit)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [“Please fill out this field” tooltip on Search box](https://wordpress.org/support/topic/please-fill-out-this-field-tooltip-on-search-box/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/please-fill-out-this-field-tooltip-on-search-box/#post-17889811)
 * As noted above, you can remove the `required` attribute from the search box and
   this will make this `Please fill out this field.` tooltip go away. To do so, 
   you can add some code to your WordPress install.
 * _**(Before reading on, please note that modifying your `functions.php` file and/
   or adding code snippets to your site can cause it to break. Always backup your
   site before making changes to it.)** _
 * If you still want to give this a shot, you can try adding this PHP/JavaScript
   snippet to your theme’s [`functions.php` file](https://developer.wordpress.org/themes/core-concepts/custom-functionality/):
 *     ```wp-block-code
       function custom_remove_search_box_required_attribute() {    ?>    <script type="text/javascript">        document.addEventListener('DOMContentLoaded', function() {            var searchInputs = document.querySelectorAll('.wp-block-search__input');            searchInputs.forEach(function(input) {                input.removeAttribute('required');            });        });    </script>    <?php}add_action('wp_footer', 'custom_remove_search_box_required_attribute');
       ```
   
 * Here is what each part does:
 * **PHP Function**: The function `custom_remove_required_attribute` outputs a JavaScript
   snippet directly into the footer of the site.
 * **JavaScript Code**: This JavaScript code waits for the page to be fully loaded
   and then selects all elements with the class `.wp-block-search__input` (the WordPress
   search block) that have the `required` attribute and then removes it.
 * **`wp_print_footer_scripts` Action Hook**: This WordPress hook ensures that the
   script is added at the very end of the page, just before the closing `</body>`
   tag. This ensures the page is fully loaded before the script runs.
 * If you don’t want to edit your theme’s `functions.php` file, you can try adding
   this code to your site via a plugin like [Code Snippets](https://wordpress.org/plugins/code-snippets/).
 * Adding this code removed the search box tooltip for me on my Twenty Twenty-Four
   test site. Hope this helps!
    -  This reply was modified 1 year, 11 months ago by [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/).
      Reason: typo
    -  This reply was modified 1 year, 11 months ago by [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/).
      Reason: typo
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Clients can’t proceed payments](https://wordpress.org/support/topic/clients-cant-proceed-payments/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/clients-cant-proceed-payments/#post-17889560)
 * These are the support forums for WordPress. However, it appears that the issue
   you are experiencing is with WooCommerce, the plugin that you use to process 
   payments on your WordPress site.
 * For help with this plugin, please head to [the WooCommerce plugin support forums](https://wordpress.org/support/plugin/woocommerce).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Searching Quiz plugin with relational operators](https://wordpress.org/support/topic/searching-quiz-plugin-with-relational-operators/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/searching-quiz-plugin-with-relational-operators/#post-17889489)
 * Most of the top WordPress [form](https://wordpress.org/plugins/tags/forms/) plugins
   support conditional logic. Most will have free versions but you will need to 
   experiment and see which free versions have the functionality you need.
 * However, based on your overall requirements, you may actually be looking for 
   a fully-fledged [learning management system](https://wordpress.org/plugins/tags/lms/)
   plugin for WordPress.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Links from Ontraport no longer working on WP membership pages](https://wordpress.org/support/topic/links-from-ontraport-no-longer-working-on-wp-membership-pages/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/links-from-ontraport-no-longer-working-on-wp-membership-pages/#post-17889474)
 * Hello! Could you please confirm that you are using [Ontraport’s WordPress plugin](https://ontraport.com/features/landing-pages/wordpress)
   to generate these links within WordPress?
 * Reaching out to Ontraport directly about this is a good next step. WordPress 
   itself does not modify links, so either the Ontraport WordPress plugin, or another
   WordPress plugin or theme you have installed is making these changes.
 * **Please note that you should remove the `Signature=` and `Key-Paid-Id`= values
   from these `ontraport.com` URLs before pasting them into forum replies as these
   could be unique access codes and should not be saved here**.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Custom fields in a query loop?](https://wordpress.org/support/topic/custom-fields-in-a-query-loop/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/custom-fields-in-a-query-loop/#post-17889439)
 * > The Query Loop block sees the custom post type, and even allows me to filter
   > by our custom taxonomies, but in the “Post Template” part of the query loop
   > block, I’d like to display some of that custom metadata (certification type
   > and location in this specific instance) if available.
   > […]
   > I’m trying to basically add that as a pattern that I can drop into a Query 
   > Loop block, but I can’t get it to display that information.
 * This [Extending the Query Loop block](https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/extending-the-query-loop-block/)
   howto from [WordPress Developer Resources](https://developer.wordpress.org/) 
   seems to detail what you are looking to do here, using an example:
 * > Let’s go on a journey, for example, of setting up a variation for a plugin 
   > which registers a `book` [custom post type](https://developer.wordpress.org/plugins/post-types/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Issues with Block-based Widgets](https://wordpress.org/support/topic/issues-with-block-based-widgets/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/issues-with-block-based-widgets/#post-17889376)
 * Hi davidsaber,
 * > 1) The post page template must be made to receive a widget area.
 * > 3) If I can’t use my favorite template to add widgets areas, I told myself 
   > I would just need to add an empty block and register it as a widget area.
 * Yes, to use widgets on a legacy WordPress theme, specific widget areas must be
   registered within that theme. However, on newer themes that are compatible with
   [the new WordPress Site Editor](https://wordpress.org/documentation/article/site-editor/),
   no such manual work is necessary, as the whole theme is editable in the Site 
   Editor itself. The new WordPress Site Editor does not have a concept of widget
   areas, as (on themes that support it) the whole site including headers, footers,
   and sidebars can be edited directly in the Site Editor, using [templates](https://wordpress.org/documentation/article/template-editor/),
   [patterns](https://developer.wordpress.org/themes/global-settings-and-styles/patterns/),
   and [blocks](https://wordpress.org/blocks/).
 * The theme you are using appears to be _Child theme for Hellomouse – Ignition ,
   customized by DreamCraft,_ and this does not seem to be a theme that’s compatible
   with [the new WordPress Site Editor](https://wordpress.org/documentation/article/site-editor/).
   To use Block-based Widgets with your existing legacy WordPress (non-Site-Editor-
   compatible) theme, you will indeed need to [register Widget Areas within the theme](https://learn.wordpress.org/lesson-plan/widget-areas/).
 * > 2) I want to add widgets as blocks inside a post/page. So I edit a post, add
   > a block with the “+” button, click on “browse all”, then tab “Blocks”, then
   > category “Widgets’, and then I can’t find all the widgets there. I installed
   > the widget “Recent Posts Extended” and it is nowhere to be found. Why?
 * Could you please link us to the `Recent Posts Extended` widget you installed?
   Happy to have a closer look, but based on what you have said, this is likely 
   a legacy widget that is not compatible with Block-based Widgets. If you want 
   to go back to using legacy widgets, you can use [the Classic Widgets plugin](https://wordpress.org/plugins/classic-widgets/).
    -  This reply was modified 1 year, 11 months ago by [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/).
      Reason: Accidentally posted before reply was done
    -  This reply was modified 1 year, 11 months ago by [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/).
      Reason: Clarity
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Need a Very Simple Beaver Builder Function](https://wordpress.org/support/topic/need-a-very-simple-beaver-builder-function/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/need-a-very-simple-beaver-builder-function/#post-17889281)
 * Hi TWD,
 * Since you’re looking for help modifying the behaviour of the Beaver Builder plugin,
   this question is probably best asked on [the Beaver Builder WordPress.org support forum](https://wordpress.org/support/plugin/beaver-builder-lite-version/).
   As you may already know, this forum is staffed by the plugin developers and they
   will be best-equipped to assist you with this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Extension Errors](https://wordpress.org/support/topic/extension-errors/)
 *  [Mahangu Weerasinghe](https://wordpress.org/support/users/lastnode/)
 * (@lastnode)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/extension-errors/#post-17889236)
 * Hi Brice,
 * The error `Creation of dynamic property Imagely\NGG\DataTypes\DisplayType::$format_content
   is deprecated` indicates that [PHP 8.2 has deprecated dynamic properties](https://www.php.net/manual/en/class.allowdynamicproperties.php#:~:text=Dynamic%20properties%20are%20deprecated%20as,will%20emit%20a%20deprecation%20notice.&text=%24o1%20%3D%20new%20DefaultBehaviour()%3B).
   Given this error, as well as the second one about NextGEN Gallery requiring those
   two PHP extensions (GD and XML) which you have already enabled, I would surface
   this issue [in the NextGEN Gallery support forums here on WordPress.org](https://wordpress.org/support/plugin/nextgen-gallery/).
 * Your NextGEN Gallery plugin likely needs to be updated to a version compatible
   with PHP 8.2, but their support team will be able to tell you more. When you 
   make the post there, be sure to specify which version of the plugin you are currently
   running.

Viewing 13 replies - 31 through 43 (of 43 total)

[←](https://wordpress.org/support/users/lastnode/replies/page/2/?output_format=md)
[1](https://wordpress.org/support/users/lastnode/replies/?output_format=md) [2](https://wordpress.org/support/users/lastnode/replies/page/2/?output_format=md)
3