Tag Info

Hot answers tagged

2

If you output the description with bloginfo(), you can use the filter bloginfo. add_filter( 'bloginfo', 'wpse183972_description_italic', 10, 2 ); function wpse183972_description_italic( $text, $show ) { if ('description' == $show) { $word = 'WordPress'; $text = preg_replace( '^(' . preg_quote( $word ) . ')^', '<em>$1</em>', ...


1

I packed everything together. Consider using wp_enqueue_script() to use the script. With this code, you will save all URLs as an array. See how I use get_post_meta() to retrieve the saved URLs. function save_custom_metabox($post_id){ if(!isset($_POST['source_post_metabox_nonce'])) : return; endif; if(!wp_verify_nonce( ...



Only top voted, non community-wiki answers of a minimum length are eligible