get_template_directory_uri() generates wrong path

Do your URL change up in phpMyAdmin with SQL language: # Change website url UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-site.com’,’http://www.new-site.com’) WHERE option_name=”home” OR option_name=”siteurl”; # Change GUID URL UPDATE wp_posts SET guid = REPLACE (guid, ‘http://www.old-site.com’,’http://www.new-site.com’); # Change url of medias, post, page, etc. UPDATE wp_posts SET post_content = REPLACE (post_content, ‘http://www.old-site.com’,’http://www.new-site.com’); # Change … Read more

Assign custom classes to the divs inside the loop

Here’s one example how you could write the loop for your jumbotron, // add helper functions to functions.php function my_posts_query() { $args = array(); // add parameters as needed post_type, posts_per_page, etc. return new WP_Query($args); } function my_single_post_image( int $post_id ) { $url = get_the_post_thumbnail_url( $post_id, ‘large’ ); // update as needed if ( $url … Read more

How to integrate JSS to WordPress

JSS is designed for dynamically generated HTML rendered by JS. It’s purpose is to generate unique identifiers for class names to prevent collisions in naming. If you want to have static CSS generated it’s easier to look at LESS\SASS\SCSS and build them with gulp, or with Less straight(http://lesscss.org/usage/). Here’s heavily modified example which does what … Read more

How to add animation the featured image?

Your theme might already have an animation feature, you can just add the class. You can add a plugin like so..https://wordpress.org/plugins/animate-it/ and add the class to the featured image property for it to work. If you use a builder (like Elementor) you can easily create your layouts and add animations to each element.