a pretty common way to zip up contents in a directory into one (or technically two) archive(s). Add to tar.gz This will add the directory and all sub directories into the archive called the-archiv..
in wordpress either show the parent page title, or if it does not have a parent then show the page title.
sometimes i have to do these things when you cant change the source files for some reason, usually due to old code. Its kind of a patch, but it works. The reason i had to add a delay in running the fu..
this is an example using: get_the_date: this one gets the post date the_excerpt: which gets the .. excerpt or summary text from the post and get_the_post_thumbnail_url which gets the image from th..
gets the page content and displays it on a template, this must use the post loop as shown in the code.
here is a jquery document ready that also loads the foundation js library. im not sure if the document foundation needs to be loaded in the document ready, but this way seems to work.
this function will add a click event to the target if the window size is greater than the target_width
This will check if the google checkbox is checked and then enable or disable the form button depending on the outcome. This is just a basic version of this check, you should also check that the captu..
this is how i get a live reloading dev environment up and running on my windows pc's using node , npm and browsersync.
My tests using the Spread Operator rather than the apply function. In the 1st function show_max_array i use the apply operator to convert the array into comma seperated values. In the show_max_array..
If you don't know how many parameters you will need in your function you can use the rest operator to pass them in. ...
in this exercise i will take a function variable and write it in one line using the arrow function