-
ali mcaleerParticipant
Can anyone tell me how to remove the word “pages” that is above my sidebar menu? I want to see the title of each of my pages within this menu, but not the actual word “pages” at the top.
My site is: http://www.am-originals.com
I would appreciate some help, I have spent hours and hours trying to figure this out
gavintfnParticipantughhh… code..lol. j/k . ok…heres how…
your gonna have to do this via ftp… you also have to make sure to save this file as .php not .txt. this is very important…
so once you download this, if you have dreamweaver, open it with that… or worst case, open with note pad… not wordpad…ok… so ftp into your site, go to wp-includes/default-widgets.php and download it…
open with dreamweaver or notepad, or other ascii editor..
dont be scared of the code…
the first widget in the code is the pages widget… you should see near the top :
class WP_Widget_Pages extends WP_Widgetyour looking for what starts at line 33.. which is..
if ( !empty( $out ) ) {
echo $before_widget;
if ( $title)
echo $before_title . $title . $after_title;
?>you will want to delete:
if ( $title)
echo $before_title . $title . $after_title;then make sure there are no empty lines left where you deleted.. should look like this:
if ( !empty( $out ) ) {
echo $before_widget;
?>save the file as the same name, but save it somewhere else, so if something goes wrong you have the original copy…
then re-upload in place of the original on the server through ftp….
ali mcaleerParticipantthank you for replying to my post! I am completely new to all this, and have no idea how to use ftp, or ftp into my site. I don’t have Dreamweaver, and am on a Mac so am presuming I can’t use Notepad.
Is there anyway I can do without using ftp…am scared I will make mistake and mess site up!
thanks again
AligavintfnParticipantSorry, Was out of town… I think the only other way for you to change that is gonna be through your hosting login…or Cpanel… If you tell me where your site is hosted ( Inmotion, justhost, godaddy, host gator..etc) I can give better directions..
In any scenario, you want to make sure you download a copy your site….Just incase..
ali mcaleerParticipantThanks for replying.
My site is hosted through Hostgator. I have downloaded a recent backup of my site, but am now at a standstill as to what to do next!
Thanks again…
gavintfnParticipantok, so log into your cpanel… you can go to http://www.am-originals.com/cpanel
log in, password should be the same as your hosting login…
after login, look on the right for the button that says file manager…click.
just click through the options..a file system will show up…look for the file that i referenced above following the structure so
publichtml/wp-includes/default-widgets.php
highlight it, then at the top click edit, or edit html, or edit code… which ever it is… then follow the above directions….
you can download from file manager as well, so download it first to your desktop, and if something does not work right, just re-upload it…and try again…
after editing, make sure to click the save and close button…
it might save you some time if you have two windows open, the editor, and you page, so you can refresh you website page and confirm that the changes worked…Daniel TaraKeymasterYou can add an empty text widget to the sidebar but then an empty space will remain in its place.
You must be logged in to reply to this topic.