• The sidebar in the theme I am using has a section labeled, ‘Pages’.

    I would like to change this to ‘Articles’ but cannot seem to find where this section title originates from.

    Can someone point me in the right direction?

    Regards
    Geoff

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you edit your theme files and pick the sidebar file, you should be able to find the “Pages” title. If you can’t, please tell me what theme you are using.

    The title might be disguised as PHP-code. You can put any text you want there.

    Miriam

    If you tell me what theme you are using, I will download it and then be able to advise you better.

    Thread Starter ukgeoff

    (@ukgeoff)

    I am using the classic theme as a base and have incorporated WordPress into an existing site.

    At the top of the sidebar.php file there is a php function call wp_list_pages(), but I cannot trace this and therefor have been unable to make the change I wish.

    Thank you for your responses.

    Kind Regards
    Geoff

    If you are using the WP Classic theme, then open the sidebar.php file in the theme folder and near the top you will see the following line:

    <?php wp_list_pages(‘title_li=’ . __(‘Pages:’)); ?>

    Change the word ‘Pages’ to ‘Articles’

    Steve

    Thread Starter ukgeoff

    (@ukgeoff)

    The function at the top of sidebar.php that I have is:

    <?php wp_list_pages();?>

    without the bit you have between the brackets.

    I’ve added that and change Pages to Articles and have the result I wanted.

    Many thanks for your help.

    Kind Regards
    Geoff

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Renaming ‘Pages’’ is closed to new replies.