Title: robinhind's Replies | WordPress.org

---

# robinhind

  [  ](https://wordpress.org/support/users/robinhind/)

 *   [Profile](https://wordpress.org/support/users/robinhind/)
 *   [Topics Started](https://wordpress.org/support/users/robinhind/topics/)
 *   [Replies Created](https://wordpress.org/support/users/robinhind/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/robinhind/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/robinhind/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/robinhind/engagements/)
 *   [Favorites](https://wordpress.org/support/users/robinhind/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom css-js-php] Impossible to manage JS on wordpress 4.2](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/)
 *  [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/#post-6062556)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] BadgeOS Thumbnails Look Pixelated](https://wordpress.org/support/topic/badgeos-thumbnails-look-pixelated/)
 *  [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/badgeos-thumbnails-look-pixelated/#post-6075752)
 * This 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom css-js-php] Impossible to manage JS on wordpress 4.2](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/)
 *  [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/#post-6062540)
 * Had 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:
 * [Click HERE](http://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom css-js-php] Impossible to manage JS on wordpress 4.2](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/)
 *  [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/impossible-to-manage-js-on-wordpress-42/#post-6062533)
 * Same 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Badge Expire or auto expiry of badges](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/)
 *  Thread Starter [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/#post-5888185)
 * Okay, 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?
 * [robinhind@gmail.com](https://wordpress.org/support/users/robinhind/replies/robinhind@gmail.com?output_format=md)
 * Thanks
    Rob
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Badge Expire or auto expiry of badges](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/)
 *  Thread Starter [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/#post-5888143)
 * That 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Badge Expire or auto expiry of badges](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/)
 *  Thread Starter [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/badge-expire-or-auto-expiry-of-badges/#post-5888124)
 * I’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/](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/](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Add region/city to slug](https://wordpress.org/support/topic/add-regioncity-to-slug/)
 *  [robinhind](https://wordpress.org/support/users/robinhind/)
 * (@robinhind)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/add-regioncity-to-slug/#post-5783619)
 * I’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

Viewing 8 replies - 1 through 8 (of 8 total)