Last codes:
Get posts by current user in Bricksbuilder posts element
In posts element enable "Query editor (PHP)" and add needed parameters: return [ 'post_type' => 'event', 'posts_per_page' => 10, 'author' => get_current_user_id(), 'orderby' => 'ID', ];
🕒 18.04.2024Woocommerce discount based on quantity cart items / progressive percentage discount
Apply a Woocommerce TOTAL CART discount to all the items in the cart, depending on the quantity of items added
🕒 16.04.2024Bricksforge ajax with value from form
1) add Bricksforge ProForm, lets our texfield have Custom ID "6a42d0" 2) add in Bricksforge panell Call Ajax Function and in Function Data add variable name "asd" and in value field we need add: {formField:form-field-6a42d0} 3) In backend we have: function qwqwqw() { if (!wp_verify_nonce($_POST["nonce"], "bricksforge_ajax")) { wp_send_json_error(["message" => "Not authorized!"]); die(); } // Add…
🕒 10.04.2024Click emoji and place in input field
function smileySelect(event) { /* event.target = the actually clicked element event.currentTarget = the element that has the event handler When they are not equal we know the click was on a child of the .emoji element. Any child is valid since you only have the emoticon span elements inside the .emoji element. */ if (event.target…
🕒 13.03.2024How to remove product categories from breadcrumb on WooCommerce single product
Discover a straightforward guide for developers and WooCommerce store creators on removing product categories from breadcrumbs on single product pages. Enhance user navigation and streamline your site's structure with our easy-to-follow tips and tricks.
🕒 23.02.2024Bricksbuilder: forms – custom form actions
In this post I will collect everything that concerns Bricksbuilder: forms. Bricksbuilder - forms - custom form actions is a powerful tool that allows you to customize and enhance the functionality of your forms.
🕒 23.02.2024Add any content to wordpress post the_content
Add any content to post the_content (befor, after)
🕒 10.02.2024