robinhind
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom css-js-php] Impossible to manage JS on wordpress 4.2I got the chance to try this plugin again today on a different site and it works as it should now for me.
Thanks
Forum: Plugins
In reply to: [BadgeOS] BadgeOS Thumbnails Look PixelatedThis was a bit complex for me but if i’ve understood correctly i changed line 539 to look like this:
function badgeos_get_achievement_post_thumbnail( $post_id = 0, $image_size = ‘300px’, $class = ‘badgeos-item-thumbnail’ ) {
and it worked, no more grainy images, but that seemed to easy did i do something wrong?
Thanks
Forum: Plugins
In reply to: [Custom css-js-php] Impossible to manage JS on wordpress 4.2Had a look at some other javascript plugins but couldn’t make any of them work! so i bit the bullet and learnt how to load the javascript file with code in the functions file. took me about half an hour and used this tutorial:
I only needed to load one file and it’s not very big and it’s used on most pages of my site so this was an easy way to load it.
Hope this helps someone.
Forum: Plugins
In reply to: [Custom css-js-php] Impossible to manage JS on wordpress 4.2Same problem, the code is there and working it is just not displayed when you try and edit it!
Any one got a fix for this, i use this plugin quite a bit
Forum: Plugins
In reply to: [BadgeOS] Badge Expire or auto expiry of badgesOkay, time constraints appreciated.
I’ve got a bit of time, space to test and i’m quite keen to do this, I’m light on knowledge though but if you could give me some notes, pointers and a kick in the right direction then i have no problem sharing whatever comes of it so you can integrate it into future versions?
Would this be of interest?
Thanks
RobForum: Plugins
In reply to: [BadgeOS] Badge Expire or auto expiry of badgesThat sounds perfect in theory……
I have limited knowledge of cron jobs, but i do have a site set up that we could test on with sensei, Badgeos etc.
Is this something we could do? i’m willing to help in any way i can but as i said i’m not much of a coder.
Thanks for your help though
Rob
Forum: Plugins
In reply to: [BadgeOS] Badge Expire or auto expiry of badgesI’m not a coder but I do dabble and I can find my way around .php files.
I just worked this script out:
https://jsfiddle.net/robinhind/5fzt6aqt/1/
really simple, it uses an event listener to unhide a button when the video is finished.Not very fancy but that’s about the level i’m at if it helps?
as i mentioned, this plugin https://wordpress.org/plugins/post-auto-expire-control/
promises to do exactly what i need, set an expiry date for X time after the badge has been awarded, email the user when it’s about to expire, etc but is no longer supported, dunno if it may give a good starting point for you though?
Thanks for the help
Rob
Forum: Plugins
In reply to: [WP Job Manager] Add region/city to slugI’m having exactly the same issue, used the above snippet in my functions.php, the url is created as it should but the page isn’t found! estuarydirect.tv
works fine:
function change_job_listing_slug( $args ) { $args['rewrite']['slug'] = 'listing/%category%'; return $args; } add_filter( 'register_post_type_job_listing', 'change_job_listing_slug' );doesn’t work:
function change_job_listing_slug( $args ) { $args['rewrite']['slug'] = 'listing/%category%/%region%'; return $args; } add_filter( 'register_post_type_job_listing', 'change_job_listing_slug' );anyone got any ideas what we’re doing wrong? and to clarify, definitely saving permalink structure after modifying file.
Thanks