Checking the documentation from popup ninja plugin on how to open the popup from a link, the only available option is how to open from a blog post. But if you want to add the link in your website using php, you need to use the wordpress function do_shortcode. The documentation doesn’t show how to add a do_shortcode with content between the tags.
To open the popup with php, simply get the popup ID and use the code bellow. Just remember to change the text for your desired one.
< ?php echo do_shortcode( '[ninja-popup ID=1234]'.'text to open popup'.'[/ninja-popup]' ); ?>
During my first semester of Electrical Engineering back in 2007, I had an introduction to electronics class where by the end of the semester we had to develop an open project. At first I tried to build a AM radio using only passive components, I remember that after hours placing components on the breadboard I managed to make it work, but it was really inconsistent and super noisy. The project was working, but it wasn’t as good as I wanted, so I decided to build something else, something that could be actually useful, that when the metronome idea came alive. Using a few components and a 555 IC I could make the circuit “tick” in a frequency that can be used your music studies.
What if you could manufacture a very simple development board that is arduino compatible and have a final price of only ONE DOLLAR!? That’s what some crazy guys from my home country (Brazil) are trying to accomplish.
The main idea of the project is to enable every kid around the globe to leave school knowing how to program, the basic of electronics, and how to apply their knowledge by building cool things. Think like this, with only $25 you can buy 25 boards, which will enable pretty much an entire classroom to own these boards and create amazing things with it. It’s crazy to think the impact that the project can make in poorer areas of the world, enabling those engineering minds to flourish and change the world for better (why not?!).
Check their indiegogo video below and remember that for every dollar invested is one entire new board built!
Hey guys, this is a quick post where I want to share a great podcast that I listen all the time called “The Amp Hour“.
Quoted from their about page: “Dave Jones from the EEVblog in Sydney (Australia), and Chris Gammell from Contextual Electronics in Cleveland (USA) discuss the world of electronics design in an hour long(ish) weekly show, recorded “live” without editing or a mute button!”
If you are into electronics (which obviously I am), it’s a much listen show!
Check it out on the link below 🙂
I moved to Berlin a few months ago to start working as Lead Electronics Engineer at UNU Motors. As soon as I found my own place (after spending three months apartment hunting), I decided to buy a good audio monitor, so I could listen to music and watch videos with a decent audio quality. My choice was a BX5 M-Audio audio monitor, great speaker at a very good price. The only annoying thing is that every time I wanted to listen music from my computer, I had to take the P2 plug from the RaspberryPi (running OSMC) and connect to my mac, and vice versa… To fix this problem, I decided to make a small PCB where I can plug everything together and then flip a switch to toggle inputs.