How to get the current scroll top position?
How to get the current scroll top position? Copy and past the following codes below to your JS file.
var current_scroll = window.scrollY; console.log( current_scroll );
What’s up masters please support my Youtube channel. For this error please watch the video and you will get the right answer.
Having trouble on the auto filling the color of telephone number? Most common color is blue for the links. Here’s the solution below. Just copy and paste this inside to to your . <meta name="format-detection" content="telephone=no">
How to get Vimeo video thumbnails? You can use the Vimeo thumbnail generator http://video.depone.eu/ or a PHP code below. $video_id= 6271487; $url = 'http://vimeo.com/api/v2/video/'.$video_id.'.php'; $response = unserialize(file_get_contents($url)); $video_title = $response[0]['title']; $lightbox_thumb = $response[0]['thumbnail_large']; // Try to print the $response to see all parameters. // print_r($response);
Step 1 Think about the name of your plugin. Step 2 Example is Shortcode URL plugin. Create a shortcode-url folder name inside of wp-content/plugins/. Step 3 Create shortcode-url.php file inside wp-content/plugins/ folder and put the codes below inside of your shortcode-url.php file. <?php /** * Plugin Name: Shortcode URL * Plugin URI: https://www.anthonypagaycarbon.com/ * Description: Shortcode URL is…
All of the codes below will be place on your function.php Change number of products displayed per page add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 1000;' ), 20 ); Archive columns global $woocommerce_loop; $woocommerce_loop['columns'] = 4; // Change the product category list column to 4. Archive columns with body class add_filter('body_class','archive_columns'); function archive_columns($classes) { global $woocommerce_loop; $classes[]…
ERROR MESSEGE: npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. TOOLS ONLINE MENTIONED IN THE VIDEO: Download Node.js: https://nodejs.org/en/download/current Create React App: https://create-react-app.dev/docs/getting-started/ #ReactJS #LearnReact #WebDevelopment #JavaScript #FrontendDev #ReactComponents #CodingTutorial #React101 #DevTips #Programmers