The Worlds Most Powerful
WordPress Builder

If you Purchased & Registered a Slider Revolution License you can comfortably upgrade version 5.x to 6.0 from your WordPress Dashboard.

Why Activate Slider Revolution?

Activating Slider Revolution with your Personal Purchase Code will unlock all available Features.

Easy Live Updates
Personal License Key
200+ Template Library
1000+ Object Library
25+ Amazing Add-Ons
1on1 Ticket Support

*Regular License from $29. One License Key required per Domain.

Slider Revolution 6.0 NOW available!

Create a shortcode using PHP and a PHP function that can read the Post ID and returns anything into the grid item.

The example below will show you how to create a shortcode that displays a date on the grid items with different date format.

1. Add the following code to your theme's "functions.php" file.

function tp_custom_shortcode( $atts ) {
    $p = shortcode_atts( array(
        'id' => 0
    ), $atts );
 
//set your preferred time format https://codex.wordpress.org/Formatting_Date_and_Time
$h_time = get_post_time( 'l, F j, Y', false, $p['id'] );
 
return $h_time;
 
}
add_shortcode( 'custom_time_format', 'tp_custom_shortcode' );

2. Edit the grid skin and insert the shortcode into a Text/HTML layer.

[custom_time_format id=%post_id%]

Popular Solutions