WordPress.org

Ready to get started?Download WordPress

Forums

Captain Slider
Stylesheet Redirect (2 posts)

  1. danny.webgraphics
    Member
    Posted 12 months ago #

    Hi many thanks for such a great plug in. Quick question, trying to redirect the plug in to my themes stylesheet instead of flexslider.css.

    I know exactly where I need to change the code.

    function ctslider_load_scripts() {
    	wp_register_style( 'flexslider-style',  CTSLIDER_PLUGIN_URL . 'includes/css/flexslider.css', array(  ), CTSLIDER_VERSION );

    I am just unsure of how I would be able to switch it to my own stylesheets due my inexperience with php. I am trying to have it redirect to http://localhost:8888/wp-content/themes/acappella/library/css/style.css

    Many thanks,
    Danny

    http://wordpress.org/extend/plugins/captain-slider/

  2. danny.webgraphics
    Member
    Posted 12 months ago #

    For the homies.

    function ctslider_load_scripts() {
    	wp_register_style( 'flexslider-style', 'http://localhost:8888/wp-content/themes/acappella/library/css/style.css', array(  ), CTSLIDER_VERSION );

    Just get rid of the CTSLIDER_PLUGIN_URL. Then insert your own path in between the ''.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.