Blog

DB Password Sync Process

User the DB on hetzner is the single source for all of the websites There are 2 servers One Master and one Slave. There is a Load balancer which is simply pointing at one server for now. If we change the passwords. we need to do it on both servers. Assistant Yes, that's correct. Since […]

Multiple Users Database Access

User Can we assign multiple user to same database Assistant Yes, you can assign multiple users to the same database. This is a common practice, especially when you need different privileges or access levels for various application components or roles. Here's a typical scenario using MySQL as User create second user and assign it to […]

Fix Timezone Abbreviation Issues

User Fix not found timezone and also fix abbr name We are using this function $timezoneArray = DateTimeZone::listIdentifiers(DateTimeZone::PER_COUNTRY, $row['abbr']); to get timezone but not fetcing correct timezone and some time not found Assistant The CSV file contains the following columns: – `Name`: The state or region name. – `Abbreviation`: A short abbreviation for the state […]

Country Select Values List

User Please Select CountryAfghanistanAlabamaAlaskaAlbaniaAlgeriaAndorraAngolaAnguillaAntigua & BarbudaArgentinaArizonaArkansasArmeniaAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBosnia & HerzegovinaBotswanaBrazilBruneiBulgariaBurkina FasoBurundiCaliforniaCambodiaCameroonCanadaCape VerdeCayman IslandsCentral African RepublicChadChileChinaColombiaColoradoComorosCongoCongo Democratic RepublicConnecticutCook IslandsCosta RicaCroatiaCubaCyprusCzech RepublicDelawareDenmarkDist of ColumbiaDjiboutiDominicaDominican RepublicEast TimorEcuadorEgyptEl SalvadorEquatorial GuineaEritreaEstoniaEthiopiaFaeroe IslandsFalkland IslandsFijiFinlandFloridaFranceFrench GuianaFrench PolynesiaGabonGambiaGeorgiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuernseyGuineaGuinea-BissauGuyanaHaitiHawaiiHondurasHungaryIcelandIdahoIllinoisIndiaIndianaIndonesiaIowaIranIraqIrelandIsraelItalyIvory CoastJamaicaJapanJerseyJordanKansasKazakhstanKentuckyKenyaKiribatiKorea, NorthKorea, SouthKuwaitKyrgyzstanLaosLatviaLebanonLesothoLiberiaLibyaLiechtensteinLithuaniaLouisianaLuxembourgMacedoniaMadagascarMaineMalawiMalaysiaMaldivesMaliMaltaMan, Isle ofMarshall IslandsMartiniqueMarylandMassachusettsMauritaniaMauritiusMayotteMexicoMichiganMicronesiaMidway IslandsMinnesotaMississippiMissouriMoldovaMonacoMongoliaMontanaMontserratMoroccoMozambiqueMyanmarNamibiaNauruNebraskaNepalNetherlandsNetherlands AntillesNevadaNew CaledoniaNew HampshireNew JerseyNew MexicoNew YorkNew ZealandNicaraguaNigerNigeriaNiueNorfolk IslandNorth CarolinaNorth DakotaNorthern Mariana IslandsNorwayOhioOklahomaOmanOregonPakistanPalauPanamaPapua New GuineaParaguayPennsylvaniaPeruPhilippinesPitcairnPolandPortugalPuerto RicoQatarReunionRhode IslandRomaniaRussiaRwandaSaint HelenaSaint Kitts-NevisSaint LuciaSaint Pierre […]

DB password change query

User Regarding the DB password change task, I need to do it first on the staging server, right ? Or at Live. Correct above sentence Assistant Sure! Here's a corrected version of your sentence: **"I need to change the DB password on the staging server first, right? Or should I do it on the live […]

ACF Page Replication Update

User We have replicated the https://deft-digital.com/home-3/ elemenor page to fully ACF page at below location https://digital.newsoftdemo.info/home-acf/ also we have deactivated the elementor at our newsoftdemo server WP admin acf page https://digital.newsoftdemo.info/wp-admin/post.php?post=59584&action=edit Correct above sentencew Assistant Sure! Here's a corrected and more polished version of your message: — We have replicated the Elementor page from [https://deft-digital.com/home-3/](https://deft-digital.com/home-3/) […]

Elementor form email logic

User elementor form widget send email to based on dropdown selection Assistant To **send an email to different recipients based on a dropdown selection in an Elementor Form widget**, you can use a bit of custom PHP with Elementor Pro’s built-in **“Actions After Submit” → Webhook** or a **custom `functions.php` hook**. Here’s how you can […]

CF7 dynamic email recipient

User contact form 7 submissiion hook send to email based on dropdown selection Assistant To send the Contact Form 7 submission to different email addresses based on the dropdown selection, you can use the `wpcf7_before_send_mail` hook. ### Step-by-step solution: #### 📝 1. Create your dropdown field In your Contact Form 7 form, define a dropdown […]

Remove extra p tags

User remove extra tag from acf editor field Assistant To remove extra “ tags automatically added by WordPress when using ACF (Advanced Custom Fields) WYSIWYG (TinyMCE) editor fields, you can disable the automatic formatting (`wpautop`) by using the `acf/format_value` filter. ### ✅ Option 1: Disable auto “ on specific ACF field If you want to […]

Sort by ACF lname

User $args = array( 'post_type' => 'contact', 'post_status' => 'publish', 'posts_per_page' => -1, 'order' => "ASC", "orderby" => "title", 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'show_in_list', // Prüfen, ob show_in_list aktiv gesetzt ist 'value' => true, 'compare' => '==', ), array( 'key' => 'show_in_list', // Wenn das Feld nicht vorhanden ist, gebe […]