Hi, I have a little problem related to WordPress, look at screenshot first: Here!

On the main page I just want to edit that link and also its title from Business Business News to Business news. As you can see in Image I marked it with red arrow. I am using a custom template and and trying to find main index file so I can edit this for homepage of website.

Dani AI

Generated

Brief expert checklist for ’s “Business Business News” problem, building on points from , and . Because only “Contact Us” and “Archive” appear under Pages, the homepage label is probably not a normal Page entry. Common sources are: a menu label, a post-category title, a widget/customizer section, a page-builder block, or hard-coded text inside the theme (front-page.php, header.php, template-parts).

Recommended troubleshooting steps (in order):

  • Inspect the element in the browser dev tools and copy the link href and any CSS classes — the URL often reveals the source (category archive, page, external link, or anchor).
  • Check Settings > Reading to see if the front page is a static page or latest posts; that determines whether to look for a Page or a theme template.
  • Look in Appearance > Menus for a Custom Link or menu label named “Business Business News”.
  • Check Posts > Categories for a category named the same (as suggested) and edit the Name/Slug if found.
  • Open Appearance > Widgets and Appearance > Customize — many custom themes place homepage sections there or expose theme options.
  • If admin panels find nothing, search the active theme files for the exact text or the href found in step 1.

Quick file-search examples (run from site root or theme folder):

# search theme files for the exact phrase
grep -R "Business Business News" wp-content/themes -n

# search for the link target URL discovered in the inspector
grep -R "path-or-slug-from-href" wp-content/themes -n

Editing notes and cautions: if the string is in a template, modify it in a child theme so updates don’t overwrite changes. Always back up files or use a staging site, then clear any caching/CDN after changes. If a page-builder or plugin generated the block, edit it in that builder rather than theme files. Following this checklist should reveal where the label is coming from and how to change it to “Business news.”

Recommended Answers

All 7 Replies

You say it's a Wordpress site, so I asume you can edit that title and link via the WP-admin instead of your code editor. WordPress is after all a content management system.

Can you guide me which file to edit?

Look! You don't have to edit a file, you'll have to edit via wp-admin. You do have access to wp-admin, right? Example: www.yourdomain.com/wp-admin/

Member Avatar for Member #120589

How did you enter Business Business News in the first place? You must have assigned it yourself? Or is there a lot you're not telling us? Due to vast possibilities with different post types, categories, taxonomies, different content sections - the heading could be anywhere - possibly hidden away, not even reachable by theme options / customization. You need to provide more info. You say custom theme - all themes are custom I suppose (except the twenty-* series). Are you referring to child themes?

commented: "How did you enter Business Business News in the first place?" - The Million Dollar Question +7

When I was in admin panel. I goto pages there I saw only two pages one is Contact Us and other is Archive. There was no hompage to edit.

Good Day ! You say when you go into Pages you can not find this particular page and or file. How did you create this file. Did you go into wp-admin and click on pages and select a new page and use the editor to create a wordpress page ? Did you copy this page from another website ? Did you create this page using a html editor or code ?
If you used html you need to use a html editor and search for that text and change it, then save the file. But this will not run under wordpress.

Member Avatar for Member #120589

Sounds like a post category name. What is the name for the post category?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.