One more thing. I'm trying to display the latest blog posts in the website's footer using the special pages plugin.
Component
and it does work but the plugin adds the default formatting that breaks everything up
How I can remove the UL? Haven't found any param in the docs, additionally I'd like to add the entry count (1-4) to the class of a opening div
Hope I'll get an answer. Thank you.
Code:
<?php get_i18n_search_results(array('tags'=>'_special_blog','component'=>'blog-entries-footer','max'=>4,'HEADER'=>' ')); ?>
Component
Code:
<div class="box s1">
<h4><a href="<?php echo $item->link; ?>"> <?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?></a></h4>
</div>
and it does work but the plugin adds the default formatting that breaks everything up
Code:
<ul class="search-results ">
<li class="search-entry ">
<div class="box s1">
<h4><a href="http://site.com/blog/avoid-holiday-accidents"> Avoid Holiday Accidents</a></h4>
</div> </li>
</ul>
How I can remove the UL? Haven't found any param in the docs, additionally I'd like to add the entry count (1-4) to the class of a opening div
Code:
<div class="box sCOUNT">
Hope I'll get an answer. Thank you.