admin | Reputations

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, 20232
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, 20232
Asked a question
How to Enable HSTS in WordPress Site

To 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, 20232
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, 20232
Asked a question
Disable Input[type=number] scroll action

Disable 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, 20232
Asked a question
Some git command

git 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, 20232
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, 20232
Asked a question
Sly slider

Script 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, 20232
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, 20222
Asked a question
Filter jquery array object

Javascript filter array onject [apcode language="jscript"] const data = [   {       text: "The Big Lunch",       startDate: new Date('2023-01-27 11:00 UTC').toISOString(),...

December 12, 20222
Asked a question
Disable WordPress Update Notifications

Disable WordPress Update Notification Emails Disable core update emails: [apcode language="php"] add_filter( 'auto_core_update_send_email', '__return_false' ); [/apcode] Disable...

December 9, 20222
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, 20222
Asked a question
JavaScript / jQuery String replace

[apcode language="jscript"] let text = "Visit Microsoft!"; let result = text.replace("Microsoft", "C2Code"); [/apcode]

December 9, 20222
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, 20222
Asked a question
Hubspot Google Map Module- Hubspot Google Map Location Finder

First 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, 20222
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, 20222
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, 20222
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, 20212
Posted an answer
Portfolio Filter with ISOTOP

https://c2code.jagdish.info/wp-content/uploads/2021/12/isotope.pkgd_.min_.js file link [apcode language="jscript"] jQuery(document).ready(function(){      var portfolioIsotope = jQuery('.portfolio-container').isotope({...

December 21, 20215
Asked a question
WP Custom Preloader

[apcode language="php"] add_action('wp_body_open', 'load_preloader', 100); function load_preloader(){  echo '<div class="chal_buddy_loader">IMG SRC</div>';...

December 19, 20212
Load More