Activation error
-
I’m also getting a fatal error, this time on line 63 of admin-options.php
Regards,
Chris G.
-
Hi,
I’ll check it soon and fix it.
please check the forum on the next few days again.
thanks for the post.Uri
Hi Uri,
I see there was an update, but getting the same error, this time on line 64… “Parse error: syntax error, unexpected ‘[‘” π
Regards,
CGHi CG,
I think i see the problem.
I’ll upload another update tonight or tomorrow.Uri
Hi Chris,
Uploaded a fix. please update to the new version.
Please tell me if everything is ok.
Thanks for your patience.Uri
Absolutely perfect! That’s exactly what I needed. Thank you so much Uri π
Regards,
Chris G.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.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
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.Hi Chris,
Thank you for the donation!
I hope to implement your idea soon, in the next version.Regards,
UriMy 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.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
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,
UriOK, 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.You’re welcome. Thanks for the warm review and rating!
Uri
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
The topic ‘Activation error’ is closed to new replies.