Do_Shortcode not working for Embed any tweet

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’] : ‘#’; return sprintf( ‘<a href=”https://wordpress.stackexchange.com/questions/192971/%s”> %s </a>’,$url, $content ); } ?>

custom COOKIE on custom page

If all you are doing is setting a cookie on a page then why the complexity? Check this out for a simple answer http://www.w3schools.com/php/func_http_setcookie.asp My only thought is that you are then trying to redirect them back to WordPress and if so you may wish to check this Setting custom cookies in WordPress I’d say … Read more

CartoDB embedding doesn’t work

1 The [iframe] custom shortcut Turns out the content from CartoDB was being blocked by Privacy Badger a browser plugin that disables trackers and other malicious content. The solution was to allow content from username.cartodb.com as in the image below The Magic “Paste and it Just Works(tm)” Method This apparently only works in the Visual … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)