Archive: Fast Forward Coding
Set custom image size for images upload to WordPress
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
Scrolling effect for Anchor Link
Use the following code for the scrolling effect:
Read more »Generate WordPress title tag
Copy and paste the following code into
Simple dropdown menu for WordPress
A very simple drop-down menu for WordPress.
Read more »How to add CSS or JS to your WordPress site
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 »