adsense

How to Hide Tags on Wordpress





1. Log into your WordPress dashboard and navigate to 'Appearance.' Click 'Editor' to load the theme editing screen. Select the 'index.php' from the list of files on the right-hand side. Locate this code:
The above built-in PHP function - called a 'template tag' in WordPress - displays all tags for each post. You will often see parameters between the paranthesis. Remove this function to keep WordPress from displaying tags on your blog. You can also 'comment it out' like so:

2. Load the 'single.php' template file in the theme editor screen. Remove or comment out the_tags() in this template as well. Look through your other template files for the_tags() and remove it or comment it out. You might find the_tags() in 'home.php' or any category or tag template file. Those files all have 'category' or 'tag' in their names, such as 'category-movies.php'.

3. Navigate to 'Widgets' under 'Appearance' in the left-hand menu. Look for the 'Tag Cloud' widget in any of the sidebars, located on the right-hand side. Click on the name of a sidebar to expand it if you do not see its widgets. Click and drag the 'Tag Cloud' widget away from the sidebar if you find it in a sidebar. This will keep tags from being displayed in the sidebar.

Comments

0 Responses to "How to Hide Tags on Wordpress"

Post a Comment

Popular Posts

About