Home förstasidan (Exempel Widget-kod)

Beneteau- & Jeanneauklubbens förstasida använder sig av Widgets (https://beneteau-jeanneau.se/wp-admin/widgets.php). Det första blocket är de senaste nyheterna. När en sida som denna används, kan man till höger ställa in de inställningar man vill ha. Därefter väljer code editor och kopierar “short code”, samt klistrar in i widget enligt bilden nedan.

Svensk Segling
Sponsorer

Bild på presentations-widget

I widgeten klistrar man in sk. “short-code” enligt nedan. Denna shortcode, hämtas ovan.

<!-- wp:ap-block/posts {"cId":"e96945af-8","selectedCategories":[4],"postsPerPage":3,"contentBG":{"color":"#f4f2fc","styles":"background-color: #f4f2fc;","type":"solid","gradient":"linear-gradient(135deg, #4527a4, #8344c5)","image":{},"position":"center center","attachment":"initial","repeat":"no-repeat","size":"cover","overlayColor":"#000000b3"},"contentPadding":{"vertical":"20px","horizontal":"25px","side":2,"top":"0px","right":"0px","bottom":"0px","left":"0px","styles":"20px 25px"},"border":{"radius":"5px","width":"0px","style":"solid","color":"#0000","side":"all","styles":"border-radius: 5px;"},"isFImgLink":true,"titleTypo":{"fontFamily":"Roboto","fontSize":16,"googleFontLink":"https://fonts.googleapis.com/css2?family=Roboto\u0026display=swap","styles":"font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 135%;"},"titleMargin":{"bottom":"15px","side":4,"vertical":"0px","horizontal":"0px","top":"0px","right":"0px","left":"0px","styles":"0px 0px 15px 0px"},"isMetaAuthor":false,"isMetaCategory":false,"metaCategoryIn":"image","metaTypo":{"fontSize":13,"textTransform":"uppercase","styles":"font-size: 13px; text-transform: uppercase; line-height: 135%;","googleFontLink":"https://fonts.googleapis.com/css2?family=Open+Sans\u0026display=swap"},"metaColorsOnImage":{"color":"#fff","bg":"#4527a4","bgType":"solid","gradient":"linear-gradient(135deg, #4527a4, #8344c5)","styles":"color: #fff; background: #4527a4;"},"metaMargin":{"bottom":"15px","side":4,"vertical":"0px","horizontal":"0px","top":"0px","right":"0px","left":"0px","styles":"0px 0px 15px 0px"},"excerptLength":38,"excerptAlign":"left","excerptTypo":{"fontSize":13,"styles":"font-size: 13px; line-height: 135%;","googleFontLink":"https://fonts.googleapis.com/css2?family=Open+Sans\u0026display=swap","textTransform":"none","lineHeight":"135%","letterSpace":"0px"},"excerptMargin":{"bottom":"10px","side":4,"vertical":"0px","horizontal":"0px","top":"0px","right":"0px","left":"0px","styles":"0px 0px 10px 0px"},"readMoreLabel":"Läs mer","readMoreTypo":{"fontSize":10,"textTransform":"uppercase","fontWeight":600,"styles":"font-weight: 600; font-size: 10px; text-transform: uppercase; line-height: 100%;","googleFontLink":"https://fonts.googleapis.com/css2?family=Open+Sans\u0026display=swap","lineHeight":"100%"},"readMoreColors":{"color":"#fff","bg":"#8344c5","bgType":"solid","gradient":"linear-gradient(135deg, #4527a4, #8344c5)","styles":"color: #fff; background: #8344c5;"},"readMoreHovColors":{"color":"#fff","bg":"#4527a4","bgType":"solid","gradient":"linear-gradient(135deg, #4527a4, #8344c5)","styles":"color: #fff; background: #4527a4;"},"readMorePadding":{"vertical":"8px","horizontal":"20px","side":2,"top":"0px","right":"0px","bottom":"0px","left":"0px","styles":"8px 20px"},"readMoreBorder":{"radius":"3px","width":"0px","style":"solid","color":"#0000","side":"all","styles":"border-radius: 3px;"}} /-->
[feedzy-rss feeds="http://www.svensksegling.se/Lastasidor/IONF?complete=2" max="5" feed_title="no" target="_blank" refresh="12_hours" title="50" meta="no" summary="no" summarylength="300" thumb="no" size="50" default="" lazy = "yes" follow = "no" keywords_title=""][/feedzy-rss]

Comments are closed.