Tag Info

New answers tagged

3

Did you know you can just copy paste a youtube URL onto its own line and it transforms into a video player auto-magically via oembed? There's no need for embed codes/shortcodes/plugins Simply create a blank line, and take the address of the youtube video and paste it into the editor: These youtube videos should not play automatically WordPress will pick ...


0

Answer <?php /** * Shortcode look like this. * [tweet url="http://www.yourwebsitename.com"] Twitter [/tweet] */ add_shortcode ( "tweet" , "ease_button" ); function ease_button( $atts, $content ) { extract(shortcode_atts( array( "url" => false, ), $atts )); $url = ( $atts['url'] ) ? $atts['url'] : ...



Top 50 recent answers are included