<?php /** * Top Bar * * @package Neve\Views */ namespace Neve\Views; /** * Class Top_Bar */ class Top_Bar extends Base_View { /** * Add hooks for the front end. */ public function init() { $this->filter_content(); } /** * Apply filters on the top bar content. */ private function filter_content() { add_filter( 'neve_top_bar_content', 'wptexturize' ); add_filter( 'neve_top_bar_content', 'convert_smilies' ); add_filter( 'neve_top_bar_content', 'convert_chars' ); add_filter( 'neve_top_bar_content', 'wpautop' ); add_filter( 'neve_top_bar_content', 'shortcode_unautop' ); add_filter( 'neve_top_bar_content', 'do_shortcode' ); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
inline | Folder | 0755 |
|
|
layouts | Folder | 0755 |
|
|
partials | Folder | 0755 |
|
|
pluggable | Folder | 0755 |
|
|
base_view.php | File | 1.03 KB | 0644 |
|
breadcrumbs.php | File | 4 KB | 0644 |
|
content_404.php | File | 1.11 KB | 0644 |
|
content_none.php | File | 1.94 KB | 0644 |
|
cover_header.php | File | 2.91 KB | 0644 |
|
font_manager.php | File | 8.44 KB | 0644 |
|
header.php | File | 7.25 KB | 0644 |
|
nav_walker.php | File | 15.38 KB | 0644 |
|
page_header.php | File | 4.37 KB | 0644 |
|
page_layout.php | File | 637 B | 0644 |
|
post_layout.php | File | 6.15 KB | 0644 |
|
product_layout.php | File | 5.32 KB | 0644 |
|
secondary_nav_walker.php | File | 491 B | 0644 |
|
template_parts.php | File | 15.45 KB | 0644 |
|
top_bar.php | File | 668 B | 0644 |
|
tweaks.php | File | 311 B | 0644 |
|