New answers tagged


You can use sprintf: echo sprintf( __('Follow %s on Facebook', 'yanse'), get_bloginfo('name') );


I couldn't find an answer so I ended up providing the solution. It wasn't simple given that I am not an expert with wordpress nor with php but Wordpress documentation is great so here is the solution: // Set the post language when loading up the page based on the store meta function ppl_set_post_language() { $postID = url_to_postid( ...

Top 50 recent answers are included