For translating the date in a website, we can have different solutions. But here, I am particularly discussing about find and replace method for date translation.
Hits: 19
For translating the date in a website, we can have different solutions. But here, I am particularly discussing about find and replace method for date translation.
Hits: 19
Do you want to allow your visitor to submit contents or articles or news of their own ?
Hits: 37
If you are struggling to get the video id (i.e.v=id
) from YouTube’s URL, use the below function.
1 2 3 4 5 6 7 |
function get_youtube_video_id($youtubeUrl) { preg_match_all("#(?<=v=|v\/|vi=|vi\/|youtu.be\/)[a-zA-Z0-9_-]{11}#", $youtubeUrl, $matches); $youtubeVideoID = $matches[0][0]; return $youtubeVideoID; } $youTubeVideoID = get_youtube_video_id('https://www.youtube.com/watch?v=Zftx68K-1D4'); |
Hits: 100
If your are receiving the email on Outlook in Times New Roman, add the following code inside the head tag.
Hits: 48
To display your Instagram photos on your site, you shall generate the access token.
Hits: 3461