Solved for WordPress old and new versions – PHP Fatal error: Allowed memory size of 33554432 bytes exhausted

Solved for Wordpress old and new versions - PHP Fatal error: Allowed memory size of 33554432 bytes exhausted

We got always following ERROR PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10485761 bytes) in This issue with old and new wordpress versions both. First you need to increase memory limit for your php … Continue reading

How to show some posts to only registered users in wordpress

How to show some posts to only registered users in wordpress

Some people want to show selected posts to only registered users in site. You can easily achieve this. You just need to create public and private category and publish your selected posts in private category. Use the following code in index.php … Continue reading

Limit excerpt length by characters in wordpress

Limit excerpt length by characters in wordpress

I already written about this in following article. But some people need the more advanced excerpt. http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/ First open your functions.php file and put following code in that file. Use this function if you’re planning on using it more than … Continue reading