Tag: php
Bulk delete wordpress posts
I had a project a while back which involved adding thousands of text files to a Wordpress account as new posts. In the process...
Modify Search Results for a WordPress theme
I recently modified the Search Results file (search.php) of a theme.
Where the file said: <?php the_time(get_the_time(get_option('date_format')).' - '.get_the_time(get_option('time_format'))) ?>
I replaced it with: <?php if(get_option('fusion_indexposts')=='excerpt')...
Allowed memory size of 33554432 bytes exhausted
Obviously, you need to increase the amount of memory available to the Script you're trying to run.
Add this line at the top of the...