Is there any option to turn off / disable "Contact webmaster" on page footer?
Piwigo 2.5.1 + elegant theme (default).
Regards,
Chris Lee
Offline
Hi :-)
you ca remove "Contact webmaster" for all user ?
Offline
ddtddt, can you kindly tell me how to remove it for all users? Is there any admin option or need to change the template files?
Offline
Hi :-)
1/ Go to Administration -> Plugins -> Manage
activate [extension by Piwigo Team] LocalFiles Editor
2/ Go to Administration -> plugins -> Local File Editor -> tab Plugin Personnel
Offline
<?php
/*
Plugin Name: Plugin Personnel
Version: 1.0
Description: Plugin Personnel
Plugin URI: http://piwigo.org
Author:
Author URI:
*/
add_event_handler('loc_end_page_tail', 'removecontact');
function removecontact() {
global $template;
$template->clear_assign('CONTACT_MAIL');
}
?>
Offline
3/Go to Administration -> Plugins -> Manage
activate personal plugin
Offline
It's work! Thanks!
Offline