0
votes
1answer
40 views

Auto Linking Words But Only One Time

I highly need a piece of code which will replace a simple word with a hypertext link, using str_replace method. And fortunately I found this code below, but the problem is that it repeats the link ...
0
votes
1answer
69 views

Replace text in excerpt

I have a separate theme for my custom WP install that will be use for mobile users, in my case I need to change an html tag in all the excerpt instances but without altering the DB, I found this ...
2
votes
1answer
154 views

Global, network-wide shortcodes or text replace functions

What I'm trying to achieve is a simple text-replace functions, that would be available to any site in my Wordpress Network. Basically I want to: Change [--] into — (—), Be able to ...
1
vote
1answer
412 views

printf and _n in this example?

what is the last $count in this example? printf( _n( 'You have published %s post.', 'You have published %s posts.', $count, 'myplugin' ), $count ); i guess the first one is to fill each ...