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…
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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/seo" class="post-tag grid--cell" title="show questions tagged 'seo'" rel="tag">seo</a> <a href="../../questions/tagged/meta-tags" class="post-tag grid--cell" title="show questions tagged 'meta-tags'" rel="tag">meta-tags</a> <a href="../../questions/tagged/page-title" class="post-tag grid--cell" title="show questions tagged 'page-title'" rel="tag">page-title</a> <a href="../../questions/tagged/meta-title" class="post-tag grid--cell" title="show questions tagged 'meta-title'" rel="tag">meta-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 27 '08 at 17:38">asked Oct 27 '08 at 17:38</time> <a href="../../users/5441/darryl-hein" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5441.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Darryl Hein" /> </a> <div class="s-user-card--info"> <a href="../../users/5441/darryl-hein" class="s-user-card--link">Darryl Hein</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">142,451</li> <li class="s-award-bling s-award-bling__gold" title="95 gold badges">95</li> <li class="s-award-bling s-award-bling__silver" title="218 silver badges">218</li> <li class="s-award-bling s-award-bling__bronze" title="261 bronze badges">261</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-1723625"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/1723625/setting-the-page-title-in-net-using-c-from-a-class" class="question-hyperlink">Setting the Page-Title in .Net using C# from a Class</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/c#" class="post-tag grid--cell" title="show questions tagged 'c#'" rel="tag">c#</a> <a href="../../questions/tagged/.net" class="post-tag grid--cell" title="show questions tagged '.net'" rel="tag">.net</a> <a href="../../questions/tagged/class" class="post-tag grid--cell" title="show questions tagged 'class'" rel="tag">class</a> <a href="../../questions/tagged/methods" class="post-tag grid--cell" title="show questions tagged 'methods'" rel="tag">methods</a> <a href="../../questions/tagged/page-title" class="post-tag grid--cell" title="show questions tagged 'page-title'" rel="tag">page-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 12 '09 at 16:43">asked Nov 12 '09 at 16:43</time> <a href="../../users/207952/sia" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/207952.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="sia" /> </a> <div class="s-user-card--info"> <a href="../../users/207952/sia" class="s-user-card--link">sia</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,185</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="20 silver badges">20</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badges">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-9693286"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>3</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/9693286/creating-a-default-site-page-title-in-mvc3" class="question-hyperlink">Creating a default site page title in MVC3</a></h3> <div class="excerpt">I've got the following in my Layout file: @{ ViewBag.Title = "Default page title"; } <!DOCTYPE html> <html> <head> <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
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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/page-title" class="post-tag grid--cell" title="show questions tagged 'page-title'" rel="tag">page-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 15 '10 at 02:41">asked Apr 15 '10 at 02:41</time> <a href="../../users/126196/bob-dylan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/126196.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Bob Dylan" /> </a> <div class="s-user-card--info"> <a href="../../users/126196/bob-dylan" class="s-user-card--link">Bob Dylan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">4,393</li> <li class="s-award-bling s-award-bling__gold" title="9 gold badges">9</li> <li class="s-award-bling s-award-bling__silver" title="40 silver badges">40</li> <li class="s-award-bling s-award-bling__bronze" title="58 bronze badges">58</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16763769"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>3</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16763769/how-to-get-title-from-html-file-using-directory-php" class="question-hyperlink">How to get title from html file using directory - php</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/function" class="post-tag grid--cell" title="show questions tagged 'function'" rel="tag">function</a> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> <a href="../../questions/tagged/page-title" class="post-tag grid--cell" title="show questions tagged 'page-title'" rel="tag">page-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 26 '13 at 21:17">asked May 26 '13 at 21:17</time> <a href="../../users/2374255/kukka" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2374255.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Kukka" /> </a> <div class="s-user-card--info"> <a href="../../users/2374255/kukka" class="s-user-card--link">Kukka</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">145</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=17" rel="" title="Go to page 17">17</a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=18" rel="" title="Go to page 18">18</a> <a class="s-pagination--item" href="../../questions/tagged/page-title_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>