Month: August 2025

Email SMTP Configuration Update

User ​I've mostly covered all the above requirements in this thread ​regarding mail ​I've checked that fossetts smtp details were not working ​So for now I'm replaced it with google smtp details. ​email functionality is working with attached qrcode. ​FYI ​Due to I'm using google smtp currently its taking 1 to 2 minute to show […]

SQL Query Explanation

User $query = "SELECT o.*, e.event_name, e.event_venue, e.event_datetime, e.event_date_id FROM orders o JOIN events e ON o.event_id = e.event_id WHERE o.order_code = ? AND o.event_id = ?"; what above query will do

Custom Shortcode WooCommerce

User add custom shortcode before relaated product in wocomerce single page by hook Assistant To add a **custom shortcode before the Related Products** section on a WooCommerce single product page, you can hook into `woocommerce_after_single_product_summary`, which is where related products are usually rendered. Here’s how to do it: — ### ✅ Step-by-Step Code Add the […]

Camera permission on launch

User Apache cordova when ever application launch please ask for camera permission if already not granted from user in android phone Assistant To ensure that your Apache Cordova application **always prompts for camera permission** on Android when the app launches (if not already granted), follow these steps: — ### ✅ 1. **Install the Camera Plugin** […]

FTP error log location

User error_log where the error store in ftp Assistant In WordPress or PHP-based websites, the location of the `error_log` file in FTP depends on how your server is configured. Here are common locations where error logs are typically found: — ### 🔧 **Common FTP Paths for `error_log`:** #### 1. **Inside the Root Directory (`public_html` or […]

Change Comment Form Title

User comment_form() wordpress change form title Assistant To change the **form title** (usually "Leave a Reply") when using `comment_form()` in WordPress, you can pass a custom array to override the default arguments. Specifically, you should modify the `title_reply` parameter. ### ✅ Example: <?php comment_form([ 'title_reply' => 'Share Your Thoughts', ]); ?> ### 🔄 Other Useful […]

FS Splash Screen XML

User generate splashscreen.xml for world "FS" Assistant Here’s a simple `splashscreen.xml` layout for an Android Cordova app splash screen displaying the letters **FS** in the center. This assumes you're placing it in `res/layout/splashscreen.xml`. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/splash_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#007bff" android:gravity="center"> <TextView android:id="@+id/splash_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="FS" android:textSize="64sp" android:textStyle="bold" android:textColor="#FFFFFF" android:layout_centerInParent="true" /> </RelativeLayout> ### […]

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 […]