Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmmm…the problems seemed to be connected to includes: I used

    <?php include 'https://www.myurl.com/wordpress/wp-content/themes/text.txt';?> for loading a static part of the website into the theme-template. When i removed it, it worked again, and no matter where i tried to place it, the error returned.

    So it seems that when you are having problems with themes and wordpress 2.x, check if this theme uses includes. And replace these, if you find any.

    have the same problem with a custom theme. The solution is NOT to say “take a theme that works”. I would like to read (if someone already found it) about the crucial part in 1.5er themes that cause this problem. It dont want to reinvent all my themes every time there is a version-upgrade. So *please* if someone know where this bug sits, please let me know…meantime i will go searching it myself and keep you updated ?? email is fine: [email protected]

    rudor

    (@rudor)

    I took a look at the code and its easier than you think:

    You can either pass the sorting-mode with the url:

    https://www.yoursite.com/?m=200512&order=ASC

    or change line 466 in classes.php (wp-includes) where WordPress reads just this argument. If you want to set Standard listing to ASC rather than DESC change the following:

    if ((empty($q[‘order’])) || ((strtoupper($q[‘order’]) != ‘ASC’) && (strtoupper($q[‘order’]) != ‘DESC’))) {
    $q[‘order’]=’DESC’;

    Change into:

    if ((empty($q[‘order’])) || ((strtoupper($q[‘order’]) != ‘ASC’) && (strtoupper($q[‘order’]) != ‘DESC’))) {
    $q[‘order’]=’ASC’;

    Hope that helps.

    Rudi

Viewing 3 replies - 1 through 3 (of 3 total)