Showing 5 Result(s)

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 of a few translation functions: __() (for returned strings), _e() (for echoed strings), and _x()/_ex() …

Get wordpress post content by post id

To get wordpress post content by post id use WordPress function get_post() with post id as parameter.

Using WP-CLI : A Command line interface for WordPress

WP-CLI – A command line interface for WordPress is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser. Setting up path for mysql command (For MAC OS Terminal) export PATH=$PATH:/Applications/MAMP/bin/apache2/bin/mysql Configure wp-config.php file at core WordPress wp core config --dbname=woo --dbuser=root --dbpass=root --dbhost= Start installation of WordPress for …