Community Forums › Forums › Archived Forums › General Discussion › Custom child theme: How can I add singular widget boxes?
- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by Brad Dalton.
-
AuthorPosts
-
February 25, 2015 at 3:00 pm #141762DominikGXMember
I am currently developing my own child theme. For my frontpage, I want to display all my categories with the latest post available. How can I creaty the boxes that are also used for content? Should I add any schemas /itemprops ?
I already got the widgets working but the code looks really untidy and there may be a disadvantage with my Google placement
<div class="content-sidebar-wrap"><main class="content home-box" role="main" itemprop="mainContentOfPage">
<div class="flag flag-category2 margt10">VOCALOID News</div>
<article class="entry bd" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><div class="one-fourth first"><h2 class="entry-title" itemprop="headline">HATSUNE MIKU: PROJECT DIVA F EXTEND ANGEKÜNDG</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2015-01-02T10:07:05+00:00">2. Januar 2015</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Nekura</span></span></p></div><div class="one-fourth"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID and UTAU Ranking #375・317</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2015-01-01T15:15:40+00:00">1. Januar 2015</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Yukine</span></span></p></div><div class="one-fourth"><h2 class="entry-title" itemprop="headline">Neuer Testbeitrag</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2014-11-16T00:54:16+00:00">16. November 2014</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Nekura</span></span></p></div><div class="one-fourth"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID Ranking #3939</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2014-11-06T19:15:41+00:00">6. November 2014</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Nekura</span></span></p></div></article></main></div></article></main><main class="content home-box one-third first" role="main" itemprop="mainContentOfPage">
<div class="flag bd2 margt10">Daily VOCALOID Ranking</div><article class="entry bd bd2" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID Ranking #3939</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2014-11-06T19:15:41+00:00">6. November 2014</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Nekura</span></span></p></article></main><main class="content home-box one-third" role="main" itemprop="mainContentOfPage">
<div class="flag bd3 margt10">Weekly VOCALOID Ranking</div><article class="entry bd bd3" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID and UTAU Ranking #375・317</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2015-01-01T15:15:40+00:00">1. Januar 2015</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Yukine</span></span></p></article></main><main class="content home-box one-third" role="main" itemprop="mainContentOfPage">
<div class="flag margt10">Monthly VOCALOID Ranking</div><article class="entry bd bd4" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID Ranking #3939</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2014-11-06T19:15:41+00:00">6. November 2014</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Nekura</span></span></p></article></main><main class="content home-box one-half first" role="main" itemprop="mainContentOfPage">
<div class="flag margt10">Merchandise-Produkte</div><article class="entry bd bd5" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><h2 class="entry-title" itemprop="headline">Weekly VOCALOID and UTAU Ranking #375・317</h2>
<p class="entry-meta"><time class="entry-time" itemprop="datePublished" datetime="2015-01-01T15:15:40+00:00">1. Januar 2015</time> von <span class="entry-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span class="entry-author-name" itemprop="name">Yukine</span></span></p><h2 class="entry-title" itemprop="headline">Weekly VOCALOID Ranking #3939</h2>February 25, 2015 at 4:16 pm #142283 -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.