Questions tagged [page-title]
263 questions
4
votes
1 answer
Remove "by [username]" in a GitHub Pages document.title
I have a GitHub Pages site, and I don't want to use the raw html to develop the site yet because non developers on the team will be pushing.
The problem is that the document.title contains "by [username]" at the end. I want to remove that and just…

Cameron
- 1,049
- 12
- 24
4
votes
6 answers
can yo make the webpage title change again and again
suppose I have a webpage with a title "Hi I am a title" but 5 seconds after the page has been loaded it becomes "Hi I am another title" and then 5 seconds after that it becomes "I am also a title" and then this keeps happening again and again.Can…

Usman Sikander
- 69
- 9
4
votes
4 answers
Is the meta type="title" tag needed and what's the best format for the title tag?
I have seen some websites use the following tag:
Is it needed when you have a ?
Also, what's the best formatting for a page title? Some ideas:
Page Description :: Company Name
Page…

Darryl Hein
- 142,451
- 95
- 218
- 261
4
votes
4 answers
Setting the Page-Title in .Net using C# from a Class
Question,
How do i set the title of a page from a class. Is it even possible? I can and have set the page title from a page itself and a usercontrol.
Can I, How Do I do this via a class using C# .Net
Here is what im looking to do,
From the Aspx…

sia
- 2,185
- 4
- 20
- 17
3
votes
2 answers
Creating a default site page title in MVC3
I've got the following in my Layout file:
@{
ViewBag.Title = "Default page title";
}
@ViewBag.Title
.....
In my View I've got:
@{
ViewBag.Title = "Home";
Layout =…

Curtis
- 101,612
- 66
- 270
- 352
3
votes
1 answer
Joomla page title (shown twice)
I'm having a problem with the title of my pages in Joomla 2.5.2.
For example, my site name would be: "The big PROJECT" and I set that the parameter "Include site name in page title" to "before".
On my menu items settings, in "Page Display Options",…

Jeremie
- 584
- 4
- 16
3
votes
4 answers
react router (react-router-dom) setting page title from current route (functional components)?
I thought this would be easy, but still can't find an easy solution. I simply want to set the page title (and document.title) to a specified string that I choose. I know I can access useLocation and get the current route, but that doesn't work…

benishky
- 901
- 1
- 11
- 23
3
votes
1 answer
How to remove portions of Web page title using Javascript
I'm new at this Javascript stuff, so please excuse my basic question. I'm trying to find a way to remove some portion of a web page title using Javascript in a userscript. Take for example the title of this page:
How to remove portions of Web page…

Barstow
- 33
- 2
3
votes
1 answer
Setting Page Title with React-Router-Config
I would like to set the page titles via the config file that I'm using with react-router-config but I'm not sure the best approach. Props? Helmet?
routes.js
const routes = [
{
title: 'Home',
path: '/',
exact: true,
…

helpmepie
- 244
- 1
- 6
- 19
3
votes
5 answers
Change document title every x seconds in JavaScript
I want to change the title of my HTML page every second with JavaScript.
First the title will be "Hold on.", after one second it will be "Hold on.." and then after one second "Hold on...". After that it has to loop the same thing over and over…
user11877466
3
votes
5 answers
Zend: How to add webpage title in all my views?
For now I have to add title in all my views separately like this:
TestProject - Home
and
TestProject - Dashboard
Now if I want to change TestProject part of title then I…

Student
- 1,863
- 9
- 37
- 50
3
votes
2 answers
Storing woocommerce_page_title in a variable and display it in Woocommerce
I would like to display the page-title over the category-image. I copied this code
from the "template-archive-product.php" to "woocommerce-hook.php" as followed:
$html .= '
Remo Girard
- 33
- 1
- 5

Remo Girard
- 33
- 1
- 5
3
votes
1 answer
change title name
i want to change the title of my page.aspx through its control webcontrole.ascx

azeem
- 351
- 1
- 3
- 6
3
votes
2 answers
Prepend to the title tag using jQuery?
I want to have my title tag look like this:
My Website - Name of Page
I want to prepend the My Website - part so that I don't have to type it on every new page I make. So the title tag that I actually have on the page would be:
Name of…

Bob Dylan
- 4,393
- 9
- 40
- 58
3
votes
1 answer
How to get title from html file using directory - php
Fairly new to php, so bear with me. I'm trying to figure out how to read a directory/folder and return both the filename/path and the title of that file into a li.
$handle = opendir('.');
while (false !== ($file = readdir($handle))){
$extension…

Kukka
- 145
- 5