- Sold between 250 000 and 1 000 000 dollars
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Microlancer Beta Tester
- Author was Featured
- Bought between 50 and 99 items
- Referred between 50 and 99 users
Hey Smuliii,
I am using too similar function with your function. and i did not find better function, yet
i have tried a lot of functions, but this functions is better than others. RAW feature is good. hope we find another solutions…
- Sold between 100 000 and 250 000 dollars
- Won a Competition
- Author was Featured
- Item was Featured
- Referred between 500 and 999 users
- Author had a Free File of the Month
- Author had a File in an Envato Bundle
- Bought between 10 and 49 items
The following is a custom filter we created to solve the same issue in our themes, feel free to use if it works for you as well:
https://gist.github.com/4555047pixelentity saidHooray, this works!
The following is a custom filter we created to solve the same issue in our themes, feel free to use if it works for you as well: https://gist.github.com/4555047
I really can’t say what’s the difference between mine and your code (since they both modify ‘the_content‘) but if this is accepted, I’ll start using it then.
Thanks for the code!
- Sold between 100 000 and 250 000 dollars
- Won a Competition
- Author was Featured
- Item was Featured
- Referred between 500 and 999 users
- Author had a Free File of the Month
- Author had a File in an Envato Bundle
- Bought between 10 and 49 items
Smuliii saidyou’re right, doesn’t require the extra “[raw]” but the principle is the same: it only gets applied where it should and leaves native/plugin defined shortcodes untouched.
I really can’t say what’s the difference between mine and your code (since they both modify ‘the_content‘) but if this is accepted, I’ll start using it then.
We use in all our themes, only thing is we always include a note in “reviewer info” box to explain how it works just to be safe.
BF
Yep it got approved! So thanks again! 
Smuliii said
Yep it got approved! So thanks again!![]()
Dear Smuliii.. Can you explain how to solve it manually? I’ve got the fixer code at https://gist.github.com/4555047 but don’t understand where should i insert this code?
Best regards,
nizaar
nizaar saidWell it really doesn’t matter, so just put it in your functions.php file.
Dear Smuliii.. Can you explain how to solve it manually? I’ve got the fixer code at https://gist.github.com/4555047 but don’t understand where should i insert this code?Best regards,
nizaar
@ Smuliii Thanks a lot Smuliii.. I’m not a PHP-addict, does it only need to paste the code in the end of functions.php? Or how?
nizaar saidYep, and of course you want to change the shortcodes.
@ Smuliii Thanks a lot Smuliii.. I’m not a PHP-addict, does it only need to paste the code in the end of functions.php? Or how?
So will the next release of SmartStartWP have this changed function and require that we modify all of our existing [raw] tags to something else in all of our existing content? Cuz I have 40,000 pages. Just kidding, but curious if I’ll have to change them. 
If so that’s OK I’m sure you’ll put it in the documentation, hopefully people will read it when upgrading!
