wp_enqueue_script( 'my_js_library', get_template_directory_uri() . '/js/myLibrary.js' );
$dataToBePassed = array(
'home' => get_stylesheet_directory_uri(),
'pleaseWaitLabel' => __( 'Please wait...', 'default' )
wp_localize_script( 'my_js_library', 'php_vars', $datatoBePassed );
UPDATE: I had to use this example instead from Pippins Plugins: Use wp_localize_script, It Is Awesome
“WeWork’s Adam Neumann talks with Connie Loizos about building operating systems for buildings, selling services, and building partnerships.”
I’ve been doing my remote work at WeWork and I’ve been enjoying having a very cool working space where not only I can network with others but also have interesting views from the city.
I had to take my bike to a bike shop today. And I found myself having childhood memories as the smell of the bike shop almost transported me to those days when I was a BMX fan and I used to have my dad take me to the bike shops and get it fixed.
Interesting how certain smells trigger memories. I wondered if someone could come up with a lotion/perfume that would smell like a bike shop as they did with the smell of a new Apple product if I am not mistaken.
I’m really thinking about going back to Bikram Yoga as I need to manage to remove some mercury from my body due to having mercury fillings in my teeth since I was 12! … Ouch!
There is something about this time lapse video that I love:
Quality over quantity is going to be soon the (only) way to be. I dare to say that everyone is trying to maximize and scale and grow. A result of the industrial revolution over these past years, as I call it. Quality is the key, and when I find people doing this, I can’t help but applaud that approach as well as many other things that I was able to listen in this podcast episode.
I prefer to take one at a time so I can focus fully on you and your mission.
It’s been a couple of years now since I found The Good Life Project. I’ve seen some interesting interviews here and there. The value I am getting out of this podcast has been surprising me. But perhaps more importantly, I find myself reflecting on how much I resonate with a lot of the things that are said. It is an interesting connection and I am sure I will go back to this post and listen to this again later in the future.
About 12 years ago, I used to ponder about the huge potential that social media would cause when everyone would embrace it. Even back then working remote was a dream that would not seem to be reachable in practical terms.
Just a few years later, it has become more often to find people that are completely embracing exploring the unknown by traveling and at the same time making a living.
Today I found this “How To Travel The World As A Social Media Influencer” post where I found interesting things on this topic like:
Meet today’s traveling social media influencers, a growing wave of savvy professionals who have quit their full-time jobs, left their homes, pared down most of their belongings to the essentials and who now spend their days traveling the world and sharing their experiences with the followers they’ve amassed.
I didn’t quit my job. But for some health issues I needed to take care of, I ended up being a remote worker. Perhaps by accident or perhaps my destiny, one day I will know for sure.
The future is here. The dreams that a few years ago seemed impossible, are just a few clicks away and of course, one decision away!
I feel I could write way more on the topic, perhaps traveling and being a digital nomad has become a passion that I am more than happy to continue to cultivate.
This reminds me of something I recently shared about Digital Nomads & Travel on my “Links we talked about” blog.
Turns out, today I ended up here in Palo Alto. I had a good coffee at Peet’s Coffee and I was actually surprised to find that it is in fact cheaper than Starbucks.
After some googling, I found out a few interesting things that are so close to where I am right now.
- Computer History Museum
- Linked In
- Google Plex
- Apple Store Palo Alto (need to have an appt. at the genius bar)
- Hewlett Packard Garage (where their story began)
- Hoover Tower at Standford University
- Best Buy (need to come back for some help with my cell phone options)
This should fill my day today …. we’ll see how the exploration goes, I am afraid I will get lost in time quite a bit today!
Now that I am doing more coding in WordPress, I am digging into this (basic) things that are necessary to have as a good reference.
It depends how often I will need this. But, sometimes I can’t remember what exactly I googled that took me to that one article/post that explained it in the way I wanted it.
So, here is … How to Properly Add jQuery Scripts to WordPress
Having said that. Here is the code I am planning to use with which I will be able to remove certain elements that are not necessary. Even based on the roles and permissions of the user.