|
OnThisDayWPPluginCustomization
How to get better result
P-OnThisDayWP [OTD | Screenshots | Installation and Upgrading | Usage | Customization | Search Form] OTD List TitlesYou can use On %date:jS of F%... instead of On this day.... You will see something like 28th of October.... You should not use heading tags(h1, h2,...) embracing title of widget. DIV BlockIf you need OTD list within a div block, you can use <div class="onthisday"><h3>On this day...</h3> as title and [snip] %search% </div> as block. Calling OTDList()You can call OTDList() to list. function OTDList($targetPost=null){Exclude current year's postsCheck Exclude current year's post in General Options. This option also applies on pages if Include pages checked. Applying StyleSearch FormThis form looks like <form class="dateSearchForm" id="dateSearchForm-<?php echo rand(); ?>">
<div class="dateSearchForm">
<select class="dateSearchMonth" name="dateSearchMonth">
<option></option>
<option></option>
<option></option>
</select>
<select class="dateSearchDay" name="dateSearchDay">
<option></option>
<option></option>
<option></option>
</select>
<select class="dateSearchYear" name="dateSearchYear">
<option></option>
<option></option>
<option></option>
</select>
<input class="dateSearchButton" type="button" value="»" onclick="searchDate(this.form)"/>
</div>
</form>You can define those styles into your stylesheet. |