75 lines
2.2 KiB
Plaintext
75 lines
2.2 KiB
Plaintext
Rechercher WP_Retina dans les options
|
|
|
|
SELECT * FROM `wp_options` WHERE `option_name` LIKE '%mfrH%'
|
|
|
|
|
|
|
|
|
|
|
|
Theme_Mod versus Option
|
|
|
|
|
|
Theme_Mod
|
|
|
|
Settings can only be used by that specific theme.
|
|
All customizer settings are stored within a serialized array in a single option in the database.
|
|
|
|
|
|
Option
|
|
|
|
Settings can be used by absolutely any theme or plugin.
|
|
Each of the customizer settings are stored as a unique option in the database.
|
|
|
|
|
|
|
|
Options:
|
|
URL de Zenphoto
|
|
Taille des images
|
|
Répondre aux commentaires du livre d'or 1
|
|
|
|
|
|
|
|
|
|
|
|
Flickr
|
|
|
|
<img width="600" height="400" src="//c1.staticflickr.com/9/8695/29179607103_4f0c4a843e_n.jpg" class="low-res-photo" alt="2016-08-30_Chevrette_4503 | par Bruno Pesenti" hidden="hidden" style="display: none;">
|
|
<img width="600" height="400" src="//c1.staticflickr.com/9/8695/29179607103_d63b4736cf_h.jpg" class="main-photo" onload="registerFirstPhoto(this)" alt="2016-08-30_Chevrette_4503 | par Bruno Pesenti">
|
|
|
|
|
|
|
|
/*
|
|
WP Media: WorpPress (post)
|
|
-Description -> <a href="" title="Description"> -> Colorbox: sous la photo
|
|
-Légende -> <p class="wp-caption-text">Légende</p> (caption sous la photo)
|
|
-Texte alternatif -> <img src="" alt="cerf" />
|
|
*/
|
|
|
|
|
|
<?php if (in_category(3)) { ?>
|
|
|
|
|
|
--------
|
|
|
|
Shortcode ZP -> img zenphoto avec class="selector"
|
|
|
|
add_shortcode( 'zenphoto', 'zenphoto_handler' );
|
|
|
|
|
|
Media WP -> add_class_lightbox($content) -> img wordpress avec class="selector"
|
|
|
|
---------
|
|
$coord()
|
|
|
|
array (size=9)
|
|
0 => string '45.584731' (length=9)
|
|
1 => string '7.318439' (length=8)
|
|
2 => string '2016-01-07_Renard_2905' (length=22)
|
|
3 => string '27868468454' (length=11)
|
|
4 => string 'Etonnante rencontre dans le parc du Grand Paradis (Italie) Alors que l'on redescendait du refuge après une belle rando, j'aperçoit goupil qui monte par le même chemin. On stoppe. Il s'arrête à notre hauteur avant de reprendre sa route tranquillement. Puis il s'arrête de nouveau pour prendre la pose un peu plus haut.' (length=335)
|
|
5 => string '<img id="lettrineImage" src="https://farm9.staticflickr.com/8176/27868468454_8f9afb79c4_m.jpg" alt=" " height="160" width="240" />' (length=130)
|
|
6 => null
|
|
7 => null
|
|
8 => null
|
|
|