Front End Editor

“modify front end text editor” is not an option anywhere in WordPress. You must have a theme or plugin that’s adding this option. WordPress has no UI for modifying the editor at all. The problem is that WP Job Manager is probably not using the same ‘front end text editor’ that this theme/plugin is referring … Read more

Add text to Text Widget using Javascript

Where are you using document.write? Inside the text widget? If so, it should write text inside that widget, just like you want. document.write injects data where it’s encountered. So if you’re using it outside the document body it will produce unexpected results (like overwrite the document, in most cases). **Update, add this in your text … Read more

Weird google bot crawl problem

I have found the problem, there was a plugin activated for mobile browsers support – Smooci (WordPress on Mobiles). The plugin was enabled, and no theme chosen for it. So instead showing the default theme, the plugin, broke out my website – showing nothing/blank page on mobiles. Unfortunately the same plugin could not make the … Read more

Auto Linking Words But Only One Time

Can’t you pass limit number of replacements in str_replace? Like that $text = str_replace(array_keys($replace), $replace, $text, 1); EDIT: Sorry I was thinking about something else and missed this one. You can use preg_replace and set limit in it. Like this one. function wp_affiliate_links($text){ $replace = array( ‘/ nursery rhymes /’ => ‘ <a href=”http://www.nurseryrhymes.me/”>nursery rhymes</a> … Read more