Community Forums › Forums › Archived Forums › General Discussion › Custom child theme: How can I add singular widget boxes?
This topic is: not resolved
Tagged: content box
- This topic has 1 reply, 1 voice, and was last updated 9 years, 1 month ago by DominikGX.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
February 22, 2015 at 10:44 am #141763DominikGXMember
I am currently developing my own child theme. For my frontpage, I want to display all my categories with the latest post available inside a widget. 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
http://example.com<div class="content-sidebar-wrap"><main class="content home-box" role="main" itemprop="mainContentOfPage"> <div class="flag flag-category2 margt10">News</div> <article class="entry bd" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><div class="one-fourth first"><a href="http://test.de/news/test-nr-2/"><img width="210" height="115" src="http://test.de/wp-content/uploads/2014/11/1920x1080_PC_a-210x115.jpg" class="attachment-tiny wp-post-image" alt="1920x1080_PC_a" /></a><h2 class="entry-title" itemprop="headline"><a href="http://test.de/news/test-nr-2/" rel="bookmark">HATSUNE MIKU: PROJECT DIVA F EXTEND ANGEKÜNDG</a></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"><a href="http://test.de/author/nekura/" class="entry-author-link" itemprop="url" rel="author"><span class="entry-author-name" itemprop="name">Nekura</span></a></span></p></div><div class="one-fourth"><a href="http://test.de/news/weekly-ranking-375%e3%83%bb317/"><img width="210" height="115" src="http://test.de/wp-content/uploads/2015/01/Weekly-Ranking-v-flower-210x115.jpg" class="attachment-tiny wp-post-image" alt="Weekly-Ranking-v-flower" /></a><h2 class="entry-title" itemprop="headline"><a href="http://test.de/news/weekly-ranking-375%e3%83%bb317/" rel="bookmark">Weekly UTAU Ranking #375・317</a></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"><a href="http://test.de/author/yukine/" class="entry-author-link" itemprop="url" rel="author"><span class="entry-author-name" itemprop="name">Yukine</span></a></span></p></div><div class="one-fourth"><a href="http://test.de/news/neuer-testbeitrag/"><img width="210" height="115" src="http://test.de/wp-content/uploads/2014/11/1920x1080_PC_a-210x115.jpg" class="attachment-tiny wp-post-image" alt="1920x1080_PC_a" /></a><h2 class="entry-title" itemprop="headline"><a href="http://test.de/news/neuer-testbeitrag/" rel="bookmark">Neuer Testbeitrag</a></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"><a href="http://test.de/author/nekura/" class="entry-author-link" itemprop="url" rel="author"><span class="entry-author-name" itemprop="name">Nekura</span></a></span></p></div><div class="one-fourth"><a href="http://test.de/news/hallo-welt/"><img width="210" height="115" src="http://test.de/wp-content/uploads/2015/02/KAITO-6th-anniversary-2015-Project-DIVA-Arcade-210x115.jpg" class="attachment-tiny wp-post-image" alt="KAITO 9th anniversary 2015 ProjectDIVA Arcade Wallpaper" /></a><h2 class="entry-title" itemprop="headline"><a href="http://test.de/news/hallo-welt/" rel="bookmark">Weekly Ranking #3939</a></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"><a href="http://test.de/author/nekura/" class="entry-author-link" itemprop="url" rel="author"><span class="entry-author-name" itemprop="name">Nekura</span></a></span></p></div></article></main></div></article></main>
February 22, 2015 at 11:04 am #141767DominikGXMemberAnd additionally, what headline should I use for the categories?
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘General Discussion’ is closed to new topics and replies.