May 14, 2015

New function added to handle Word Bookmarks

Above is the new Bookmarks function that I added yesterday.  As a rule, we rarely (if at all) use bookmarks in our Documentation Team, so that’s why this function is a little late in making an appearance within the add-in.

The function displays all all the current bookmarks. You can then:


a) Hide/Show individual bookmarks, or Hide/Show them all.
b) Remove individual bookmarks, or remove all of them.
c) Toggle a yellow highlight appearing behind the bookmark, or highlight them all.

I need to add a ‘Remove All Highlights’ button to the above WIP version of the GUI and maybe add a drop-down list to allow you to select the colour of the highlight, but there’s no guarantee on that latter function.

Finally, the buttons need lining up before one of my colleagues raises it as a ‘bug’ 🙂

Fatal error: Uncaught Error: [] operator not supported for strings in /home/mikestoo/public_html/wp-content/themes/layerswp-master/core/helpers/post.php:62 Stack trace: #0 /home/mikestoo/public_html/wp-content/themes/layerswp-master/partials/content-single.php(79): layers_post_meta(198) #1 /home/mikestoo/public_html/wp-includes/template.php(724): require('/home/mikestoo/...') #2 /home/mikestoo/public_html/wp-includes/template.php(671): load_template('/home/mikestoo/...', false) #3 /home/mikestoo/public_html/wp-includes/general-template.php(168): locate_template(Array, true, false) #4 /home/mikestoo/public_html/wp-content/themes/layerswp-master/single.php(20): get_template_part('partials/conten...', 'single') #5 /home/mikestoo/public_html/wp-includes/template-loader.php(78): include('/home/mikestoo/...') #6 /home/mikestoo/public_html/wp-blog-header.php(19): require_once('/home/mikestoo/...') #7 /home/mikestoo/public_html/index.php(17): require('/home/mikestoo/...') #8 {main} thrown in /home/mikestoo/public_html/wp-content/themes/layerswp-master/core/helpers/post.php on line 62