I need to ask a question that has been asked in the past.
How to let authors only see website stats for their posts?
However that question is more than 3 years old. Since significant technical advances have been made since 2011, it's quite possible that there is now a solution for this when bef...
> It is based on the Underscores templating engine, but it modifies the syntax of it to make it look and feel just a little more like the Mustache, but without dragging an entire extra library along for the ride Made me think it was more than that. After second reading it perhaps isn't suggesting that. Just seems odd to me that they bothered to change the syntax at all...
Meh, I give up trying to get that blockquote to work...
...I use LoDash, a better alternative to Underscore and I use the inbuilt templating helper too, every so often I change the delimiters to meet my use case, but not in the way WP has... Not sure if the way they did it provides any extra value or not.
@StephenHarris Looking closer it seems that way... I don't mind the Mustache syntax, its easy to read but I am just as happy with <%= prop %>, <%- prop%>... I don't mind the ES6 style delimiter too, ${ prop }
so just remove the deregitster and keep wp_enqueue_script('jquery');? Would they even need enqueue as say one of the scripts "main_js" was dependant on jquery? Wordpress would just enqueue it for them?
Thing to remember to don't say stupid to yourself: if you git-ignore file.php be sure you don't have an important file /a/path/File.php somewhere in the repo.
@TomJNowell The whole registering and enqueue thing was so confusing when I first stumbled upon it, so many mixed messages, as you say.
completely unrelated question, but I'm using get_post_gallery_images and it's spitting images as 150x150. It doesn't look like it takes a size parameter so I assumed it would just spit out the largest image, 150x150 is too small though, is there somewhere I declare what size gallery images I want?