Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author weiluri

    (@weiluri)

    Hi,

    I’ll check it soon and fix it.
    please check the forum on the next few days again.
    thanks for the post.

    Uri

    Thread Starter Grey Man

    (@christopher-greenhough)

    Hi Uri,

    I see there was an update, but getting the same error, this time on line 64… “Parse error: syntax error, unexpected ‘[‘” ??

    Regards,
    CG

    Plugin Author weiluri

    (@weiluri)

    Hi CG,

    I think i see the problem.
    I’ll upload another update tonight or tomorrow.

    Uri

    Plugin Author weiluri

    (@weiluri)

    Hi Chris,

    Uploaded a fix. please update to the new version.
    Please tell me if everything is ok.
    Thanks for your patience.

    Uri

    Thread Starter Grey Man

    (@christopher-greenhough)

    Absolutely perfect! That’s exactly what I needed. Thank you so much Uri ??

    Regards,
    Chris G.

    Thread Starter Grey Man

    (@christopher-greenhough)

    Hi Uri,

    Sorry, just a thought… Is it possible for me to create a filter in a custom plugin so I can override global settings? I basically want to exclude the site’s homepage from an order-by setting which applies to other pages.

    Thanks again. Do you have a PayPal donate link? ??

    Regards,
    Chris G.

    Plugin Author weiluri

    (@weiluri)

    Hi Chris,

    I’m very happy it is working and suit you.
    I added a Paypal donation link to the donation link of the plugin page (on the right, below the rating box).
    A donation will warm my heart! ??

    As for your question\request, I think I’ll do it soon before any other ideas. It is relatively simple and seems very useful.

    I don’t know if you are familiar with WordPress programming but if you want to try to bypass the plugin settings, you can add a pre_get_post action to your functions.php file and time it to run late so it will override the order settings my plugin does.

    Thank you for your patience, glad it worked out at last.
    btw: I’ll appreciate if you rate it on the plugin page ??

    Uri

    Thread Starter Grey Man

    (@christopher-greenhough)

    Thanks Uri. Small donation sent. And thanks for the suggestion. That makes more sense than me trying to directly influence the plugin action. I was thinking too literally! Your help is appreciated. Look forward to the next plugin version ??

    Regards,
    Chris G.

    Plugin Author weiluri

    (@weiluri)

    Hi Chris,

    Thank you for the donation!
    I hope to implement your idea soon, in the next version.

    Regards,
    Uri

    Thread Starter Grey Man

    (@christopher-greenhough)

    My pleasure, Uri. I’m slightly confused, does the global setting override what I set for each post type or page? Shouldn’t it be the other way around? Might be a quirk of my theme. I’m using Genesis. In the end (after trying unsuccessfully with the custom code route) I managed to make it work with a global setting to sort by custom meta value and a setting on the custom post type to sort by last modified date, although it was counter intuitive. Still scratching my head, but at least it works for now… ??

    Regards,
    Chris G.

    Plugin Author weiluri

    (@weiluri)

    Hi Chris,

    My logic in that matter was that if you want to cancel your ordering logic for all post types and make some other logic, you’ll be able to do it this way.
    If you want to change logic just for a specific post type you can always go to it’s order by page and change it.
    The global settings page nullifying to the order by date descending option which is the WordPress default. If you go after that to order by screen of specific post type and mark another order option for that specific post type it will override the global settings for this post type only.
    Hope it helped.
    btw: I found a bug in the order by date option and uploaded another minor version, so you can update to the latest..

    Uri

    Plugin Author weiluri

    (@weiluri)

    Also…I’ll be glad if you give a good rating on the plugin page and mark it “solved” (if you see the issue as solved) ??
    Thanks,
    Uri

    Thread Starter Grey Man

    (@christopher-greenhough)

    OK, makes perfect sense, I understood from your description on the plugin that it worked the reverse of that, but I agree with your logic ??

    Thanks again Uri.
    Chris G.

    Plugin Author weiluri

    (@weiluri)

    You’re welcome. Thanks for the warm review and rating!

    Uri

    Plugin Author weiluri

    (@weiluri)

    Hi Chris,

    I’ve added a new feature that you suggested. Excluding specific pages from the plugin ordering.
    You’re welcome to update to the new version – 1.3.

    Uri

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Activation error’ is closed to new replies.