Forum Moderators: coopster

Message Too Old, No Replies

Title-tag inside WordPress theme files

         

toplisek

12:48 pm on Oct 15, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Which line inside WordPress and its file functions.php will push

title-tag

Which line should be inside PHP/theme to show TITLE?
How to manage and echo only TITLE without right part in this case?

It is a new theme set up.

not2easy

2:01 pm on Oct 15, 2023 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



In the Admin interface you would go to the Settings Menu, then to the General panel and you will find the place to enter the Title content. The 'tagline' is the 'right part' I believe you wish to avoid, so you can leave that empty.

For an initial setup, you might want to check into the other panels under Settings because it is difficult to make changes after there is content. Things like Permalinks should be set up before there is content.

not2easy

2:07 pm on Oct 15, 2023 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Sorry, I just noticed this is posted under PHP Server Side Scripting, not in the WordPress forum. If you are not asking about the Site Title and want the Page Title to show on a page, that is not part of the Settings file and would need additional coding for each of the templates. My instructions above are for showing the Title without a tagline.