Hi, what does isconvert="1" do? I cannot find it via Google
Maybe you can use the GS Shortcodes plugin, using function addlink which you can find in the shortcodes.sample.php.
Then changing it to something like this:
You have to copy above code to file shortcodes.php.
you get a shortcode that looks like:
Maybe you can use the GS Shortcodes plugin, using function addlink which you can find in the shortcodes.sample.php.
Then changing it to something like this:
Code:
function addlink($atts, $content = null){
extract(shortcode_atts(array(
"src" => null,
"class" => null,
"id" => null,
"isconvert" => null
), $atts));
$class = isset($class) ? " class='".$class."'" : '';
$id = isset($id) ? " id='".$id."'" : '';
$src = isset($src) ? " href='".$src."' " : 'src="http://" ';
$isconvert = isset($isconvert) ? " isconvert='".$isconvert."'" : '';
return '<a '.$src.$id.$class.$isconvert.' >'. do_shortcode($content).'</a>';
}
add_shortcode('link','addLink', '[link src="" class="" id="" isconvert=""]content[/link]');
You have to copy above code to file shortcodes.php.
you get a shortcode that looks like:
Code:
[link src='' class='' id='' isconvert=''][/link]