Development

0

Change node.js version

Use the following commands to change the node.js version:

Instead of 5.1.1 you can write the version you want.

0

gulp-sass 2.3.2 – “TypeError: Cannot assign to read only property ‘data’ of ./”

This error is typical for version 2.3.2 in Windows. Downgrade to 2.3.1 and things should be fine. This also...

0

MariaDB – allow user to connect from anyhost

Use the following command in your server to allow user to connect from anyhost:

0

Disable ajaxStart and ajaxStop events for a single request

To disable the ajaxStart and ajaxStop  events, add global: false in the request. Example:

0

WordPress – Show the thumbnail and the title of a WP post with Bootstrap media

Add the following code to your theme’s functions.php file:

 

0

WordPress – Adding Bootstrap to wp_list_categories()

Add the following code to your theme’s functions.php file:

Use the categories list function like this:

 

0

WordPress – Allow HTML code in taxonomy description

To allow HTML code in the taxonomy description in WordPress, add the following code to your theme’s function.php file:

0

WordPress – Remove pages from search results

To remove the pages from the search results, use the following code: