{"id":2117,"date":"2020-05-22T22:03:03","date_gmt":"2020-05-22T22:03:03","guid":{"rendered":"https:\/\/the7kennisbank.nl\/?p=2117"},"modified":"2020-05-22T22:40:23","modified_gmt":"2020-05-22T22:40:23","slug":"typography-shortcodes","status":"publish","type":"post","link":"https:\/\/the7kennisbank.nl\/nl\/user-guide\/typografie-shortcodes\/","title":{"rendered":"Typografie Shortcodes"},"content":{"rendered":"<p><head><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"><\/head><\/p>\n<p>De7 typografische shortcodes zijn beschikbaar in een standaard WYSIWYG-editor en, als resultaat, in WPBakery Page Builder &quot;Text Block&quot;.<\/p>\n<p>Voordat u begint, moet u ervoor zorgen dat u gewend bent aan het idee van shortcodes in WordPress:\u00a0<a href=\"https:\/\/en.support.wordpress.com\/shortcodes\/\">http:\/\/en.support.wordpress.com\/shortcodes\/<\/a><br \/><em>Merk op dat de bovenstaande link alleen wordt gegeven voor een snelle illustratie van wat shortcodes zijn. Niet alle shortcodes die erin worden beschreven, werken in uw thema.\u00a0<\/em><\/p>\n<p>Afgezien van visuele elementen \/ shortcodes in WPBakery Page Builder in The7 gebruiken we ook conventionele tekstgebaseerde shortcodes die in een vervolgkeuzelijst worden weergegeven wanneer je op &quot;Shortcodes&quot; klikt in je WYSIWYG Editor of Text Block (fig. 1).<\/p>\n<div id=\"attachment_3475\" class=\"wp-caption aligncenter c1\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._1._Text_shortcodes_by_Dream-Theme..png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3475 size-full\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._1._Text_shortcodes_by_Dream-Theme.-2.png\" alt=\"Fig. 1. Tekst shortcodes door Dream-Theme.\" width=\"702\" height=\"504\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 1. Tekst shortcodes door Dream-Theme.<\/p>\n<\/div>\n<h3>Kloof<\/h3>\n<div class=\"gap\" style=\"line-height: 0px; height: 0px;\"><\/div>\n<p>Gap shortcode werkt hetzelfde als &quot;Empty Space&quot; -elementen - het voegt een opening toe tussen alinea&#039;s en andere elementen. Het heeft de enige optie - hoogte, waarbij &quot;10&quot; staat voor 10px.<\/p>\n<h3>Verdeler<\/h3>\n<div class=\"hr-thin\"><\/div>\n<p>Divider shortcode voegt een horizontale scheidingslijn tussen elementen in. Het kan dun of dik zijn, afhankelijk van wat u opgeeft onder de optie &quot;stijl&quot;.<\/p>\n<div id=\"attachment_3479\" class=\"wp-caption aligncenter c2\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._2._Divider..png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3479\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._2._Divider..png\" alt=\"Afb. 2. Verdeler.\" width=\"1213\" height=\"163\"><\/a><\/p>\n<p class=\"wp-caption-text\">Afb. 2. Verdeler.<\/p>\n<\/div>\n<h3>Knopinfo<\/h3>\n<div id=\"attachment_3481\" class=\"wp-caption aligncenter c3\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._3._Tooltip..png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3481\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._3._Tooltip..png\" alt=\"Afb. 3. Tooltip.\" width=\"379\" height=\"126\"><\/a><\/p>\n<p class=\"wp-caption-text\">Afb. 3. Tooltip.<\/p>\n<\/div>\n<p>Gebruik de volgende shortcode-syntaxis om zo&#039;n mooie lay-out te krijgen (fig. 3):<\/p>\n<p>Van toepassing zijn <span class=\"shortcode-tooltip\">&quot;Tooltip&quot;<span class=\"tooltip-c\">pop-up inhoud<\/span><\/span> shortcode hier.<\/p>\n<h3>Markeer<\/h3>\n<div class=\"wp-caption aligncenter c4\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._4._Highlight_shortcode..png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3483 size-full\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._4._Highlight_shortcode..png\" alt=\"Fig. 4. Markeer shortcode.\" width=\"760\" height=\"92\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 4. Markeer shortcode.<\/p>\n<\/div>\n<p>Deze shortcode markeert een deel van een tekstreeks. Gebruik de volgende syntaxis:<\/p>\n<p>Ut elit tellus, <span class=\"dt-highlight\" >lorem ipsum dolor<\/span> zit amet.<\/p>\n<p>Shortcode-attributen worden hieronder vermeld:<\/p>\n<ul>\n<li>gebruik het kenmerk color = \u201d\u201d om een van de kleurvoorinstellingen te specificeren: wit, rood, bes, oranje, geel, roze, groen, donkergroen, blauw, donker_blauw, violet, zwart, grijs, grijs. De achtergrondkleur wordt op de juiste manier gewijzigd. En de tekstkleur wordt automatisch wit;<\/li>\n<li>gebruik als alternatief de combinatie text_color = \u201d\u201d bg_color = \u201d\u201d om zowel tekst- als achtergrondkleuren te specificeren. Gebruik HEX-waarden zoals &quot;#cc3366&quot;;<\/li>\n<li>of laat alle attributen leeg om accentkleur toe te passen op de achtergrond (inclusief het geval wanneer accentkleur een verloop is) en maak de tekstkleur wit.<\/li>\n<\/ul>\n<h3>Code<\/h3>\n<div id=\"attachment_3485\" class=\"wp-caption aligncenter c3\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._5._Code_shortcode..png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3485\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._5._Code_shortcode..png\" alt=\"Fig. 5. Code shortcode.\" width=\"379\" height=\"105\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 5. Code shortcode.<\/p>\n<\/div>\n<p>Deze shortcode maakt het mogelijk om codereeksen weer te geven met de juiste interpretatie van symbolen \u201c, &lt;,&gt;, etc. (dit is onwaarschijnlijk wanneer deze karakters rechtstreeks in de WYSWYG-editor worden ingevoegd). Gebruik de volgende syntaxis:<\/p>\n<div class=\"shortcode-code\">\n<p>&lt;div class=&quot;&rdquo;my-element&rdquo;&quot; style=&quot;&rdquo;&rdquo;&quot;&gt;Lorem&lt;\/div&gt;<\/p><\/div>\n<h3>Eenvoudig aanmeldingsformulier<\/h3>\n<p>Misschien wilt u het aanmeldingsformulier weergeven in de front-end van uw website (fig. 6). De shortcode van het eenvoudige aanmeldingsformulier helpt u in dit geval. Gebruik de volgende syntaxis:<\/p>\n<div class=\"simple-login-form-shortcode\">\n\t\t\t\t\t<form name=\"loginform\" id=\"loginform\" action=\"https:\/\/the7kennisbank.nl\/wp-login.php\" method=\"post\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p class=\"login-username\">\n\t\t\t\t\t\t\t<label class=\"assistive-text\" for=\"user_login\">&quot;&quot;<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"log\" placeholder=\"&quot;&quot;\" id=\"user_login\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t<p class=\"login-password\">\n\t\t\t\t\t\t\t<label class=\"assistive-text\" for=\"user_pass\">&quot;&quot;<\/label>\n\t\t\t\t\t\t\t<input type=\"password\" name=\"pwd\" placeholder=\"&quot;&quot;\" id=\"user_pass\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p class=\"login-remember\"><label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> &quot;&quot;<\/label><\/p>\n\t\t\t\t\t\t<p class=\"login-submit\">\n\t\t\t\t\t\t\t<input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary\" value=\"&quot;&quot;\" \/>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts\/2117\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\n\t\t\t\t\t<\/form><\/div>\n<p>Het heeft vier attributen om standaardlabels voor gebruikersnaam en wachtwoord velden aan te passen, &quot;Herinner me&quot; check-box en &quot;Log in&quot; knop. Leuk vinden:<\/p>\n<div class=\"simple-login-form-shortcode\">\n\t\t\t\t\t<form name=\"loginform\" id=\"loginform\" action=\"https:\/\/the7kennisbank.nl\/wp-login.php\" method=\"post\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p class=\"login-username\">\n\t\t\t\t\t\t\t<label class=\"assistive-text\" for=\"user_login\">\u201dNom<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"log\" placeholder=\"\u201dNom\" id=\"user_login\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t<p class=\"login-password\">\n\t\t\t\t\t\t\t<label class=\"assistive-text\" for=\"user_pass\">\u201dMot<\/label>\n\t\t\t\t\t\t\t<input type=\"password\" name=\"pwd\" placeholder=\"\u201dMot\" id=\"user_pass\" class=\"input\" value=\"\" size=\"20\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<p class=\"login-remember\"><label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> \u201dSe<\/label><\/p>\n\t\t\t\t\t\t<p class=\"login-submit\">\n\t\t\t\t\t\t\t<input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary\" value=\"\u201dSe\" \/>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts\/2117\" \/>\n\t\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\n\t\t\t\t\t<\/form><\/div>\n<div id=\"attachment_3488\" class=\"wp-caption aligncenter c5\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2013\/07\/Fig._6._Simple_Login_Form_shortcode..png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3488\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._6._Simple_Login_Form_shortcode..png\" alt=\"Fig. 6. Eenvoudig inlogformulier shortcode.\" width=\"640\" height=\"199\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 6. Eenvoudig inlogformulier shortcode.<\/p>\n<\/div>\n<p>Laat ze leeg als u standaard WordPress-labels wilt gebruiken.<\/p>","protected":false},"excerpt":{"rendered":"<p>The7\u00a0typography shortcodes are available in a standard WYSIWYG editor and, in result, in WPBakery Page Builder \u201cText Block\u201d. Before getting started, please make sure that you\u2019re accustomed with idea of shortcodes in WordPress:\u00a0http:\/\/en.support.wordpress.com\/shortcodes\/Note that link above is given only for the quick illustration of what shortcodes are. Not all shortcodes described in it will work&hellip;<\/p>","protected":false},"author":2,"featured_media":2288,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[9,21],"tags":[],"class_list":["post-2117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-user-guide","category-visual-layout-builder","category-9","category-21","description-off"],"acf":[],"_links":{"self":[{"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts\/2117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/comments?post=2117"}],"version-history":[{"count":3,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts\/2117\/revisions"}],"predecessor-version":[{"id":2496,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/posts\/2117\/revisions\/2496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/media\/2288"}],"wp:attachment":[{"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/media?parent=2117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/categories?post=2117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/nl\/wp-json\/wp\/v2\/tags?post=2117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}