2015-03-15, 21:58:10
Hello Carlos,
today I tried to make a recent list with a custom template and filtered by a tag. I found "nm_custom_display_recent" for that task, and it works, but: I need to use "margin-bottom:0", since it produces an own <ul> for every line, and an empty line after each entry. (I want to have the standard ul-li look)
Could this be done more elegant?
My code is:
today I tried to make a recent list with a custom template and filtered by a tag. I found "nm_custom_display_recent" for that task, and it works, but: I need to use "margin-bottom:0", since it produces an own <ul> for every line, and an empty line after each entry. (I want to have the standard ul-li look)
Could this be done more elegant?
My code is:
PHP Code:
<?php nm_custom_display_recent('<ul style="margin-bottom:0" class="nm_recent"><li><a href="{{ post_link }}"
target="_blank">{{ post_title }}</a><span class=nm_post_date> am {{ post_date }}</span></li></ul>',
'Tagname');?>