Mobmet
  • Guide
    • Miui
    • Oxygen OS
  • Gaming
    • Pubg New State
    • valorant
  • Download
    • Live wallpaper
  • windows
    • Windows 11
  • Fix
  • Forum
No Result
View All Result
Mobmet

How to Show Only Post Title in Home Page in Underscores.me WordPress

Piyush by Piyush
October 25, 2021
Underscores.me

Underscores.me is a good and lightweight starter theme for WordPress. Later you can customize it according to your needs and usage. In this post, you will get to know about how you can fix the homepage showing all the content of the post. With the solution provided below, you will be able to show only the post title with some lines of the content or say excerpt on the home page.

What is it

If you are using the Underscores.me starter template for your website and wants to customize it according to your needs. Then you might don’t wants to show all the post content on your front page of the site. So, here we’ll fix it.

How to Fix it

To get only the excerpt or some lines of the content of the post on your home page or only the title follow the below steps carefully.

First of all, go to the theme editor.

Now go to the content.php file by opening the template-parts folder.

Now add the following code as shown in the picture below.

This code will show the title of the post and the excerpt with the featured image if the post has one. You can replace the excerpt with none to show only the title on homepage of the site.

Code

Piyush

Piyush

I am a student, who has a deep interest in the tech world. I like to share my thought about tech-related queries and want to help people through my knowledge. If these little things help people in any mean then I feel glad about it.

Related Posts

Custom CSS WordPress NewsPaper
WordPress

How to Add Additional CSS in Newspaper theme WordPress

October 27, 2021
WordPress
guide

How to Install WordPress on Local Host | Bitnami WordPress

October 18, 2021
Turbo C++
guide

How to Download and Install Turbo C++ on Windows Laptop/PC

September 8, 2021

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Disclaimer
  • For Site USERS
  • More

Best Deals Today

No Result
View All Result
  • Guide
    • Miui
    • Oxygen OS
  • Gaming
    • Pubg New State
    • valorant
  • Download
    • Live wallpaper
  • windows
    • Windows 11
  • Fix
  • Forum

@2021 - Mobmet.com