Support » Plugin: Simple Nivo Slider » Using Simple Nivo Slider with a custom post type?

Viewing 1 replies (of 1 total)
  • Thread Starter tharpa.osang

    (@tharpaosang)

    I hacked together a potential solution: in simple-nivo-slider.php I modified the the simple_nivo_slider function by adding a new parameter so the function now starts like this:
    function simple_nivo_slider($id='slider', $category='', $type='post') {

    and then a little further down in the same function (after the other parameters and before the “# perform the query, shuffle if shuffle enabled” comment):

    $query .= '&post_type='.$type;
    
    	# perform the query, shuffle if shuffle enabled

    and it seems to work fine using the php call

    dunno if it will break any shortcodes yet – I will let people know if it does…..

Viewing 1 replies (of 1 total)
  • The topic ‘Using Simple Nivo Slider with a custom post type?’ is closed to new replies.