Blog

Home Page ACF Completion

User Hi Sir We have completed the home page as per figma design using ACF Site Details https://deft-digital.newsoftdemo.info/ Admin details https://deft-digital.newsoftdemo.info/wp-admin Username: admin Password: admin@123 Acf wp-admin Home page url https://deft-digital.newsoftdemo.info/wp-admin/post.php?post=22&action=edit Please find video link for newly acf page https://www.loom.com/share/a269e08a47f74f389d638fa5aeb1ee30?sid=e1cd6369-c2cd-4e6f-9d62-541cc8409f95 Correct above sentence for client Assistant Sure! Here's a more polished and professional version of […]

Read more toggle JS

User Good people and a great service – enjoyed working with Jordan and the team at DEFT DIGITAL to create a series of new websites to promote our Global Innovation Challenge. I was delighted, both with the creative and the technical implementation. Wouldn't hesitate to recommend to others. display just below part and then add […]

Owl Carousel Equal Height

User Owl 3 item image caursel with all equal height Assistant To create an **Owl Carousel with 3 items per slide and equal height for all items**, you can use the following setup: ### ✅ HTML: <div class="owl-carousel owl-theme"> <div class="item"><img src="image1.jpg" alt="Image 1"></div> <div class="item"><img src="image2.jpg" alt="Image 2"></div> <div class="item"><img src="image3.jpg" alt="Image 3"></div> <div […]

Wisconsin Time Zone PHP

User wisconsin time zone in php Assistant Wisconsin is in the **Central Time Zone**, which in PHP corresponds to: America/Chicago ### To set or use this timezone in PHP: #### 1. **Temporarily set it using `date_default_timezone_set`**: date_default_timezone_set('America/Chicago'); echo date('Y-m-d H:i:s'); #### 2. **Permanently set it in `php.ini`**: Open your `php.ini` and find: ;date.timezone = Change […]

Equal height swiper slides

User swipper slider slide equal height Assistant To make all **Swiper slider slides equal height**, even if their content varies in size, you can achieve it using a combination of CSS and JavaScript. Here's how: — ### ✅ **CSS-only solution (if possible)** If your content isn't dynamic or can be constrained, try using **Flexbox** to […]

PHP CSV File Download

User create csv file download script 3 gb file Assistant Creating a script to **generate and download a large CSV file (e.g., 3 GB)** depends on your stack (e.g., PHP, Python, Node.js), but here’s a **memory-efficient approach using PHP**, suitable for web download: — ### ✅ PHP Script to Stream a 3 GB CSV File […]

DST Date Format 1970

User sample date format for dst date in 1970 newyark Assistant A sample date format for a **DST (Daylight Saving Time)** date in **1970** for **New York** would typically follow standard formats like ISO 8601 or common U.S. formats. Importantly, DST in New York in 1970 began on **April 26, 1970** at 2:00 AM (clocks […]

Preload SVG in WordPress

User preload /wp-content/uploads/2019/07/hagemann-systems-logo.svg this wordpress function.php Assistant To preload an asset like `/wp-content/uploads/2019/07/hagemann-systems-logo.svg` in your WordPress site, you can add a snippet to your theme’s `functions.php` file using the `wp_resource_hints` filter. Here’s the code you can use: function preload_logo_svg($hints, $relation_type) { if ('preload' === $relation_type) { $hints[] = get_site_url() . '/wp-content/uploads/2019/07/hagemann-systems-logo.svg'; } return $hints; } […]

Add column to table

User laravel add column to db table Assistant To add a column to a database table in Laravel, you can follow these steps: ### 1. Create a New Migration Run the following Artisan command: php artisan make:migration add_column_name_to_table_name_table Replace `column_name` and `table_name` accordingly. For example, to add a `status` column to a `users` table: php […]

Server Setup and CSV Export

User Till now We have setup the demo server and database is fully configured Converted images name match to product title in both db and folder. Exported product csv file based on this Correct above sentence Assistant Sure! Here's a clearer and grammatically correct version of your sentence: > "So far, we have set up […]