Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author nierdz

    (@mnttech)

    Hi, for the moment, it’s not implemented.
    But it’s a good idea. I will work on that on the next release wich will be compatible with WordPress multisite. ??

    Thread Starter vintager

    (@vintager)

    Is there code in one of the files I can change to accomplish this until it is made official? If you point me in the right direction.. I’d appreciate it greatly!

    Plugin Author nierdz

    (@mnttech)

    Didn’t test it but I think if you edit WP_FaceThumb_Gallery.php and you change this line :
    $query = "SELECT * FROM $table WHERE display = 1 ORDER BY time LIMIT $offset, $thumbs_per_page";

    By this one :
    $query = "SELECT * FROM $table WHERE display = 1 ORDER BY time DESC LIMIT $offset, $thumbs_per_page";

    It should do the trick.
    I’s been a while since i read this code so maybe it’s not that…

    Thread Starter vintager

    (@vintager)

    PERFECT, thank you!!! Worked like a charm. ??

    Thread Starter vintager

    (@vintager)

    Oh wait.. my widget now disappeared.

    Plugin Author nierdz

    (@mnttech)

    Cool ??

    Thread Starter vintager

    (@vintager)

    Caching issue with the widget, never mind.. I’m back to it works like a charm! ??

    Plugin Author nierdz

    (@mnttech)

    That’s weird.
    This change doesn’t affect the widget…
    Go back and undo the change, I think your widget will not be here anyway.
    If this is what hapenned when you reverse the change you just made, go to the widget menu and check if the facethumb widget is always in your sidebar.

    Plugin Author nierdz

    (@mnttech)

    Arf, seeing the messages with some delay here ??
    Anyway, I’m glad everything is fine.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: WP-FaceThumb] Ascending/descending order’ is closed to new replies.