Add Link to PHP message

Add this Code in your function.php file function mito_login_message( $message ) { if ( empty($message) ){ return “<p><a href=””>hyperlink</a> Please login to continue</strong></p>”; } else { return $message; } } add_filter( ‘login_message’, ‘mito_login_message’ );

Broken Images and Style

The URL for a media item is stored in the database for that item. The URL includes the domain name. If you move a site to a new domain, the URLs in the posts database are not necessarily changed. (And there are often other items that might not be updated to the new domain name.) … Read more

Get uploaded video URL

To get the URL of a video attachment (like an MP4 file), you should use wp_get_attachment_url() and not wp_get_attachment_link() because the latter returns an HTML for an anchor linking to the attachment page or the attachment file itself: $video_url = wp_get_attachment_url( $attachment_ID ); // Sample output: https://example.com/wp-content/uploads/2020/11/video.mp4 $att_page = wp_get_attachment_link( $attachment_ID, ‘full’, true ); // … Read more

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