|
Asked a question
Slack alert after a password reset form submit in WooCommerce along with customer details and time[apcode language="php"] // Hook into WordPress action for password reset request add_action('lostpassword_post', 'slack_alert_lost_password_action'); function slack_alert_lost_password_action()... |
April 17, 2024 |
2 |
|
Asked a question
CSS to add Numbers in select optionBelow CSS will add incremental number in options, just change target option id/class [apcode language="css"] #select2 { counter-reset: option-counter; } #select2 option { counter-increment: option-counter;... |
March 22, 2024 |
2 |
|
Asked a question
WordPress Contact Form 7 send submission problem debug[apcode language="php"] // a) The debug function to generate the console error message. function debug_cf7_add_error( $items, $result ) { if ( 'mail_failed' == $result['status']... |
December 19, 2023 |
2 |
|
Asked a question
WordPress remove comment cancel reply link cancel_comment_reply_link[apcode language="php"] add_filter('cancel_comment_reply_link', '__return_false'); [/apcode] |
October 2, 2023 |
2 |
|
Asked a question
How to Enable HSTS in WordPress SiteTo enable HSTS using .htaccess use below code [apcode language="bash"] Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" [/apcode] A breakdown of the header:... |
September 22, 2023 |
2 |
|
Asked a question
Where are the Yoast SEO titles and descriptions stored?Seo Title and other data are stored in "wp_yoast_indexable" table Or Update using [apcode language="php"] update_post_meta( $id, '_yoast_wpseo_metadesc', 'My post description' );... |
April 19, 2023 |
2 |
|
Asked a question
Disable Input[type=number] scroll actionDisable scroll action jQuery [apcode language="jscript"] jQuery('#gform_wrapper_6 input[type=number]').on('mousewheel',function(e){ jQuery(this).blur(); }); // Disable keyboard scrolling... |
February 13, 2023 |
2 |
|
Asked a question
Some git commandgit checkout -b BRANCH-NAME creates new branch and switch from master [apcode language="bash"] git checkout -b plateform-page (do your work on "plateform-page") git status git commit -am "added... |
February 3, 2023 |
2 |
|
Asked a question
Add line break "" after each hash from string[apcode language="jscript"] $('.product-title').each(function() { var self = $(this); self.html(self.html().replace(/#/, '-<br/>')); }); [/apcode] |
January 25, 2023 |
2 |
|
Asked a question
Sly sliderScript link [apcode language="xml"] <script type='text/javascript' src='https://3404462.fs1.hubspotusercontent-na1.net/hubfs/3404462/Assets/js/sly.min.js'></script> <script... |
January 17, 2023 |
2 |
|
Asked a question
Devexpress Scheduler with Tree View on click Scheduler day[apcode language="xml"] <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdn3.devexpress.com/jslib/22.1.6/js/dx.all.js"></script>... |
December 14, 2022 |
2 |
|
Asked a question
Filter jquery array objectJavascript filter array onject [apcode language="jscript"] const data = [ { text: "The Big Lunch", startDate: new Date('2023-01-27 11:00 UTC').toISOString(),... |
December 12, 2022 |
2 |
|
Asked a question
Disable WordPress Update NotificationsDisable WordPress Update Notification Emails Disable core update emails: [apcode language="php"] add_filter( 'auto_core_update_send_email', '__return_false' ); [/apcode] Disable... |
December 9, 2022 |
2 |
|
Asked a question
jQuery count selected checkbox length and update value[apcode language="jscript"] var count_service = jQuery('#checkboxes2 label input').filter(':checked').length; if(count_service>1){ jQuery('#servicefilter... |
December 9, 2022 |
2 |
|
Asked a question
JavaScript / jQuery String replace[apcode language="jscript"] let text = "Visit Microsoft!"; let result = text.replace("Microsoft", "C2Code"); [/apcode] |
December 9, 2022 |
2 |
|
Asked a question
Datatable filter based on Select dropdown[apcode language="xml"] <link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css"> <div class="job-finder"> <div class="container">... |
November 28, 2022 |
2 |
|
Asked a question
Hubspot Google Map Module- Hubspot Google Map Location FinderFirst create a HubDb with fields name image services state address map_co_ordinates latitude longitude Next create template file and load datas from your table [apcode language="xml"]... |
November 24, 2022 |
2 |
|
Asked a question
PHP download zip from external server and unzip[apcode language="php"] <?php /* 1) upload this file into the folder you'd like to extract the content of the downloaded .zip file. 2) run the script in you browser. i.e. http://localhost/downunzip.php... |
May 25, 2022 |
2 |
|
Asked a question
AggregateRating WordPress Site "LocalBusiness" or "WebPage"[apcode language="php"] function schema_review() { if ( is_front_page() && !is_home() ) {?> <script type="application/ld+json"> { "@context": "http://schema.org",... |
March 23, 2022 |
2 |
|
Asked a question
Hide Email from Bot[apcode language="css"] .emails_box { display: none; } .emails_box p, .emails_box{ unicode-bidi: bidi-override; direction: rtl; } .emails_box.show p, .emails_box.show{ unicode-bidi:... |
December 21, 2021 |
2 |