Adding class to add/remove link
-
Hey,
I’ve added a class to the add/remove link for css styling perposes.
I changed the line 155 in wp-favorite-posts.php from
$link = "<a class='wpfp-link' href='?wpfpaction=".$action."&postid=". $post_id . "' title='". $opt ."' rel='nofollow'>". $opt ."</a>";
to
$link = "<a class='wpfp-link ".$action."' href='?wpfpaction=".$action."&postid=". $post_id . "' title='". $opt ."' rel='nofollow'>". $opt ."</a>";
It would be great if you could use this code in your plugin, so I don’t always have to fix it, when updating the plugin. Thank you!
Regards,
René
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding class to add/remove link’ is closed to new replies.