• Resolved kzafar

    (@kzafar)


    Hi,

    Your plugin seems to be promising with good user base using it.

    I have created custom post type with WP-Types.com, I am trying to set custom post type named “book-chapter” along with default post type “post”. I put both post type comma separated but after saving the changes plugin interface shows only one post type.

    Another small problem is with comma separated values in “Allowed Post Types” and “Allowed Post Status”. Plugin is not trimming left and right spaces in comma separated values entered in these boxes. Example, I put “publish, draft” in Allowed Post Status, plugin will read it as “publish” and ” draft” (note the leading space in word draft) and shows error that ” draft” is not a registered post status. Then I tried putting “publish,draft” and it works.

    I tried to check it with current version again and able to regenerate these errors. I will appreciate your support.

    Thank you.

    https://wordpress.org/plugins/automatic-post-tagger/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devtard

    (@devtard)

    Hello.

    I have created custom post type with WP-Types.com, I am trying to set custom post type named “book-chapter” along with default post type “post”. I put both post type comma separated but after saving the changes plugin interface shows only one post type.

    This might mean that the custom post type you submitted doesn’t exist. If APT fails to verify that the post type is actually registered in WP, it won’t be saved. Is the plugin or whatever you’re using for registering the post type active?

    Another small problem is with comma separated values in “Allowed Post Types” and “Allowed Post Status”. Plugin is not trimming left and right spaces in comma separated values entered in these boxes. Example, I put “publish, draft” in Allowed Post Status, plugin will read it as “publish” and ” draft” (note the leading space in word draft) and shows error that ” draft” is not a registered post status. Then I tried putting “publish,draft” and it works.

    Thanks for letting me know, I’ll fix this in the next version.

    Thread Starter kzafar

    (@kzafar)

    Hi Devtrad,

    The custom type is working, but at a time the Allowed post type is saving one post type only. I tried saving book-chapter alone and it worked without any exception.

    Then I tried wordpress default post types i.e. post, page its not working as well.

    Thanks,
    Khurram

    Plugin Author Devtard

    (@devtard)

    Hey, could you please create a screencast showing the unwanted behavior or take a few screenshots, so that I have a better idea of what’s going on? You can send it to my Gmail address (I use the same handle there) if you want to. Thank you.

    I too have this same problem. You cannot put, for example, “page,post” in the Allowed Post Types field. When you try to save the settings it only keeps the last one.

    If I try to enter three different post types (one of them is custom of course) it does all sorts of weird things. I want to enter “post,my_cases” to auto tag all posts and my_cases where my_cases is the custom post type that I created. If I enter “page,post,my_cases” it will drop the page type thus giving me what I want. Maybe you can use that technique as a workaround for now…

    I have the same problem – when I put “page,post” the plugin saves just one type of post types… Please solve the issue.
    Thanks!

    Plugin Author Devtard

    (@devtard)

    Thanks for confirming the bug. I wasn’t able to recreate it at first, but I’ll take a closer look at it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Allowed post types not working’ is closed to new replies.