Add rel=lightbox to custom string

Without seeing the html output for the excerpt thumbnails it is difficult to say why your code is not working. However I would also look into str_replace (http://php.net/manual/en/function.str-replace.php) as a possible solution to your problem.

[Plugin leenk.me]modify get_the_title

“I want to modify the get_the_title function” — Do you mean you want to modify WordPress’s get_the_title(), or simply modify what it returns? If the former, I must strongly advise against it. You shouldn’t hack core files in WordPress. If you want to modify what it returns, use the the_title filter.

Is there a html tag filter for the excerpt?

You can pass in HTML formatting within custom excerpts and output it via the_excerpt() or get_the_excerpt() in your template files. Check your template files for additional custom filters added to the_excerpt() or get_the_excerpt() if the HTML formatting is removed anyway.

Can’t change excerpt length and more tag

excerpt_length filter does not work on manually added filter so you use wp_trim_excerpt function, you can develop code same as following to achieve it. <?php if( has_excerpt() ){ the_excerpt(); } else { wp_trim_excerpt(); } ?> excerpt_more does not work on WordPress version 2.8.x and Older for those versions you have to use following filter. <?php … Read more