Put The Postal Service Championship Earlier The Weblog Title

Some weblog owners desire to accept the titles of the posts easier to spot, inwards search striking lists.

The solution, to them, is to accept the postal service titles look earlier the weblog titles, inwards the template header. If you lot desire your weblog to accept the postal service championship inwards forepart of the weblog title, this is a unproblematic plenty change.

It's best to brand this alter alone impact display of private pages (when indexed), as well as posts. Other search striking listing entries, such every bit archive, label, as well as principal page displays, should exhibit the default weblog page championship - as well as non confuse the potential readers alongside irrelevant detail, inwards the search striking listing entries.

This alter requires a pocket-size amount of extra code, to position the specific search striking entries, where the display alter is appropriate.

It's a unproblematic change.
Since none of the code is weblog specific, it's a unproblematic "search as well as replace" change. H5N1 banking corporation stand upward for for page type of "item" is all that you lot need.

As always, I volition suggest you lot to backup the weblog template, before as well as afterwards making this change.

Find the default championship code, using "Edit HTML".
Use the Template HTML Editor. Locate
<title><data:blog.pageTitle/></title>
in the template code.

Add iv lines of code.
Replace
<title><data:blog.pageTitle/></title>
With
<b:if cond='data:blog.pageType == "item"'> <title><data:blog.pageName/> | <data:blog.title/></title> <b:else/> <title><data:blog.pageTitle/></title> </b:if>
And striking "Save template".

The alter won't accept immediate effect.
Now, aspect land your "item" pages (individual pages / posts) are re indexed - as well as this may non happen, over night. Again, "index" pages (archive, label, as well as main page displays) won't, as well as should not, move affected past times this change.

The alter needs to move selective.
If you lot click on the label (below) of "Blog Title", you lot perish a label search page, alongside the pageTitle of ": Blog Title". For label searches, you lot desire the weblog championship to precede the label advert - so, you lot move "data:blog.pageTitle" (the default).

If you're using Jump Break, to shorten principal page entries, this alter may accept to a greater extent than impact. Blogs which display consummate postal service content inwards "index" view won't accept every bit much attending paid to the posts inwards "item" view.

H5N1 useful option / complement, to the championship sequence change, would move well chosen search description meta tags. Proper sizing as well as wording, of all descriptions as well as titles, may brand your search striking entries to a greater extent than distinctive too.

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel