[Plugin: WordPress Download Monitor] Showing downloads by category with most recent at the top
-
When showing a list of downloads by category, i.e. using the code
[download_cat#id]
the default is to show the oldest download at the top not the most recent. At Mike’s suggestion, adding DESC to the line
$query = sprintf("SELECT * FROM %s WHERE
category_idIN (%s) ORDER BY
titleDESC;",
in the wp-download_monitor.php file, did amend it so that the most recent download was at the top.
However, after upgrading to the most recent version (2.2.3) and adding DESC to the same line in wp-download_monitor.php (now located on line #1990), it no longer seems to work. Has anyone with a knowledge of php got an idea why? Thanks in advance.
(unsure why using backticks isn’t showing the code above as code in the forum)
- The topic ‘[Plugin: WordPress Download Monitor] Showing downloads by category with most recent at the top’ is closed to new replies.