2017-06-27, 18:56:26
Hi Carlos,
is everything ok with the custom_display_random function? I tried to make a new component to show random links. You write it is "like nm_custom_display_recent, but with randomly selected posts". But I don' get a result with this code:
It works fine, when I just replace "random" with "recent", so the component seems to be good code.
Thanks,
Hypertexter
is everything ok with the custom_display_random function? I tried to make a new component to show random links. You write it is "like nm_custom_display_recent, but with randomly selected posts". But I don' get a result with this code:
PHP Code:
<?php
nm_custom_display_random('
<a href="{{ post_link }}">{{ post_title }}</a> <span class=nm_post_date> ({{ post_date }})</span><br /> ');
?>
It works fine, when I just replace "random" with "recent", so the component seems to be good code.
Thanks,
Hypertexter