WordPress Translate Explaination

We have two main functions for translations, _e() and __(). The first prints the value, and the second assigns the value. As we are feeding a value to a function, we don’t print or echo (the e in the function) anything, so we use the assignment function __(). What happens is that edit_post_link will receive … Read more

Add function to add element on all page

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’);