Change image link in excerpt to point to post

Images are embedded in post content as pretty much straight HTML. <a href=”http://192.168.1.10/wp_release/wp-content/uploads/2011/01/boat.jpg”> <img src=”http://192.168.1.10/wp_release/wp-content/uploads/2011/01/boat.jpg?w=300″ alt=”” title=”boat” class=”size-medium wp-image-544″ height=”198″ width=”300″> </a> There is no easy way to alter that. You can alter it, but it means regexing the post body content or using an html parser like Simple HTML DOM Parser (Not an endorsement, … Read more

More link – not text

you can use this code; function new_excerpt_more( $more ) { return ‘ <div id=”daha”><a class=”read-more” href=”‘. get_permalink( get_the_ID() ) . ‘”>Read More</a></div>’; } add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)