Support » Plugin: WP Featured Content Slider » [Plugin: WP Featured Content Slider] Applying plugin to custom post types?

  • Hello.

    I use this plugin (love it!) on several WordPress sites that only use regular posts and pages.

    I just installed it on a site that uses custom post types, however, after activating the plugin, I don’t see a Featured Content Gallery option or check box in the Edit view of my custom post types.

    Does the plugin currently support custom post types? If so, what do I need to do differently? If not, how can we make this happen?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Wondering the same question! After digging through the code, I see MAYBE a possibility for it, but only with creating custom post types yourself and not with a plugin.


    The answer is a little late, but it might help someone in the future…

    I am new in WordPress, but I think I found a solution for this. For my first WP theme I am also using custom post types and this plugin. I looked a little bit in the code of the plugin and I made a few changes:

    (in my case, my custom post types are “talleres” and “cursos”)

    In content-slider.php in line 116:

    original: $args = ... 'post_type' => array('post', 'page'), ...

    change: $args = ...'post_type' => array('post', 'page', 'talleres', 'cursos'),...

    In featured-content-slider.php in line 60:

    I add two more lines for my custom post types:

    add_meta_box("feat_slider", "Featured Content Slider Options", "feat_meta", "talleres", "normal", "high");
    add_meta_box("feat_slider", "Featured Content Slider Options", "feat_meta", "cursos", "normal", "high");

    and in line 82 I add this:

    if($post->post_type == "post" || $post->post_type == "page")

    if($post->post_type == "post" || $post->post_type == "page" || $post->post_type == "talleres" || $post->post_type == "cursos")

    After these changes, it worked fine for me!

    I don´t know how to type very well (I still use two fingers) so I hope this effort will be helpful for someone!

    Awesome! Thanks

    vicdilu Thanks so much for your post, it was a great help for me today.


    I am glad the post is being helpful!

    I have the plugin working fine, but the other day I realized this plugin includes a small advertisement on the footer (on the right side) If you want to remove it, you would have to delete these lines (120 to 130 in the file content-slider.php) This is the code to be deleted:

    if (!function_exists('fs_slide_credit')) {
    			function fs_slide_credit() {
    			    echo '<div class="copy_wrap" style="display: block; margin: 0px; clear: both;"><p style="font-size: 9px; text-align: right; display: block;">Slider by <a style="font-size: 9px; text-align: right;" href="" target="_blank" title="schönheitschirurgie">Aesthetic</a></p></div>';
    		add_action('wp_footer', 'fs_slide_credit');
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Featured Content Slider] Applying plugin to custom post types?’ is closed to new replies.