// Utils for date time format const formatDateAndTime = () => { const now = new Date (); // Extract date components const day = String…
Read moreIn the GeneratePress free version, you could: 1. Add a custom class to your Container: my-linked-container 2. Add a link to the content of your conta…
Read morefunction get_value_from_database ( $type ) { $is_enable = false ; switch ( $type ) { case 'is_enable_homepage' : …
Read moreThe error: "fatal: unable to create thread: Resource temporarily unavailable" strongly suggests you've run out of memory on the server, whic…
Read more< div id = 'kanhu-sticky-bar' > < p > Hi,I am Kanhu Here </ p > < div class = 'kanhu-close-sticky-bar' >&…
Read moreyour code (randomShorts(8) - generate 8 character random strings) < Link href = { `/shorts/ ${ randomShorts ( 8 ) } ` } classNa…
Read morehttps://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e?permalink_comment_id=3976215
Read more/** * check_dependent_plugin_is_activated_or_not **/ include_once (ABSPATH . 'wp-admin/includes/plugin.php' ); add_action ( 'plugins_loade…
Read more// Set the new user information $new_user_data = array ( 'user_login' => 'kanhu123' , 'user_email' => '…
Read morechange the user sudo chown -R $USER:$USER /home/$USER/.ssh update the permission sudo chmod 700 /home/$USER/.ssh Reference https://askubuntu.com/qu…
Read more// Check the total amount should be $10 if ( $amountPayable < 10 ) { add_filter ( 'wpcf7_feedback_response…
Read moreCopy from MongoDB shell in compass use Select all by ctrl+a Copy does not work so use the cut command ctrl+x For paste use ctrl+v
Read more// delete branch locally git branch - d localBranchName // delete branch remotely git push origin -- delete remoteBranchName // refresh branch li…
Read moreWhere school-id != 84 SELECT COUNT (*) FROM wp_ntt_contact_form_addon WHERE form_value NOT LIKE '%\"school-id\";s:2:\"84\"…
Read more// Syntax for mysqldump mysqldump -u[database_username] -p[database_password] [database_name] > [path-to-export/filename.sql] // example mysqldump -uro…
Read more