Parse error: syntax error, unexpected ‘}’ on get_the_author_meta [closed]
Let’s unwrap it to more readable form: <?php if ( ! empty( get_the_author_meta( ‘facebook’, $part_cur_auth_obj->ID ) ) ) { ?><a href=”https://wordpress.stackexchange.com/questions/305172/<?php echo get_the_author_meta(“facebook’, $part_cur_auth_obj->ID);?>”> <i class=”fab fa-facebook-f”></i> </a><?php}?> End the last line is a problem. There are no spaces around curly bracket and it causes the error. Just change it to <?php } ?> and … Read more