Function only on a specific page

define the function: // my_formatter – register custom text formatter for specified post or page function my_formatter($content) { $new_content=””; $pattern_full=”{(\[raw\].*?\[/raw\])}is”; $pattern_contents=”{\[raw\](.*?)\[/raw\]}is”; $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($pieces as $piece) { if (preg_match($pattern_contents, $piece, $matches)) { $new_content .= $matches[1]; } else { $new_content .= wptexturize(wpautop($piece)); } } return $new_content; } Simply add the following … Read more

Dash after page title

You can’t edit them, and they’re not notes stored on a post If you set a page in settings as the front page, Front page will be shown so it’s easier to identify that page The same is true if you choose a page to be your privacy policy Elementor may add the word Elementor … Read more