tooltip plugin
-
Hi everybody .
is it possible to explain me how to use this plugin:
if you want a payment for your help,tell me a price.http://www.anuragbhateja.com/wordpress/ozakx-text-editor.html.
In this example the author use:”here i am “
for example if I want to write instead “here I am ” ,”more details” with another picture and link with tooltip effect what code I have to write?Here is the code plugin editor below.
Best,
Alex
`<?php
/*
Plugin Name: Ozakx Text Editor
Plugin URI: http://www.anuragbhateja.com/wordpress/ozakx-text-editor.html
Description: With this plugin, you can add link, tooltip, style to any word=
in the post/page/commentVersion: 1.0
Author: Anurag Bhateja
Author URI: http://www.anuragbhateja.com
*/=20
function ozakx_link_editor($text) {
/*=20
To add link use the following syntex
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
$text =3D preg_replace(‘”Word/Phrase”‘,'<b><a title=3D”Title Comes
Here” target=3D”_blank”
href=3D”http://www.yourdomain.com/link,html”>Word/Phrase
Again</b>’,$text);To add Bold with tooltip use the following
syntex=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $text =3D preg_replace(‘”Word/Ph=
rase”‘,'<b title=3D”Tootip title”>Word/Phrase Again</b>’,$text);To add Italic with tooltip use the following syntex
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $text =3D preg_replace(‘”Word/Ph=
rase”‘,'<i title=3D”Tootip title”>Word/Phrase Again</i>’,$text);To add Underline with tooltip use the following syntex
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $text =3D preg_replace(‘”Word/Ph=
rase”‘,'<u title=3D”Tootip title”>Word/Phrase Again</u>’,$text);You can also use combinations like of bold with italic and underline. A lit=
tle HTML knowledge can make you control better.*/
=C2=A0
$text =3D preg_replace(‘”Ozakx Text Editor”‘,'<u title=3D”Wordpress
Plugin Provided By Ozakx Technologies – Developed By Anurag
Bhateja”>Ozakx Text Editor</u>’,$text);=C2=A0return $text;
}
// Highlight text and comments:
add_filter(‘the_content’, ‘ozakx_link_editor’);
add_filter(‘comment_text’, ‘ozakx_link_editor’);
?>
The topic ‘tooltip plugin’ is closed to new replies.