Skip to content

Instantly share code, notes, and snippets.

NicolasLRD / shortcode-pays
Created Mar 30, 2020
Shortcode WP Contact Form 7 with french list of Countries
View shortcode-pays
Shortcode incluant la liste des pays du monde en français pour le plugin Wordpress WPCF7
- classement par ordre alphabétique
- "France" en première position
NicolasLRD / functions.php
Created Apr 3, 2019
Wordpress Widget : List pages of parent page
View functions.php
function template_register_widget() {
register_widget( 'my_widget' );
add_action( 'widgets_init', 'template_register_widget' );
class my_widget extends WP_Widget {
function __construct() {
You can’t perform that action at this time.