ASP.NET renders CheckBox control inside span if CssClass is set

I added an ASP.NET CheckBox control to a form I was creating and was surprised to see the following unexpected html rendered when CssClass property was set for the control: ASP.NET code: Rendered HTML: I tried adding the class attribute to the control’s Attributes collection in code-behind without success. Finally, after reading StackOverflow and MSDN, …

Continue reading

How To Merge Your .Po File With New .Pot File From Vendor

I’ve seen a number of people complain on ThemeForest and StackOverflow about losing their translations when vendors (read theme or plugin developers) release new versions of language .pot files for their products. If you have translated a product .pot file into a .po file for your locale, and the product vendor releases a new version …

Continue reading

Recreate WooCommerce Pages

When you first install WooCommerce you see a site-wide notice instructing you to install specific Pages required by WooCommerce to function properly. But, what if you want to recreate or create these pages from scratch?

Continue reading

How To Modify WordPress Search Widget

I am currently creating a custom WordPress theme. I had the HTML/CSS built first and I am in the process of converting it into theme compatible code. One of the problems I had to solve was displaying custom search form html in a WordPress sidebar.

Continue reading

Custom post type archive pagination showing 404 error

I recently ran into an error while creating an archive page for a WordPress custom post type that had me really stumped. The archive page for the custom post type showed a 404 error when an existing paginated page was meant to be shown in its place. Say you create a custom post type called …

Continue reading