some profile informations like youtube link doesnt seem

Your reply to gregory24 isn’t really explicit enough I’m afraid.. The reason you can display a FontAwesome icon without the if statement is only because this html <span class=”fa fa-youtube”>…</span> is loaded into the DOM of you page meanwhile your $youtube_profile variable is likely containing some value but your statement is wrong. this should work … Read more

Modify content inside post before first publish

You should use save_post like the following: function modifyOnPost( $post_id ) { $post = get_post($post_id); //do stuff here before your post is created or updated } add_action( ‘save_post’, ‘modifyOnPost’ ); Read more here. Update: To give a deeper solution you could use wp_update_post( $post, $wp_error ); inside the modifyOnPost block to manipulate your post data.

Set URL Parameter Post Layout As Default

I want this to apply to all posts First off, making the content query string defaults to onepage is actually equivalent to enabling the onepage() for all URLs/pages. And for example to enable it by default on single post pages only (for any post types), then you can replace this: if( empty( $_GET[“content”] ) || … Read more