Reputation
464
Top tag
Next privilege 500 Rep.
Access review queues
Badges
8 31
Impact
~62k people reached

  • 0 posts edited
  • 0 helpful flags
  • 50 votes cast
Jan
5
awarded  Notable Question
Nov
5
comment Get URL of current featured image with JS in edit post view
Perhaps complicated. But it was the solution I went with.. Something in the lines of this answer (don't have access to the code base atm): wordpress.stackexchange.com/a/107108/2830
Nov
4
awarded  Notable Question
Nov
4
comment Get URL of current featured image with JS in edit post view
@s_ha_dum Ah, yeah, maybe I was unclear. Purpose was to be able to run another script (lokeshdhakar.com/projects/color-thief) on the featured image in the backend and then be able to save those values. In the end I was able to solve it by repurposing the featured image metabox logic to output an additional "data-full" tag (with the full sized image) with the featured image thumbnail. I could then snag that URL with jQuery easily.
Nov
1
asked Get URL of current featured image with JS in edit post view
Jul
22
awarded  Popular Question
Jul
9
awarded  Notable Question
Jun
24
comment Implementing Isomorphic JavaScript (React JS) in Wordpress?
Very extensive answer, thank you! I've begun fiddling with AngularJS together with WP and I'm having a bad time due to how permalinks etc works with WP. Ideally I will separate them and only use WP to serve the data and let Angular live as it's own app. I'm not quite certain how the file structure would work. Do you have any tips? Put Angular in root and WP in a subfolder? I want the URLs to make as much sense as possible site.com/wp-admin would be swell. Think I'll just use PhantomJS or what not to handle SEO from here on.
Jun
24
accepted Implementing Isomorphic JavaScript (React JS) in Wordpress?
Jun
20
asked Run javascript upon successfully set featured image
Jun
20
comment Dequeue set-post-thumbnail.min.js
Hm, it's still working. From what I can tell I shouldn't be able to set new featured images without set-post-thumbnail. And that still works (not sure which file the script is put in, it's not enqueued on it's own, so it must be in a common.js or similar).
Jun
19
asked Dequeue set-post-thumbnail.min.js
Jun
19
awarded  Popular Question
Jun
17
awarded  Popular Question
Jun
10
asked Wordpress & AngularJS – Routes and redirects
May
2
accepted AJAX – SHORTINIT set to TRUE returns blank
Apr
27
awarded  Popular Question
Apr
22
awarded  Popular Question
Mar
18
awarded  Popular Question
Mar
2
asked Implementing Isomorphic JavaScript (React JS) in Wordpress?