Wp get archive only text not link

Totally trying this, how about: wp_get_archives( array( ‘type’ => ‘yearly’, ‘limit’ => 12, ‘format’ => ‘custom’, ‘before’ => ‘<span class=”year”>’, ‘after’ => ‘</span>’ ) );

How to use WP_rewrite?

WordPress generates its .htaccess rules by WP_Rewrite->mod_rewrite_rules() method. It passes output through the mod_rewrite_rules filter, which allows you to edit it. To make the new rules be written you will also need to call “hard” reset with flush_rewrite_rules( true ) call.

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