# Turn Off All in One SEO Output on Selected Pages

> Stops All in One SEO from printing any meta tags or schema on the pages you list, for pages managed by a landing page builder or another tool.

- Type: PHP
- Runs: Frontend only
- Category: [Plugin Integrations](https://wpide.com/library/category/integrations/)
- Tags: aioseo, seo, pages
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/aioseo-disable-selected-pages/

## Code

```php
// IDs of posts or pages without AIOSEO output.
$wpide_aioseo_off_ids = array( 12, 34 );

add_filter( 'aioseo_disable', function ( $disabled ) use ( $wpide_aioseo_off_ids ) {
    if ( is_singular() && in_array( get_queried_object_id(), array_map( 'intval', $wpide_aioseo_off_ids ), true ) ) {
        return true;
    }

    return $disabled;
} );
```

## Notes

List post or page IDs. The page title falls back to the theme's default.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Turn Off All in One SEO Output on Selected Pages" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
