I would like to add a function to add for example a link in the top and in the bottom of all my pages. The best would be to create a plugin in order to activate or disable it.
Thank you so much.
To do this you have to create a function in your plugin. To have it display only to logged in users use:
if (is_user_logged_in()) {
then use the wp_head and wp_footer links to add actions to display the link you want, ie:
add_action('wp_head','your_function');
add_action('wp_footer', 'your_function');
wp_head
andwp_footer
hooks ? Please add all that extra info into the question itself.