Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Adding styles and scripts #115

Closed
priteshparmar1092 opened this issue Apr 22, 2015 · 3 comments
Closed

Adding styles and scripts #115

priteshparmar1092 opened this issue Apr 22, 2015 · 3 comments

Comments

@priteshparmar1092
Copy link

I am trying to add style using rtp_head but its not working.

function custom_rtp_head() {
wp_enqueue_style( 'rt-assignment-foundation', get_template_directory_uri() . '/css/foundation/css/foundation.min.css', '', '5.5.1' );
}
add_action( 'rtp_head', 'custom_rtp_head' );

@sagarjadhav
Copy link
Contributor

I just test above code on my site and function works fine. Check your foundation.min.css file path or simply send me your site link.

@priteshparmar1092
Copy link
Author

Thanks for your support. Can you please let me know about this issue- rtCamp/rtpanel-child-theme#7

@sagarjadhav
Copy link
Contributor

Hi,
Kindly check reply here rtCamp/rtpanel-child-theme#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants