RuSi

Freelance frontend developer

Work

Project: Integrity Unit by Quest

Agency: Mediablaze Group London

Role: Frontend Developer

Duration: Short Term/Project Completion


About

A hand-coded ground-up theme for use with WordPress, created from designs provided through Zeplin.

Highlights

This was a challenging project in certain ways:

  • We found out that a popular WordPress plugin by default did not allow use of the redirect_to parameter in certain cases. After exploring all options, I decided the best course of action was to open a pull request to resolve this.
    • Through this process, I also learned how to create a custom filter in WordPress — an incredibly simple task, surprisingly.
  • Having found much joy with lftp on my personal tasks, it came in handy with certain parts of the deploy process and was documented in the project docs.
  • A basic user interface was requested for certain administrative tasks. I learned of WP_List_Table but a pragmatic decision was taken to not use an internal WordPress class specifically marked as private and undesirable for plugin/theme use. Longetivity was of importance!

    This class’s access is marked as private. That means it is not intended for use by plugin and theme developers as it is subject to change without warning in any future WordPress release. If you would still like to make use of the class, you should make a copy to use and distribute with your own project, or else use it at your own risk.

  • As an added bonus, I learned of far too many PHP’s and WordPress’ in-built functions - ranging from operations on arrays to working on $_REQUEST superglobals, or rawurlencode/rawurldecode for a JavaScript compatible (decodeURI/encodeURI) URL handling, or in the case of WordPress, very handy functions such as trailingslashit/untrailingslashit or debugging functions such as error_log.
  • The CSS framework used was upgraded to a more recent but project-constraint-compatible release in the build process employed.