Forums

Change default title of attachment page (4 posts)

  1. TaSMaNiaC
    Member
    Posted 6 months ago #

    I'm sorry if this is a common question but I've tried searching to no avail. Basically I would like to change the title of an attachment page. The theme I am using puts "BLOG" in big letters at the top of the page when you click on a gallery image and are taken to the attachment page. See the screenshot HERE

    I would like to change this word "BLOG" to something else. I've tried poking around in the php files but I am not sure where to even begin looking. I don't know if it's part of the theme, or it's being generated by the WordPress core and conveyed by the theme. I'm guessing the latter.

    Could someone please advise me on how to change this?

    Thanks in advance!

    -Tasman

  2. duck__boy
    Member
    Posted 6 months ago #

    Themes usually have a file called 'attachment.php' - have a look in there and you should be able to find it.

  3. TaSMaNiaC
    Member
    Posted 6 months ago #

    Hmmm no such file exists unfortunately.

  4. Henry
    Member
    Posted 2 months ago #

    attachment.php, image.php or perhaps header.php is the template you are most likely looking for. If you change the page title in the header.php file be aware that this will change the title on all WordPress webpages.

Reply

You must log in to post.

About this Topic