Blog

Cordova camera permission setup

User HOw apache cordvoa app ask for camera permission when install Assistant In an Apache Cordova app, camera permission (and other permissions) are requested **automatically at runtime** when the app attempts to access the camera, **if you are using the proper plugin** and targeting **Android 6.0+ (API 23+)**, which uses the **runtime permissions model**. Here’s […]

Generate QR Code PHP

User HOw to generae above barcode in php Assistant The image you uploaded is a **QR code**, not a barcode. To generate a QR code in PHP like the one you've shared, you can use libraries such as: ### ✅ Method: Using `endroid/qr-code` (Most Popular) #### Step 1: Install via Composer composer require endroid/qr-code #### […]

ACF Property Theme Setup

User Practical Details: Figma URL: https://www.figma.com/design/Hg0LXFtV4kfDLDFQJxIXaO/Practical-5?node-id=0-9&m=dev • • Header/Footer Create Theme Options using ACF • Create custom post type and taxonomy for Properties. • Use Ajax load more functionality for load more button under property list. Make sure to load 6 properties on load more on each properties • Code must be responsive. • Use […]

Convert to wp_remote_post

User convert // Call Probo Order API (sandbox) $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $api_url, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => json_encode($payload), CURLOPT_HTTPHEADER => [ 'Authorization: Basic ' . $api_token, 'Content-Type: application/json' ], ]); $response = curl_exec($curl); […]

Add WooCommerce Order Column

User add new column in woocomemrce order section table Assistant To **add a new column to the WooCommerce admin Orders list table** (under **WooCommerce > Orders**), you can use the `manage_edit-shop_order_columns` and `manage_shop_order_posts_custom_column` hooks. Here's a full working example that adds a custom column called "Order Source": — ### ✅ Step-by-Step Code Add this to […]

Add banner to category

User add attached in wooocmmerce cateogory product page category title/description and image with above background Assistant To add the attached banner (with background, title/description, and image) to a **WooCommerce category product page**, follow these steps: — ### ✅ 1. **Upload the Image** Go to your WordPress admin panel: – **Media > Add New** and upload […]

KiyOh layout aanpassen

User overrite layout of reviews provied by Plugin Name: KiyOh / Klantenvertellen Plugin URI: https://wordpress.org/plugins/kiyoh-klantenvertellen/ Description: Toon reviews in Google rich snippet formaat van KiyOh of Klantenvertellen met shortcodes. Assistant To override the **layout of reviews** provided by the **KiyOh / Klantenvertellen** plugin (`kiyoh-klantenvertellen`), you can do it in **one of two ways**, depending on […]

Owl Carousel Blog Posts

User Create latest blog post owl caursel with 3 at a time and give option to pass category, and active and inactive caursel shortcode wordpress Assistant Here's a **complete WordPress shortcode** to display the latest blog posts using **Owl Carousel**, with the following features: – Shows **3 posts at a time** by default. – Accepts […]

Git remote reset

User reset remote Assistant Sure! "Reset remote" can mean a few different things depending on what you want: **If you mean in Git (most common use):** | Situation | Command | |:—|:—| | Reset your local branch to match the remote exactly (discard local changes) | `git fetch origin“git reset –hard origin/branch-name` | | Force […]

List DDEV Projects Ubuntu

User list all ddev projects ubuntu Assistant To list all DDEV projects on Ubuntu (or any OS), run the following command in your terminal: ddev list This will display all DDEV projects that have been started or are currently available in your DDEV global project list, with information such as: – Project name – Project […]