# OceanWP: Hide the Page Title Bar on Pages

> Hides the page header (title and breadcrumb bar) that OceanWP shows at the top of pages, so designed pages start right under the menu.

- Type: PHP
- Runs: Frontend only
- Category: [Page Builders & Themes](https://wpide.com/library/category/page-builders/)
- Tags: oceanwp, page-header, pages
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/oceanwp-hide-page-header-on-pages/

## Code

```php
add_filter( 'ocean_display_page_header', function ( $display ) {
    return is_page() ? false : $display;
} );
```

## Notes

Change is_page() to another condition, for example is_singular( 'product' ), to target other content.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "OceanWP: Hide the Page Title Bar on 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/
