I recently worked on a WordPress project to make a site for an exhibition event (vendors in booths gathered in one place). The client wanted to have floor map that would show which booths were taken, and which were still available (there were over 130 booths). Normally, this would require a graphic that would have… Read more »
Posts Categorized: Code
Recently, I had to work on a site that had a few things going on: It had some users with custom roles, and capabilities Those users had a simplified dashboard WooCommerce was enabled. The problem was that when those users logged in, WooCommerce would redirect them to the “My Account” page, instead of their simplified dashboard…. Read more »
Update (Sept. 11, 2015): The character set for Kindle eBooks is now UTF-8. And recommends using the UTF-8 character over entities (© over ©). There are many ways to create a Kindle eBook, but creating your own source files, and then using KindleGen to convert it into Kindle Format 8 will give you more control… Read more »
Update (10/11/2016): I added some escaping to the examples. Better safe than sorry. When creating an image custom field in Advanced Custom Fields, it gives you the option of setting the “Return Value” as an “Image Object”.
I’m working on a site were users will have extra fields in their profiles, among them, a user picture. To achieve this, I used Advanced Custom Fields. Easy peasy lemon squeezy! The problem was that when a user went to upload or chose a file for their picture profile, it showed all media files, from… Read more »