Notice: La fonction acf_get_value a été appelée de façon incorrecte. Advanced Custom Fields PRO - Nous avons détecté un ou plusieurs appels pour récupérer les valeurs des champs ACF avant l’initialisation d’ACF. Ceci n’est pas pris en charge et peut entraîner des données incorrectes ou manquantes. Découvrez comment corriger ce problème. Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 5.11.1.) in /var/www/html/wp-includes/functions.php on line 6085
{"id":487,"date":"2015-11-02T14:22:56","date_gmt":"2015-11-02T13:22:56","guid":{"rendered":"http:\/\/abei-wp.waas.arkea.fr\/?page_id=487"},"modified":"2019-06-19T15:53:21","modified_gmt":"2019-06-19T13:53:21","slug":"page-normal","status":"publish","type":"page","link":"https:\/\/abei-wp.waas.arkea.fr\/page-normal\/","title":{"rendered":"Page Normal"},"content":{"rendered":"
Lorem ipsum dolor sit amet<\/h2>\n
<\/p>\n
OK, so images can get quite complicated as we have a few variables to work with! For example the image below has had a caption entered in the WordPress image upload dialog box, this creates a shortcode which then in turn wraps the whole thing in a div<\/code> with inline styling! Maybe one day they’ll be able to use the figure<\/code> and figcaption<\/code> elements for all this. Additionally, images can be wrapped in links which, if you’re using anything other than color<\/code> or text-decoration<\/code> to style your links can be problematic.<\/p>\n
<\/p>\n
The next issue we face is image alignment, users get the option of None<\/em>, Left<\/em>, Right<\/em> & Center<\/em>. On top of this, they also get the options of Thumbnail<\/em>, Medium<\/em>, Large<\/em> & Fullsize<\/em>. You’ll probably want to add floats to style the image position so important to remember to clear these to stop images popping below the bottom of your articles.<\/p>\n
<\/p>\n
<\/p>\n
<\/p>\n
Additionally, to add further confusion, images can be wrapped inside paragraph content, lets test some examples here.<\/p>\n
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean lacinia bibendum nulla sed consectetur. \nVivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Maecenas sed diam eget risus varius blandit sit amet non magna. Aenean lacinia bibendum nulla sed consectetur. \nAenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec ullamcorper nulla non metus auctor fringilla. Aenean lacinia bibendum nulla sed consectetur.<\/p>\n
And then… Finally, users can insert a WordPress<\/p>\n
<\/p>\n
, which is kinda ugly and comes with some CSS stuck into the page to style it (which doesn’t actually validate, nor does the markup for the gallery). The amount of columns in the gallery is also changable by the user, but the default is three so we’ll work with that for our example with an added fouth image to test verticle spacing.<\/p>\n
<\/p>\n
\n
Ordered list item one.<\/li>\n
Ordered list item two.<\/li>\n
Ordered list item three.<\/li>\n
Ordered list item four.<\/li>\n
By the way, WordPress does not let you create nested lists through the visual editor.<\/li>\n<\/ol>\n
\n
Unordered list item one.<\/li>\n
Unordered list item two.<\/li>\n
Unordered list item three.<\/li>\n
Unordered list item four.<\/li>\n
By the way, WordPress does not let you create nested lists through the visual editor.<\/li>\n<\/ul>\n
Currently WordPress blockquotes are just wrapped in blockquote tags and have no clear way for the user to define a source. Maybe one day they’ll be more semantic (and easier to style) like the version below.<\/p><\/blockquote>\n
HTML5 comes to our rescue with the footer element, allowing us to add semantically separate information about the quote.<\/p>\n