Tag Info

Hot answers tagged

1

Use a PHP function to do this: https://php.net/strip_tags example: echo strip_tags("<div>my text</div>");


1

See Wordpress Template Hierarchy and figure out which page you've to modify. From this figure, it's easy to see that if you want to modify your homepage, you have to modify frong-page.php. It it doesn't exist, check if a custom page template is used to serve the home page and edit that page template. If front-page.php doesn't exist and you are not using ...



Only top voted, non community-wiki answers of a minimum length are eligible