Skip to content
IT Nursery
  • Home
  • Programming
    • PHP
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress

date-time

Formating the display of a post’s date, outside the Loop

by IT Nursery

I’m using this function to be able to retrieve several data, from outside the Loop: function get_post_data($postId) { global $wpdb; return $wpdb->get_results(“SELECT * … Read more

Tags date-time, formatting, loop

converting custom field date format

by IT Nursery

I am using the More Fields plugin which gives me the ability to create a date formatted YYYY/mm/dd and I want to convert … Read more

Tags custom-field, date-time

How do you format the date as a two digit year? (ex. “10.12.10” instead of “10.12.2010”)

by IT Nursery

I did a pretty thorough search and found a couple of closed (and unanswered) topics on the WP forums. Does anyone know if … Read more

Tags date-time

Convert a date to ISO8601 date format

by IT Nursery

This is more of a PHP question than a WordPress one. I have a custom post type event that by default outputs the … Read more

Tags date-time, php

How do I create a dynamically-updated copyright statement?

by IT Nursery

I’d like to find an optimized, WP_Query-safe method for generating a dynamically-populated copyright statement for the bottom of my themes. That is to … Read more

Tags bloginfo, copyright, date-time

Display post links under month in paginated archive

by IT Nursery

I’d like to create an archive that lists posts under a month header. The months would just be plain text and the post … Read more

Tags archives, date-time, pagination

If else statement based on date_diff value

by IT Nursery

I have a problem with dates. I need to add if-else logic to show different content. It’s based on date_diff values. And here’s … Read more

Tags date-time

filter date and time to differents time zone

by IT Nursery

Any way to filter/change the display time only on the front-end with hook? Unfortunately, I can’t adjust the timezone in General>Settings because it … Read more

Tags date-time, timestamp, timezones

How to insert current date/time in the content of a post?

by IT Nursery

I’m making a list of suggestion here. I need to insert current date/time for each of my suggestions – they are added accumulatively. … Read more

Tags date-time, posts

Query by custom dates in UNIX Time

by IT Nursery

I actually have a custom date registered in UNIX Time in my database like this: meta_key : custom_date meta_value : 1322697600 and the … Read more

Tags date-time, timestamp, wp-query
Post navigation
Older posts
Page1 Page2 … Page8 Next →

Important Tag

.net admin ajax android arrays bash c categories comments CSS custom-field custom-post-types custom-taxonomy customization database filters functions git hooks HTML images ios java javascript jQuery menus multisite MySQL node.js permalinks php plugin-development plugins posts python Shortcode sql string theme-development themes uploads users woocommerce-offtopic wp-admin wp-query

Recent Posts

  • INSTALL_FAILED_DUPLICATE_PERMISSION… C2D_MESSAGE
  • How to sort by meta value?
  • WPF text Wrap vs WrapWithOverflow
  • How to retrieve the list of all posts ever published via the feed?
  • how to use javascript Object.defineProperty

android c categories CSS custom-post-types custom-taxonomy customization database functions git HTML images java javascript jQuery multisite MySQL php plugin-development plugins posts python string theme-development wp-query

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Content from: Stack Exchange

Important Link

  • About
  • Privacy Policy

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery