Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
<?php // Don't copy this line if you are inserting in a file that has it already. | |
/** | |
* ACF Options Page | |
* | |
* Instructions: | |
* Add more languages to the array below: $languages | |
* | |
* @author: Zeshan Ahmed <https://zeshanahmed.com/> | |
*/ |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
license: gpl-3.0 | |
height: 570 | |
border: no |
/* Produces a dump on the state of WordPress when a not found error occurs */ | |
/* useful when debugging permalink issues, rewrite rule trouble, place inside functions.php */ | |
ini_set( 'error_reporting', -1 ); | |
ini_set( 'display_errors', 'On' ); | |
echo '<pre>'; | |
add_action( 'parse_request', 'debug_404_rewrite_dump' ); | |
function debug_404_rewrite_dump( &$wp ) { |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="description" content="Table de courbes de Lissajous"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Table de courbes de Lissajous</title> | |
<style type="text/css"> | |
body { background-color: black; } | |
</style> |
First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)
$ git checkout master
Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master
<?php | |
add_action( 'wp_enqueue_scripts', function () { | |
wp_register_script( 'my-script', get_stylesheet_directory_uri() . '/assets/js/my-script.js' ); | |
wp_enqueue_script( 'my-script' ); | |
} ); | |
add_filter( 'script_loader_tag', function ( $tag, $handle ) { |
<?php | |
/** | |
* Plugin Name: WooCommerce Custom Checkout Fields | |
* Description: Add some custom "emergency level" extra fields on the WooCommerce Checkout page. Save this custom data in each order metadata. | |
* Author: Pierre Saïkali | |
* Author URI: https://saika.li | |
* Text Domain: wc_ccf | |
* Domain Path: /languages/ | |
* Version: 1.0.0 | |
* Full Tutorial: https://mosaika.fr/personnaliser-tunnel-commande-woocommerce/ |