Parse error and syntax error
-
Hi there,
I wouldn’t call myself a novice, however I am reasonably new to using WP and building my website predominently by myself, with some assistance from my far more experienced brother. He is unavailable to help at the moment so I’m turning to the good folk here for help.
My website is almost ready to go live and in an attempt to add the social icons code via Symple-Shortcodes I now receive the following error at every menu or dashboard link:
Parse error: syntax error, unexpected ‘.’ in /home/homele14/public_html/wordpress/wp-content/plugins/symple-shortcodes/symple-shortcodes.php on line 29
I have my FTP File Manager open and have been able to locate the .php location of the file where the error seemingly appears. Here is the first 70 lines of code using Notepad++, which includes the Symple-Shortcodes-social-icon area:
<?php
/*
Plugin Name: Symple Shortcodes
Plugin URI: https://www.wpexplorer.com/symple-shortcodes
Description: A free shortcodes plugin
Author: AJ Clarke
Author URI: https://www.wpexplorer.com
Version: 1.1
License: GNU General Public License version 3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.htmlInclude functions */
require_once( dirname(__FILE__) . ‘/includes/scripts.php’ ); // Adds plugin JS and CSS
require_once( dirname(__FILE__) . ‘/includes/shortcode-functions.php’); // Main shortcode functions
require_once( dirname(__FILE__) . ‘/includes/mce/symple_shortcodes_tinymce.php’); // Add mce buttons to post editor
/*
* Plugin: Symple Shortcodes Plugin
* Author: AJ Clarke : https://wpexplorer.com
* Copyright: Copyright (c) 2012, AJ Clarke
* License: GNU General Public License version 3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*//* Clear Floats
================================================== */
.symple-clear-floats {
clear: both;
}.symple-clearfix:after {
content: “.”;
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}/* Spacing
================================================== */
.symple-spacing {
display: block;
height: auto;
margin: 0 !important;
padding: 0 !important;
background: none !important;
border: none !important;
outline: none !important;
}/* Social
================================================== */
.symple-social-icon{
display: inline-block;
margin-right: 5px;
}
.symple-social-icon img{
display: inline;
border: none;
outline: none;
padding: 0;
margin: 0;
box-shadow: none !important;
}
.symple-social-icon img:hover{
opacity: 0.8;
}According to Notepad++, line 29 is this one:
.symple-clear-floats {Can anyone help me restore it all back to a functioning site (I don’t care if for the moment I don’t have the social-icons present) or provide a working solution to include the social-icons?
Your help and advice is greatly appreciated.
Richie
- The topic ‘Parse error and syntax error’ is closed to new replies.