Alicia Ramirez Logo

Posts Categorized: Code

Cryptograma – Redo

I finally converted the last of my old Flash games into React, using Next JS. For simplicity, instead of symbols, I used emojis to hide the message. It’s not perfect, but the basic functionality is there. Maybe in the future I’ll improve it. The objective of the game is to reveal the quote. Each symbol… Read more »

ScrollMagic for Beginners Tutorial

ScrollMagic is a JavaScript library for creating scroll interactions. It lets you create animations that start and stop at specific points during the scrolling of a page. It’s quite powerful, but can be intimidating for beginners, since unlike Skrollr, it’s all done in JavaScript. In this tutorial, I’ll cover the basics of adding ScrollMagic to a… Read more »

Redirect to Dashboard after login with WooCommerce enabled

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 »

How to Make a Kindle eBook from Scratch

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 »

My new best friend: ajax_query_attachments_args

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 »