Title: Widget problem
Last modified: May 16, 2021

---

# Widget problem

 *  [mouste63](https://wordpress.org/support/users/mouste63/)
 * (@mouste63)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/)
 * Hello,
    Thank you first of all for this plugin. I have two problems: – The first
   I would like to extend the number of words to more than 25 in the widget. How
   to change this figure beyond 25. I want to put the widget on a central page. –
   The link does not work because it offers me no web page although I have put the
   short code in a web page. I thank you in advance. It is especially the possibility
   of extending beyond 25 words that interests me. Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14466934)
 * Hi Mouste,
 * The widget and number of words, I assume you only set it once. You could change
   the number in the code:
    [https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/gb-widget.php#L379](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/gb-widget.php#L379)
 * You could also use the inspector in your browser and change the value of the 
   option in the select dropdown, then save it.
 * Annoying that the link is not shown.
    Last year the code was fixed for that, 
   but it might not always work apparently. What happens is that upon saving the
   page with shortcode, there is also a meta field saved. Then the dropdown gets
   filled based on a WP_Query for that meta field. Could it be you are using a very
   old version of WordPress? The piece of code is using the function `has_shortcode()`.
   What happens if you save that page again?
 *  Thread Starter [mouste63](https://wordpress.org/support/users/mouste63/)
 * (@mouste63)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14467093)
 * Thank you
    It works for the number of characters. I have the latest version of
   wordpress and it doesn’t work for the link. Is it possible to change a variable
   to decrease the reading speed in the message appearance widget?
 * thanks again
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14469776)
 * For showing which meta fields are set for the guestbook post, could you change
   this line in `functions/gb-post-meta.php` ?
    [https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/functions/gb-post-meta.php#L104](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/functions/gb-post-meta.php#L104)
 * From:
    `add_filter( 'is_protected_meta', 'gwolle_gb_is_protected_meta', 10, 3);`
   To: `add_filter( 'is_protected_meta_', 'gwolle_gb_is_protected_meta', 10, 3 );`
 * Nothing bad should happen, just that you go to edit the post which has the shortcode,
   you should be able to see the meta fields.
 * Can you tell me which shortcode you have in that post, and which meta fields 
   are shown in the metabox for meta fields?
    I am interested in meta fields `gwolle_gb_read`
   and `gwolle_gb_book_id`.
 * By the way, the next days I will be a bit slower in responding. I hope you can
   take that and not get impatient 🙂
    I don’t like bugs in this part of the code,
   since they are hard to debug.
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14469788)
 * Oh, forgot about your other question 🙂
 * I assume you use the slider in the widget?
    It is really a super simple slider
   with no real settings. You can see that here: [https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/js/sss/sss.js](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/js/sss/sss.js)
   I have no plans to offer more customizations for it, sorry.
 * What you could do is copy this file into your own plugin or theme. Dequeue the
   one from the plugin, and enqueue your own one.
 * Reference:
    [https://developer.wordpress.org/reference/functions/wp_dequeue_script/](https://developer.wordpress.org/reference/functions/wp_dequeue_script/)
   [https://developer.wordpress.org/reference/functions/wp_enqueue_script/](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
   It needs some custom code. Not tested, but it might work.
 * You could also change the file in the plugin, but every update it will be overwritten.
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14469793)
 * Or maybe better…
 * Look here:
    [https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/js/sss/sss.js#L127](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/frontend/js/sss/sss.js#L127)
 * You could copy this block of code and change it. Then in JavaScript, remove the
   linked event from `.gwolle-gb-widget-slider` and add your own with different 
   options.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Widget problem’ is closed to new replies.

 * ![](https://ps.w.org/gwolle-gb/assets/icon-256x256.png?rev=1114688)
 * [Gwolle Guestbook](https://wordpress.org/plugins/gwolle-gb/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gwolle-gb/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gwolle-gb/)
 * [Active Topics](https://wordpress.org/support/plugin/gwolle-gb/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gwolle-gb/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gwolle-gb/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/widget-problem-65/#post-14469793)
 * Status: not resolved