Parse Error
-
I’m getting this error on one shortcode (both in the WP admin panel and when viewing the page as a normal viewer on the frontend). There’s no PHP in the template, either.
Parse error: syntax error, unexpected ‘}’ in /home/***/public_html/wp-content/plugins/my-shortcodes/libs/functions.php(1631) : eval()’d code on line 6
Here’s the code I have in the HTML template tab:
<div class="n-item" style="clear:both;border-bottom:1px solid #EBEBEB; padding: 30px 0 30px 0;"> <h6 style="font-size:32px;text-transform:none;line-height:33px;">{{title}}</h6> <img src="{{img}}" style="float: left;" /> <div class="n-item-meta" style="float: left; margin: 0 0 0 30px;"> {{description}} [if author] By {{author}}[/if] <a href="//pinterest.com/pin/create/button/?url=&media={{img}}&description={{title}}" data-pin-do="buttonPin" data-pin-config="none"><img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" /></a> </div> </div>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Parse Error’ is closed to new replies.