Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * This is where you can copy and paste your functions !
- */
- add_action('wp_head','my_analytics',1,20);
- function my_analytics() {
- .............
- }
- add_filter('get_comment_author_link', 'gkp_remove_nofollow');
- add_filter('comment_text', 'gkp_remove_nofollow');
- function gkp_remove_nofollow( $text ) {
- $text = str_replace("rel='external nofollow'", "rel='external'", $text);
- $text = str_replace('rel="nofollow"', '', $text);
- return $text;
- }
- function widget_area_404() {
- register_sidebar( array(
- 'name' => '404 Page',
- 'id' => '404',
- 'description' => __( 'Widgets placed here will be shown on the 404 Not Found.' ),
- 'before_widget' => '<div class="et_pb_post">',
- 'after_widget' => '</div>',
- 'before_title' => '<h4 class="widgettitle">',
- 'after_title' => '</h4>',
- ) );
- }
- add_action( 'widgets_init', 'widget_area_404' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement