Sometimes you want to have listed on your WordPress homepage both posts and pages. By default, WordPress only lists and paginates posts.
Continue reading “How to Include Pages into the WordPress Homepage Posts List”
Web & Mobile Development Tutorials
Sometimes you want to have listed on your WordPress homepage both posts and pages. By default, WordPress only lists and paginates posts.
Continue reading “How to Include Pages into the WordPress Homepage Posts List”
It’s really simple to convert a DateTime
from one time zone to another in PHP. Just create a DateTime
object using date & time to be converted as the first parameter and the original time zone as the second parameter. Then change the time zone to the desired one using the setTimezone
method. That’s all!
Continue reading “How to Convert Date and Time from One Time Zone to Another in PHP”