I had an interesting problem yesterday. We wanted to make a new frontpage for a WordPress site. The frontpage has need the same layout than the category listing page. We used the same code, what called the loop.php to show the posts, and everything was good, except one “small” thing. The WordPress worked differently if we called a category listing page, than on the frontpage. (more…)
I had to change the AWPCP plugin to be able to search for partial words too. Originally the plugin gives two way to start search. These way are the search page, and the search plugin. But now, I had to make a new way, to search from another form, and had to change the dosearch function to be able to search partial words too, not only in the ad_title and ad_details fields, but in an additional field too, what added with the AWPCP Extra Fields module.
For this changes you need to alter the awpcp.php file. (wp-content/plugins/another-wordpress-classifieds-plugin/awpcp.php)




















