What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-17 23:10:03
The response is no longer valid: either is too old or has been used previously
You will get timeout-or-duplicate problem if your captcha is validated twice. Save logs in a file in append mode and check if you are validating a Captcha twice. # For Wordpress remove if multiplr plugin has added captcha to the form. because at backen... Add solution -
Javascript 2022-02-17 15:50:02
wordpress use jquery in functions.php
I know what you mean about the tutorials. Here's how I do it: First you need to write your script. In your theme folder create a folder called something like 'js'. Create a file in that folder for your javascript. E.g. your-script.js. Add your jQuery scr... Add solution -
PHP 2022-02-16 19:30:05
image upload and get attachment id in wordpress
/* this function for upload image in wordpress and return attchement id code by joshi yogesh ([email protected])*/ function cst_image_upload($img){ require_once( ABSPATH . 'wp-admin/includes/image.php' ); $attes_id = array(); $cnt = c... Add solution -
PHP 2022-02-13 15:55:08
Dorf SMS Plugin
<?php /* Plugin Name: Dorf SMS Plugin Plugin URI: http://akismet.com/?return=true Description: amaing sms plugin Version: 1.0.1 Author: akshay Author URI: http://www.yourkishore.com License: GPLv2 or later */ include_once('mySettings.php'); if( is_ad... Add solution -
PHP 2022-02-11 13:30:12
development wordpress plugin
/** * Plugin Name * * @package PluginPackage * @author Your Name * @copyright &nbs... Add solution -
Other 2022-02-11 08:30:02
wordpress multisite
1. Add below code to wp-config.php: /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); 2. Then navigate to Tools > Network Setup on Wordpress and follow prompts. 3. Add below code to wp-config.php: /* Multisite */ define('MULTISITE', true); defi... Add solution -
PHP 2022-02-03 07:40:43
remove gutenberg styles
// Don't load Gutenberg-related stylesheets. add_action( 'wp_enqueue_scripts', 'remove_block_css', 100 ); function remove_block_css() { wp_dequeue_style( 'wp-block-library' ); // WordPress core wp_dequeue_style( 'wp-block-library-theme' ); // WordPress co... Add solution -
PHP 2022-02-02 22:15:11
Obtener datos de usuario registrado en WordPress
<?php $user_info = get_userdata(1); $username = $user_info->user_login; $first_name = $user_info->first_name; $last_name = $user_info->... Add solution
Best helpers
Ranking is empty