What is a WordPress Theme Text Domain ?

What is a WordPress Theme Text Domain ?

In this example ‘my-theme-textdomain’ is the defined as textdomain for the Theme. Text Domain is used to make the Theme translatable. (Codex reference: load_theme_textdomain()). Define the Theme’s textdomain load_theme_textdomain( 'my-theme-textdomain', TEMPLATEPATH.'/languages' ); Define translatable strings in the template. This is done using one

Setting up new hostname with WordPress database

Setting up new hostname with WordPress database

For setting up new hostname with WordPress database is required while moving site to new hostname. For this following SQL commands. In following example we are moving site with hostname dev.example.com to hostname www.example.com.

WordPress : Add new line within paragraph

WordPress : Add new line within paragraph

Use function wpautop to format text with line with html content. It changes double line-breaks in the text into HTML paragraphs