I just tried to add this line
data-tippy-content="<?php echo get_post_meta($post->ID, 'Author', true); ?>"
into some php code. The result is this:
<?php
the_title( '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark" class="modal-link" data-tippy-content="'echo get_post_meta($post->ID, 'Author', true)'">', '</a>' );
?>
Any idea what I did wrong here?
The error message I got is:
Parse error: syntax error, unexpected token "echo", expecting ")"