Captain Slider
Stylesheet Redirect (2 posts)

  1. danny.webgraphics
    Posted 3 years 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,


  2. danny.webgraphics
    Posted 3 years 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 ''.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Captain Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.