Support » Plugin: Post State Tags » How to use this in custom-post-type listing

  • Resolved af3

    (@af3)


    Hi, this is a cool plugin. It works really well for the Posts and Pages in wp. The background color of the row works fine on the custom post types listing too but how do I add the status text at the end of the cpt title (just like in the normal Posts/Page screens) in the wp backend. Thanks

    • This topic was modified 1 year, 4 months ago by af3.
    • This topic was modified 1 year, 4 months ago by af3.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Brand

    (@brandbrilliance)

    That status tags are provided by WordPress, eg draft, preview , scheduled etc. All these appear on any post type: pages, posts or any custom post type, because it’s a feature of WordPress for all types of posts and isn’t something you have to setup.

    • This reply was modified 1 year, 4 months ago by John Brand.

    I am using wp job manager and the post tags does not appear on the job application listing. There is a column for the status but I’d like them to appear at the end of the job application cpt title; similar to the listing on the normal posts or pages. Seems like this built-in append of the status tags were filtered out by wp job manager ?

    Plugin Author John Brand

    (@brandbrilliance)

    This is a default wordpress listing feature. They might be using a completely custom list mechanism. I’ve seen some form builders do this. Then this plugin won’t work then. It only supports the default custom post type listing features.

    • This reply was modified 1 year, 4 months ago by John Brand.

    Thanks John, i just added this to their code to enable the css in this cpt listing. but it’s changing the plugin core code — anyway, it works.

    <span class="post-state"><span class="'. $status->name . ' states">...

    • This reply was modified 1 year, 4 months ago by af3.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to use this in custom-post-type listing’ is closed to new replies.