Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter yod

    (@yod)

    solved by myself.
    So, need to find public function mark_title in mark-new-posts.php (line 194)

    Change to:

    public function mark_title($title, $post_id = null) {
    
    		if (in_the_loop() || is_admin() || !$this->is_new_post($post_id)) return $title;
    		return $this->options->check_markup ? '{mnp_mark}' . $title . '{/mnp_mark}' : $this->wrap_title($title);
    	}

    to show in sidebar only or

    public function mark_title($title, $post_id = null) {
    
    		if (is_admin() || !$this->is_new_post($post_id)) return $title;
    		return $this->options->check_markup ? '{mnp_mark}' . $title . '{/mnp_mark}' : $this->wrap_title($title);
    	}

    to modify titles everywhere, except wp-admin panel.

Viewing 1 replies (of 1 total)