Function Reference/bloginfo. Languages: English • Türkçe • 日本語 • Português do Brasil • 中文(简体) • Русский • (Add your language) Description Displays information about your site, mostly gathered from the information you supply in your User Profile and General Settings WordPress Administration Screens. It can be used anywhere within a template file. This always prints a result to the browser. If you need the values for use in PHP, use get_bloginfo(). Usage Parameters $show (string) (Optional) Keyword naming the information you want. Default: name 'name' - Displays the "Site Title" set in Settings > General. Examples Show Blog Title Displays your blog's title in a <h1>tag. Show Blog Title in Link Displays your blog's title in a link.
<a href="<? Show Character Set Displays the character set your blog is using (e.g. NOTE: In version 3.5 and later, default character encoding is set to UTF-8 and is not configurable from the Administration Screen. <p>Character set: <? Show Blog Description Example output Notes Uses: get_bloginfo() Change Log. The header.php - What Needs to Go in It and What Doesn't. In this tutorial, let's talk about the header.php, an essential file for any WordPress theme. I'll show you a nice header file example and give tips about what needs to go in it and what doesn't. Step 1: Introduction The first thing that you need know about the header.php file is your function.
But, we have more than a logo and menu in this file, we also have the head tag and lots of other tags, like: link, script, meta and title. I've written an example header.php file, I've tried to create a file as full as possible, but feel free to comment on this tutorial giving tips about the file. Remember that your header is all content that is shown on all the pages of your site. If an element is shown only on a specific page, you need to re-think if this element really must be inside your header. Let's work and I hope that you like it! Step 2: The Final Code Here you can get the final code to use in your theme. The steps below will talk about the code used and you'll learn why to use it.
Doctype. The header.php - What Needs to Go in It and What Doesn't. Reverie: Versatile HTML5 WordPress Framework | ThemeFortress. The Top 10 WordPress Theme Frameworks. Vendors who are part of the IAB TCF935Reject allAccept all Purposes (Consent):Store and/or access information on a deviceCreate profiles for personalised advertisingUse profiles to select personalised advertisingPurposes (Legitimate Interest):Use limited data to select advertisingMeasure advertising performanceUnderstand audiences through statistics or combinations of data from different sourcesDevelop and improve servicesSpecial Purposes:Ensure security, prevent and detect fraud, and fix errorsDeliver and present advertising and contentSave and communicate privacy choicesCategories of data:IP addressesDevice characteristicsDevice identifiersProbabilistic identifiersBrowsing and interaction dataUser-provided dataNon-precise location dataUsers’ profilesPrivacy choicesData Retention Period:31 daysYour Consent:Consent expiry: 5 years 1 dayCookie expiry may be refreshed during the lifetime.Tracking method: Cookies onlyShow details.