WordPress.org

Support

Support » Plugins and Hacks » Download Monitor » [Plugin: WordPress Download Monitor] Sorting by last downloads

[Plugin: WordPress Download Monitor] Sorting by last downloads

  • Hello,

    is possible to sort it from last downloads? I have script in template (header.php)

    <?php $dl = get_downloads('limit=10&orderby=id&order=desc');
    if (!empty($dl)) {
        echo '<ul class="downloadList">';
        foreach($dl as $d) {
            $date = date("jS M Y", strtotime($d->date));
            echo '<li class="downloadlistli"><a>url.'" title="'.__('Version',"wp-download_monitor").' '.$d->version.' '.__('downloaded',"wp-download_monitor").' '.$d->hits.' '.__('times',"wp-download_monitor").'" >'.$d->title.'</a>';
        }
        echo '';
    }
    ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

    http://wordpress.org/extend/plugins/download-monitor/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Download Monitor] Sorting by last downloads’ is closed to new replies.
Skip to toolbar