Month / February 2017

If you are including jQuery by using a cdn such as https://code.jquery.com/jquery-2.2.4.min.js, Laravel Mix will emit an error when compiling your scripts. First of all, you have to copy on the root of your project a fresh copy of default `webpack.config.js` (see here for more details). Next, comment the following lines:

Read More

When you are using a Custom Post Type with its Custom Post Taxonomies, you could need to detect if a particular category is displayed in a post. So, I write a simple WordPress shortocode you can use to detect a particular category and then display the content of the post. To achieve that, you can add […]

Read More