Hi, how are you people?
I want to know how can i define the [fancy_image] alt value so i do not have to write it every time i publish a post. (All my post have images and i use this shortcode)
I need that the Alt=' ' for all my images get the "Post Title, Post Date"
So please, let me know if i can get this with a code, i think i have to edit the shortcode.php, i find this lines:
function webtreats_fancy_images_sc( $atts, $content = null ) {
global $post, $wpdb;
$post_title = get_the_title($post->ID);
extract(shortcode_atts(array(
'link' => '',
'target' => '',
'title' => '',
'alt' => '',
'height' => '200',
'width' => '188',
), $atts));
So, is this the code that do i have to edit? Can anyone help me with the function to show 'post title, post date' there.
Thanks you a lot!
See you.













