Suggesting improvements for info boxes, page title and others HTML elements
-
Hi Robert,
I use the RDP Wiki Embed plugin for months and today I tried to make improvements in the plugin to solve some of my problems. I pushed four commits on github.
First, I noticed that info boxes fetched from Wikipedia was not always identified by the CSS class named “infobox”. On the french version of Wikipedia, the class is named “infobox_v2” (https://fr.wikipedia.org/wiki/Debian) or even “infobox_v3” (https://fr.wikipedia.org/wiki/WordPress). I updated the line 92 of
bl/rdpWEContent.php
.Second, I added an option to the plugin setting page to hide or show the title on every fetched wiki pages. It’s easier for me to define this for all shortcodes I use in all WordPress posts. I don’t want to add the remove option to each shortcodes I add. I think that default settings is the best choice for this kind of option.
Third, in the same way, I created a field to add HTML elements to hide from all fetched pages. I used to include pages from some Mediawikis that use another theme than the default one. Navigation menu and footer links are not identified with same tags, ids and classes in the templates of the theme. To keep pages lean and mean, I need to specify some selectors by myself.
I published modifications on github just to show you these. It would be great if you could agree to add these options in your plugin!
Thanks.
- The topic ‘Suggesting improvements for info boxes, page title and others HTML elements’ is closed to new replies.