WordPress.org

Ready to get started?Download WordPress

Forums

Cyclone Slider 2
Post type Switching (3 posts)

  1. energy0m
    Member
    Posted 1 year ago #

    I am having problems getting ,my install to save my slideshows at all ...

    I can save the slideshow PostType it self but as soon as i add a slide and then hit the publish button it immediately switches to the "post" post type .... i also notice that the plugin
    http://wordpress.org/extend/plugins/post-type-switcher/

    does not display the cycloneslider post type ...

    I disabled the plugin "Post type Switcher" and it seems to work ... any idea why this error happens ?

    http://wordpress.org/extend/plugins/cyclone-slider-2/

  2. energy0m
    Member
    Posted 1 year ago #

    ok i figured it out ... the reason that the in the definition of the post type in the plugin
    this is set to false
    'public' => false,

    I changed it in the post type definition to true
    'public' => true,

    and it worked just fine

    I figured this out after reading this on a whim:
    http://wordpress.org/support/topic/post-type-switcher-bug-with-advanced-custom-fields

    my question tho ... will changing public to true affect anything major
    ?

  3. kosinix
    Member
    Plugin Author

    Posted 1 year ago #

    Hello energy0m,

    With regards to your questions:
    Any idea why this error happens ? >>
    Its a design flaw on how post type switcher works. It should not change the post type of a custom post unless the user wants to. Also it should not affect custom post types that are set to public = false. Right now it changes the slideshow's post type to "post" that is why you are redirected to the edit post screen after saving.

    will changing public to true affect anything major? >>
    By setting it to public = true it will appear in search results. Also "view" links will appear in cyclone's admin. Though it fixes your problem, its not really a complete solution.

    You should report this to post type switcher support as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic