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!

Grab information already available in your posts. And then assign it data to a skin element using the following PHP.

1. Edit/Add an element inside the Item Skin Editor, wrapping the post data attribute in percentage characters.

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

add_filter('essgrid_post_meta_handle', 'eg_add_post_option');
add_filter('essgrid_post_meta_content', 'eg_add_post_content', 10, 4);
 
function eg_add_post_option($post_options){
 
// where 'author_id' is the attribute of the data to pull in
$post_options['author_id'] = array('name' => 'Author ID');
 
return $post_options;
 
}
 
function eg_add_post_content($meta_value, $meta, $post_id, $post){
 
// where 'author_id' is the attribute of the data to pull in
if($meta === 'author_id'){
 
$post_author_id = get_post_field( 'post_author', $post_id );
 
// return the post data value, and wrap it in any HTML you want
return '<div class="author-id">Author ID = '.$post_author_id.'</div>';
 
}
 
return $meta_value;
 
}

Popular Solutions