Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Syntax Error ( unexpected ‘user_url’ (T_STRING), expecting ‘,’ or ‘;’)

Discussion in 'Misc WordPress Requests' started by FilmBroeders, Jan 4, 2018.

  1. FilmBroeders

    Guest

    Reply To: Syntax Error ( unexpected ‘user_url’ (T_STRING), expecting ‘,’ or ‘;’), by FilmBroeders

    Hi @rajanit2000,

    Thanks for your help! But this was not the problem, After 2 hours I finally fixed it, with the code:

    echo '<div class="grav-wrap"><div class="text"><span>'
    .__('Sponsored by ', NECTAR_THEME_NAME)
    .'<a href="'
    .get_the_author_meta(user_url)
    .'">'
    .get_the_author()
    .'</a></span><br><div style="margin-top:20px"><span> '
    .__('for ',NECTAR_THEME_NAME)
    .'</span> '
    . trim( $cat_output)
    . '</div></div></div>'; ?>

    Cheers!

    Reply To: Syntax Error ( unexpected ‘user_url’ (T_STRING), expecting ‘,’ or ‘;’)
     
    #1

Share This Page

Monarch Social Sharing Plugin