91 F
Los Angeles
Wednesday, July 24, 2024

Trump Lawyer Resigns One Day Before Trial To Begin

Joseph Tacopina has filed with the courts that he will not represent Donald J. Trump. The E. Jean Carroll civil case is schedule to begin Tuesday January 16,...

Judge Lewis A. Kaplan Issues Order RE Postponement

On May 9, 2023, a jury found Donald J. Trump liable for sexual assault and defamation. The jury awarded Ms. Carroll $5 million in damages. Seven months ago,...

ASUS Announces 2023 Vivobook Classic Series

On April 7, 2023, ASUS introduced five new models in the 2023 Vivobook Classic series of laptops. The top laptops in the series use the 13th Gen Intel® Core™...
TechnologyWebdesignNewspaper Theme: Show Category Names on Posts and Pages

Newspaper Theme: Show Category Names on Posts and Pages

The Newspaper theme for WordPress is very versatile, however, by default the header text option only shows the blog title. Modifying the logo-text.php file added the ability to show the category name at the top of posts and pages. The pages show the title of the parent page.

The featured image in this post shows the category name for the Penguin Flight Log.

[pastacode lang=”php” path_id=”6d78c059b6e12a5f62222c89e872ca09″ file=”” highlight=”” lines=”” provider=”gist”/]

Please let me know if you see an error or have a suggestion on how to improve the code. Feel free to use or modify on your own site.

Layne Heinyhttp://www.layneheiny.com
LPH is a high school physics teacher interested in the Apple iPad and iPhone, Microsoft Surface, Tablet PCs, and other mobile devices. He resides with one large dog who begs for pizza, hamburgers, French fries, and anything else on the dinner table.

Latest news

Related news

Comments are closed.