This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('style.css'); | |
.mceContentBody { | |
background-color: #fff; | |
} | |
.mceContentBody .content { | |
padding: 15px 18px 10px; | |
width: 100%; | |
} | |
.mceContentBody ul { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Ma page web</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="styles.css"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( get_field('gn_publier_bio') ) : | |
echo '<h3 class="bio-wordcampeur">Bio</h3>'; | |
if ( in_array('biofr', get_field('gn_publier_bio') ) ) : | |
echo '<section class="bio-french">'; | |
the_field('gn_bio'); | |
endif; | |
echo '</section>'; | |
if ( in_array('bioeng', get_field('gn_publier_bio') ) ) : | |
echo '<section class="bio-english">'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The Template for displaying all single films. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Ten | |
* @since Twenty Ten 1.0 | |
*/ | |
get_header(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Ma page type</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<!-- commentaire dans le htlm --> | |
<p>Mon paragraphe <br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Theme WordPress Genesis Sample (extrait) */ | |
/* STYLES POUR ORDINATEUR */ | |
html { | |
font-size: 62.5%; /* 10px browser default */ | |
} | |
/* Chrome fix */ | |
body > div { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<style type="text/css"> | |
.text-gras {font-weight: bold;} | |
</style> | |
<script type="text/javascript"> | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**** | |
* New image size | |
* @gregoirenoyelle | |
****/ | |
// Create a new image size | |
add_image_size('Vign Haut de Page', 266, 168, TRUE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Action conditionnelle sur des Contenus personnalisés | |
add_action('genesis_before_loop', 'gn_temoignages_filter'); | |
function gn_temoignages_filter() { | |
if ( 'gnpost_temoignage' == get_post_type() || is_post_type_archive('gnpost_temoignage') ) : | |
remove_action('genesis_before_post_content', 'genesis_post_info'); | |
remove_action('genesis_after_post_content', 'genesis_post_meta'); | |
endif; | |
} |