Hello @mythusmage,
Yes you can do it with WordPress.
I have recently answered in the WordPress forum on how to add Javascript on your page/post. You can read my answer here.
Similarly, you can add styles to a page/post using the following method.
wp_enqueue_style( string $handle, string $src = false, array $deps = array(), string|bool|null $ver = false, string $media = 'all' )
/**
* Proper way to enqueue scripts and styles
*/
function wpdocs_theme_name_scripts() {
wp_enqueue_style( 'style-name', get_stylesheet_uri() );
wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/example.js', array(), '1.0.0', true );
}
add_action( 'wp_enqueue_scripts', 'wpdocs_theme_name_scripts' );
Additionally, you can is_page()
method with parameters to identify a particular page and enqueue scripts/styles based on a page. WordPress Codex has good documentation on is_page and that should help you.