Print guestbook entries whitout additional texts + questions about shorcuts

Home Forums Guestbook Add-On Print guestbook entries whitout additional texts + questions about shorcuts

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8705
    mjasa
    Participant

    Hello,

    By printing guestbook entries, the following lines are printed under each message :

    Modifier dans l’éditeur
    Éditer le message
    Réponse d’administrateur
    Merci de patienter…

    Can we disabled them by adding Custom CCS in wordpress ?

    Others questions :
    Is there any shortcut to display the number of messages in the guestbook in a article?
    Is there any shortcut to filter the guestbook entries by date ) for example : only the entries for the last 24 hours (or a particular date) ?

    thx !

    #8758
    Marcel Pol
    Keymaster

    Hi Mjasa,

    With version 4.5.0 of the main plugin there is now also print CSS added. Thank you for the feedback.

    For both other questions, the answer would be no. If you want that, it would require some extra programming.

    For the total entries, a shortcode would work. The next code can be put in your own plugin or in functions.php of your theme, preferably a child theme.

    function shortcode_gwolle_gb_get_total_entries() {
    	if ( function_exists( 'gwolle_gb_get_total_entries' ) ) {
    		return gwolle_gb_get_total_entries( '', array() );
    	}
    }
    add_shortcode( 'shortcode_gwolle_gb_get_total_entries', 'shortcode_gwolle_gb_get_total_entries' );
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.