well that br are required to see the tooltip text in a fancy view.
i can see a website with this problem?
I also found the extra
really annoying. I dealt with it by hiding them using CSS: .glossary-tooltip br {display: none;}
Thread Starter
dlx
(@deeluuxe)
Unfortunately I can´t provide a link to the site because it´s on a private dev server.
But here are some screenshots:
http://deeluuxe.com/downloads/glossary_01.png
(no tooltips enabled)
http://deeluuxe.com/downloads/glossary_02.png
(tooltips enabled, classic style)
http://deeluuxe.com/downloads/glossary_03.png
(mouse points on “designer Konrad”)
Here you also see it´s not possible to click on the More-link in the tooltip because it closes when you try to get there)
Hope this helps a little!
Thread Starter
dlx
(@deeluuxe)
@dpgrant: Thanks for sharing the CSS – works fine!
Found a small issue:
– Alphabetical order does not work
(page 1 displays T to A, page 2 displays Z to U)
http://gruss-aus-berlin.com/glossary/
Feature requests:
– add page / post id(s) to bypass linking to the gallery on some pages
– edit the slug for “glossary”-page
– move the settings to be displayed as an item under ../wp-admin/options-general.php so the main menu stays a little more clean
I’ve already created few tickets on github about that requests (https://github.com/CodeAtCode/Glossary/issues) but i prefer that for support we not go in offtopic mode.
Thank you for the screen, in our theme used during the development we don’t find this problems, we continue to study that problem but in case the theme is downloadable?
Thread Starter
dlx
(@deeluuxe)
Ok, sorry for being offtopic – I´m not familiar using github…
The theme that´s used is Enfold: http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990
(more than 91.000 purchases so far)
So our plugin don’t insert the br maybe it is the theme or that point where it is executed something that add br.
The 1.1.0 will contain this css fix on hold of other informations
I believe that the unwanted <br> tags are generated by all of the \ns in your public function tooltip_html().
You are right, wpautop and the \n can have this problems.
The 1.1.0 will don’t have the \n in the code 🙂
Glad to help. I love this plugin.
Thread Starter
dlx
(@deeluuxe)
Tried version 1.1.0 but the plugin causes a fatal error:
Warning: require_once(../wp-content/plugins/glossary-by-codeat/includes/functions.php): failed to open stream: No such file or directory in /mnt/web021/e2/76/52546876/…/wp-content/plugins/glossary-by-codeat/glossary.php on line 34 Fatal error: require_once(): Failed opening required ‘../wp-content/plugins/glossary-by-codeat/includes/functions.php’
Dammit, I hate svn…
I have uploaded that missing files, download again the plugin and sorry for the disturb!
Thread Starter
dlx
(@deeluuxe)
Ok, fatal error is gone. 🙂
Some links are still broken:
<a href="http://gruss-aus-<a">berlin</a>