Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Or if you have existing scripts and styles you can simply make hsph-bootstrap a dependency:

Code Block
languagephp
themeRDark
titleBy dependency
add_action(
	'wp_enqueue_scripts',
	function () {
		// Enqueue the CSS files.
		wp_enqueue_style( 'theme-styles', get_stylesheet_directory_uri() . '/style.css', array( 'hsph-bootstrap' ), HSPH_HOME_THEME_VERSION );


		// Optionnaly: Enqueue JS if you want to use tabs, dropdowns, modals, tooltips, ...
		wp_enqueue_script( 'theme-scripts', get_stylesheet_directory_uri() . '/js/homepage.js', array( 'jquery', 'jquery-ui-tabs', 'jquery-flexslider' ), HSPH_HOME_THEME_VERSION, true );



	}
);


How to Modify

Demos