The ‘save’ function wrapper HTML class attribute used the word ‘class’ instead of ‘classname’. Trying to link dynamic register script to js block. No errors just don’t work. block referenced but does not exist (not linked in block js) “http://localhost/vpf2/wp-admin/undefined 404 (Not Found)” [ ‘core/heading’, { placeholder: ‘Enter the main heading’, level: 1 } ] ‘Level needs to be numeric’
-
-
Using custom image sizes in WordPress Gutenberg MediaUpload component
-
Using a Button Instead of an Input Tag to Submit with Contact Form 7
The markup on a form used a <button> tag rather than a <input> which is used by default. I read several articles that suggested things like hacking the core files of the plugin, but really it is a lot simpler than that. The classes on the submit input are the identifiers used to trigger the JavaScript validation and Ajax submission. Here is…
-
Placing a label inside a text input :: a better way
Problem The most obvious way to position an input label inside a text input is to add descriptive text to the value attribute. JavaScript removes the label when the user clicks in the field. <input type=’text’ name=’fname’ value=’first name’ /> This method has a number of shortcomings: The missing label tag is bad for accessibility, and it isn’t a semantic…
-
Extracting wordpress posts as text
This is a simple script I wrote that outputs WordPress posts on one page as text. A client needed this because they were editing the copy of the site and wanted all of it in a Word file. You can copy and paste the results or print them to pdf. This is quick and dirty but it does the job.…
-
Watch Full Movie Online Why Him? (2016)
Why Him? (2016) HD Director : John Hamburg. Writer : John Hamburg, Ian Helfer, Nicholas Stoller. Release : December 22, 2016 Country : United States of America. Production Company : 21 Laps Entertainment, Red Hour Films. Language : English. Runtime : 111 min. Genre : Comedy. Movie ‘Why Him?’ was released in December 22, 2016 in genre Comedy. John Hamburg…
-
Simple Javascript Word Counter Using Jquery
The script below prevents a text field from accepting more than 200 words. To apply it the textarea needs to be in its own wrapper and have the class “max200” see below: