Forum Replies Created

Viewing 1 replies (of 1 total)
  • Chris Tilley

    (@chris-tilley)

    I had the same problem and went into the code to do a quick fix. It is working on my site with my page of quotes displayed by quote id andthe random quote on each page still works. Anything else not tested…

    the code is located at: wp-content/plugins/quotes-collection/quotes-collection.php

    Search for the following code:

    function quotescollection_displayquotes($source = "")
    {
    	global $wpdb;
    	$source = html_entity_decode($source);
    	$sql = "SELECT quote_id, quote, author, source
    		FROM " . $wpdb->prefix . "quotescollection
    		WHERE public = 'yes' ";
    	if(!$source) {
    		$sql .= "ORDER BY quote_id";
    	}

    Change the ORDER BY quote to ORDER BY quote_id

    Hope this helps.

Viewing 1 replies (of 1 total)