/* title to get the post title */ function getPageTitle() { global $wp_query; return get_post_title($wp_query->post->ID); } /* Add shortcode */ add_shortcode('page_title', 'getPageTitle');

Media

Magazine Sénior