Support » Plugin: Plugin Organizer » List Override Pages/Post

  • Resolved harryfear

    (@harryfear)


    Jeff, hi!

    Is there a place (or an SQL command – I’m desperate!) where I can list all of the pages or posts that are set with their own override setting*?

    * I mean posts/pages that do not honour “Post Type Plugins” page settings, but have instead got their own settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    You can use the following query on your sql database to find all post IDs where post type settings have been overridden. Replace {DB_PREFIX} with your database prefix.

    SELECT post_id FROM {DB_PREFIX}po_plugins WHERE pt_override=1 GROUP BY post_id

    Plugin Author Jeff Sterup

    (@foomagoo)

    If you are running a multisite install then each site will have its own po_plugins table.

    Site 1 will be {DB_PREFIX}po_plugins
    Site 2 will be {DB_PREFIX}2_po_plugins
    Site 3 will be {DB_PREFIX}3_po_plugins

    harryfear

    (@harryfear)

    Thank you so much!

    This sorted me out.

    For posterity, I implemented this function by:

    • installing “MiwoSQL” plugin*
    • Saving query SELECT post_id FROM wp_hf_blog_po_plugins WHERE pt_override=1 GROUP BY post_id as Query Posts with Plugin Override
    • Can now run the query with one ‘run’ click in “MiwoSQL” in WP admin

    * https://wordpress.org/plugins/miwosql/

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.