I created a category page that's linked to the main menu. It posts the categories fine, but it has the text "Category Archives:________" at the top of the page. Does anyone know to remove this. I'm using the twenty eleven theme.
The text is coming from Twenty Eleven theme's
There are two ways to remove it:
A) Removing it using a Text/CODE Editor on the File System/FTP:
This is the recommended method
Your WordPress Installation Folder.
Then open the
category.phpfile in a Text or CODE Editor.
On line 20, you'll see this CODE:
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
Comment out this line (better to comment out than delete, as you may need it in the future) with
//in front of that line. So the line becomes like this:
// printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
Save the file.
This basically makes the line inactive, so the title is not generated anymore.
B) You can also edit from WordPress Admin Panel:
Note #1: This also works, but not recommended, as any error will lock you out of the Admin panel until you fix the error from the File System.
Note #2: Your File System may or may not allow this. Read More.
Log in to WordPress Admin Panel.
Editorfrom the left menu of the WordPress Admin Panel.
From the Theme Files list, Click Category Template (category.php)
Same as step (4) above.
Save the file by clicking the