Mark Smith
asked 9 years ago

I have the “Show the Author Info” checked, but the author information does NOT display in the overlay on the image slider.

1 Answers
DominicStaff
answered 9 years ago

Hello Mark Smith!
If you want to show the Author Info
Open YOUR-DIR/wp-content/themes/dw-focus/inc/widgets/dw-focus-slider.php
After line 96:

<?php
if( isset( $instance['date'] ) && $instance['date'] ) {
echo get_the_date('c');
}
?>

Add code following:

<span>- by <?php echo get_the_author(); ?></span>

Regards,
Dominic

Powered by DW Question & Answer Pro