Birthday

July 14, 2012 is TipRicks's Birthday, Please Prepare and Send Good Wishes to its team!

UnderStood
TipRicks is under maintenance! If you found any error please let us know. Contact Us ×

Hello!

Click one of our representatives below to chat on WhatsApp

Support Customer Service Center
+923084774257
You can also send us an email to support@tipricks.com
Hello! What can I do for you?
×
How can I help you?

Creating Article Titles Appears Only One Word on Homepage

SHARE:

How the titles of the post can appear only one word on the home page in blogger blog.

Tutorial Blogger / blogspot this time about how to make post title only appear one word only on homepage (front page), while on page posting appear all title / title.

For example if the entire article title is "ComRicks Responsive Blogger Template" that appears on the front page (homepage) only "ComRicks" only.

This way is usually applied to websites / blogs that share the template. Let the post title on the front page look more short and slim.Make a post title just one word on the front page.

Follow the below step:
  1. Please login to Blogger
  2. Go to Theme> Edit HTML. 
  3. Put the following code above </head>
[<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<script type='text/javascript'>
    $(document).ready(function(){
   var abc = $("body").find(".entry-title a").eq(0).text().split(" ");
    $("body").find(".entry-title a").eq(0).text(abc[0]);
    var def = $("body").find(".entry-title a").eq(1).text().split(" ");
    $("body").find(".entry-title a").eq(1).text(def[0]);
    var hij = $("body").find(".entry-title a").eq(2).text().split(" ");
    $("body").find(".entry-title a").eq(2).text(hij[0]);
    var klm = $("body").find(".entry-title a").eq(3).text().split(" ");
    $("body").find(".entry-title a").eq(3).text(klm[0]);
    var nop = $("body").find(".entry-title a").eq(4).text().split(" ");
    $("body").find(".entry-title a").eq(4).text(nop[0]);
    var qrs = $("body").find(".entry-title a").eq(5).text().split(" ");
    $("body").find(".entry-title a").eq(5).text(qrs[0]);
    });
</script></b:if>
</b:if>]


      4. The above code will only apply to the first 5 articles / posts. If you want to apply to more articles, please add the following code, by replacing some of the code marked below:

[var qrs = $("body").find(".entry-title a").eq(5).text().split(" ");
    $("body").find(".entry-title a").eq(5).text(qrs[0]);]

  • Code qrs please change as you like with any letter, the origin is not the same as the previous code.
  • Figures 5 please replace with the next number.

Do the same thing, according to the number of posts that appear on the homepage page on your blog.

      5.  In addition, also add the jQuery library code if your template does not have the code, regardless of version. An example of a jQuery library code like this.

[<script src='//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>]

      6. Then save the template.

If you liked this article, then please subscribe to our YouTube Channel for Blogger video tutorials. You can also find us on Twitter and Facebook.

This article "Creating Article Titles Appears Only One Word on Homepage" is protected by




Was this article helpful?

Thanks! Your feedback will help us to improve our Services.

COMMENTS

BLOGGER
Need help? Contact to our support center at +92 308 477 4257
Name

Agriculture PPT Templates,2,AI Tools,1,Amazon,1,AskTipRicks,9,Blogger,48,Blogger-SEO,6,Blogger-Templates,1,Blogger-Tutorials,32,Blogger-Widgets,11,Blogging-Tips,7,Books,1,Business,1,Computer PPT Templates,1,Computer-Tutorials,1,Creative-PowerPoint-Templates,2,Digital Marketing,1,Domain,1,Ecommerce,1,Facebook,4,Free-Mobile-Data,1,Freenom,1,General,7,Google-Adsense,4,Google-Analytics,2,Google-Classroom,3,Instagram,2,Internet,1,Interviews,1,Islamic PPT Templates,1,jQuery,1,Marketing,1,Medical PPT Templates,1,Microsoft-Word,3,Mobile-Marketing,1,Motivation,1,MS Word,1,News,25,News-Updates,26,Oppo-Mobile-Features,1,PDF,1,PowerPoint-Templates,7,Resume-Templates,2,Reviews,3,SEO,8,Social-Media,6,Tech-News,15,TrueCaller,1,Twitter,1,Videos,24,Vlogging,1,Web-Hosting,1,Whatsapp,3,WordPress,8,WordPress-SEO,1,WordPress-Themes,1,WordPress-Tutorials,4,Youtube,5,
ltr
item
TipRicks Blog: Creating Article Titles Appears Only One Word on Homepage
Creating Article Titles Appears Only One Word on Homepage
How the titles of the post can appear only one word on the home page in blogger blog.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTZdKcCaEkNBxCkUZ7RegmlLJ_QCSqSS9ofpYZroMFLSftyqcb5FbRHz0tuSJkU9yPQxo0iuCmFfnvILeTLzgFvFGMcM61e4_iWmfAv02NOEecZ1nn6Vw-easEzRvEKZqZVM5KsXGpGe-z/s320/creating-article-titles-appears-only-one-word-on-homepage.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTZdKcCaEkNBxCkUZ7RegmlLJ_QCSqSS9ofpYZroMFLSftyqcb5FbRHz0tuSJkU9yPQxo0iuCmFfnvILeTLzgFvFGMcM61e4_iWmfAv02NOEecZ1nn6Vw-easEzRvEKZqZVM5KsXGpGe-z/s72-c/creating-article-titles-appears-only-one-word-on-homepage.jpg
TipRicks Blog
https://blog.tipricks.com/2017/06/creating-article-titles-appears-only-one-word-on-homepage.html
https://blog.tipricks.com/
https://blog.tipricks.com/
https://blog.tipricks.com/2017/06/creating-article-titles-appears-only-one-word-on-homepage.html
true
7070217950916442682
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy