Show Image With Size From Elementor Widget

Converting HTML Template To WordPress Theme-2

Converting HTML Template To WordPress Theme-2

Step-6: Upload your theme into WP theme directory wp-contents > themes
then go to Admin Dashboard > Appearance > Themes activate your uploaded theme

to show your theme nicely in admin themes area add a screenshot of your template home page inside your theme (name it screenshot.png)

your theme is activated and running now

Step-7: Add CSS & JS libraries into functions.php otherwise theme’s design and other related functionalities won’t show properly

now functions.php looks like below

/**
* Enqueue scripts and styles.
*/
function techsolution_scripts() {
	wp_enqueue_style( 'techsolution-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ) );

	wp_enqueue_script( 'techsolution-menu-js', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1.1', true );
	wp_enqueue_script( 'techsolution-navigation-js', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1.1', true );

	wp_enqueue_style( 'techsolution-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' );
}
add_action( 'wp_enqueue_scripts', 'techsolution_scripts' );

Ongoing

Converting HTML template to WordPress theme-1

One Comment:

  1. Is there a way to convert a WordPress template to an html template? I purchased a couple of WordPress templates in the past that I would like to use on a website that is not WordPress.

Leave a Reply

Your email address will not be published. Required fields are marked *