Absolute Happiness – WordPress Plugin

Absolute Happiness Banner

About the Plugin

This plugin is based on the book The Happiness Advantage by Shawn Achor and looks to help you achieve the Happiness Advantage by training your brain to scan for the positive first giving you a boost in problem solving and creative thinking.

This plugin is based on the book The Happiness Advantage by Shawn Achor. If reading is not so much your thing check out Achor’s funny and informative Ted Talk about how your happiness affects your work. I also suggest that you head over to Twitter and give Achor a follow.

A Note: For now, this plugin takes over the standard post post-type in the future I hope to make it so that it can be switched to take over the post post-type or create its own post-type.

Why Bother?

“the lens through which your brain views the world that shapes your reality. And if we can change the lens, not only can we change your happiness, we can change every single educational and business outcome at the same time.” -Shawn Archer
  • Happy doctors┬áhave 3x more intelligence and creativity and make accurate diagnosis 19% faster
  • Optimistic sales people out sell their pessimistic counterparts by 56%
  • Students primed to feel happy before┬átaking math achievement tests far outperform their neutral piers.

We each have a happiness baseline that we fluctuate around daily.
The following things contribute to that happiness:

  • Pursuing meaningful life goals.
  • Scanning the world for opportunities.
  • Cultivating an optimistic and Grateful Mindset.
  • Holding on to rich social relationships.
  • Focusing on, and living in small momentary blips of happiness and positivity.
  • Think about a personal activity that boosts your happiness – and do it!

So how does this plugin help me?

  • 3 Gratitudes – List out three things that they are grateful for each day, not specifically from the last 24 hours, but anything at all that you can think of. Doing this as a daily exercise your brain will learn to scan the world for the positives first.
  • Journaling – Write about 1 positive experience from the last 24 hours this allows you to relive it. This activity, much like the first one, trains your brain to think about and focus on the positives first.
  • Exercise – Teach you and your body that your behavior matters.
  • Meditation – 5 minutes each day to watch your breath go in and out, when doing this, try to remain patient and if you feel your mind drifting bring it back to focus. this will take practice, but it is one of the most powerful happiness lifters. Shortly after meditation you will feel calm and contentment and you will increase your awareness and empathy. Longer term affects of regular meditation include the rewiring of the brain to elevate your happiness baseline, reduce stress, and improve immune function.
  • Conscious Acts of Kindness – Write 1 positive email praising or thanking someone in their social support network. Alternatively plan and carry out one positive act for someone in your social network, then write about it here, reflect on what you did and how it made you and the recipient of your positive act feel.

Absolute Happiness – Plugin

Plugin Information

Custom Post Metadata

The following metadata is added to the default post.

3 Gratitudes

Metadata Name Input Type Escaped As Use
abh-gratitude-one text esc_html Contains Users First Daily Gratitude.
abh-gratitude-two text esc_html Contains Users Second Daily Gratitude.
abh-gratitude-three text esc_html Contains Users Third Daily Gratitude.


Metadata Name Input Type Escaped As Use
abh-journal wysiwyg wp_kses Contains one positive experience from the user’s day.


Metadata Name Input Type Escaped As Use
abh-exercise-toggle checkbox - Did the user exercise today?
abh-exercise-info textarea esc_textarea Contains any positive information about the user’s daily exercise.


Metadata Name Input Type Escaped As Use
abh-meditation-toggle checkbox - Did the user meditate today?
abh-meditation-info textarea esc_textarea Contains any positive information about the user’s daily meditation.

Conscious Acts of Kindness

Metadata Name Input Type Escaped As Use
abh-kindness-email-toggle checkbox - Does the user want to write someone an email, or talk about one nice thing they consciously did for someone today?
abh-kindness-email-name text wp_kses Contains name of recipient
abh-kindness-email-address email sanitize_email Contains email of recipient.
abh-kindness-email-subject text wp_kses Contains email subject.
abh-kindness-email-content textarea wp_kses Contains email content.
abh-kindness-email-show-everyone-toggle checkbox - Does the user want to show it to everyone who views the blog checked or do they just want to show it to themselves when they view the blog unchecked (default).
abh-kindness-act textarea esc_textarea Contains a description of the conscious act of kindness.


Name Type Description
abh_email_subject Filter Allows user to change the default subject of the email.