I have not been able to use the shortcode generator – I was getting an error message saying there was an invalid line in the sf-functions.php file. I tried uninstalling & re-installing the swift framework (I am using the latest version that came out earlier this month), and it didn’t make a difference. So, I went to the sf-functions php file, and found the faulty line foreach operation (line 2107):
foreach ( $fontello_icons as $icon){
Not knowing how to fix this directly, I removed the following code from the file, with the hopes it would fix the problem:
` // FONTELLO ICONS
$fontello_icons = get_option(‘sf_fontello_icon_codes’);
$fontello_list = ”;
foreach ( $fontello_icons as $icon){
$fontello_list .= ‘<li><i class=”icon-‘ . $icon . ‘”></i><span class=”icon-name”>’ . $icon . ‘</span></li>’;
}
$icon_list .= $fontello_list;`
—
After deleting this code, I tried to open up the shortcode generator. This time, the error message was gone, so I thought it had worked. But when you click “Insert Shortcode” nothing happens.
I found another post in support about this – but no solution was posted. Please advise.