Author | Replies |
---|---|
dovetail | # Posted on February 19, 2014 at 5:32 am |
This question goes with the one above – I tried using the “by” method to sort some posts by a custom field, and it worked great using this syntax: However, is is possible to use that with a “DESC” order? This didn’t work: ** Nevermind this one, I guessed and figured out that this is the proper syntax: foreach ($user->posts()->by(“reservation_fields.reservation_date”, “DESC”) as $reservation) { … } Testament to the intuitiveness of this framework! Next question: How to make it order by a field numerically. Perhaps this is documented somewhere? I couldn’t find it in the docs.
|
Ability to deactivate licence domains within MasterPress account management
25th October 2024
We have just rolled out an account management feature which allows licence holders to have better control over the domains that use their licence key. From the MasterPress Account Management page, the list of Active Sites that use your licence now includes a function that allows you to remove a domain from your licence. Simply…