Archive: Fast Forward Coding

Set custom image size for images upload to WordPress

Posted on: 22 June 2018     Posted by: Freesize Workroom

Set the image size by resizing the image proportionally (without distorting it): Set the image size by cropping the image (not showing part of it): Set the image size by cropping the image and defining a crop position: When setting a crop position, the first value in the array is the x axis crop position, […]

Read more »

Auto scroll to element with specific ID on page load

Posted on: 20 June 2018     Posted by: Freesize Workroom
Read more »

Scrolling effect for Anchor Link

Posted on: 20 June 2018     Posted by: Freesize Workroom

Use the following code for the scrolling effect:

Read more »

Generate WordPress title tag

Posted on: 16 March 2017     Posted by: Freesize Workroom

Copy and paste the following code into …Paste here… attribute.

Read more »

Simple dropdown menu for WordPress

Posted on: 15 March 2017     Posted by: Freesize Workroom

A very simple drop-down menu for WordPress.

Read more »

How to add CSS or JS to your WordPress site

Posted on: 27 December 2015     Posted by: Freesize Workroom

Use  wp_enqueue_script() function to enqueue CSS or JS scripts. Read here for more details.   The following example will enqueue the JS script of jQuery Cycle 2 to footer of the WordPress site.  (Add the code below to function.php)   If you need enqueue the script on a specific page, simply use the conditional tag. […]

Read more »