idog

Create Shortcodes for Color Buttons With Links

create shortcode

Bootstrap buttons are great, but for some reasons they don’t accept links. This is how I create color buttons with link using shortcodes. Create the color button in css. bblack,bblue,bgreen,bred, a {text-style:italic;font-size:17px;font-weight:500;color:#fff}bblack span,bblue span,bgreen span,bred span{padding:5px 13px;border-radius:5px}bblack span{background-color:#080808}bblue span{background-color:#1A447A}bred span{background-color:#930700}bgreen span{background-color:#004928} Shortcodes by create btn_shortcodes.php. <?php add_shortcode( ‘blue’, ‘title_s’ ); function title_s($atts, $content = null)

Set Localhost Port for XAMPP

Set listen port C:\xampp\apache\conf

Sometimes the network doesn’t allow port 80, when we set up xampp and we can’t access localhost. We need to change the listen port to a new value, and every time we want to access localhost, we need the “:newport”.

Fire TV Stick from Amazon

Fire TV Stick

Since I subscribed Amazon Prime, with all the Videos, Music streaming included, I got myself a Fire TV Stick for $24 with Prime. The Fire tv stick is quite easy to install and work quite well with the included remote.  The best part is we can install third party apps like Terrarium and Kodi onto

macOS High Sierra 10.3.4 Update on Haswell HD4400

high sierra patcher

The latest macOS High Sierra 10.3.4 update is available for download. The best is to create a new USB installer with the App using High Sierra Patcher version 2.6 (must be for 10.3.4). Update Clover kexts with latest Lilu.kext (1.2.2), IntelGraphicsFixup.kext (1.2.4), Shiki.kext (2.2.3), ALC.kext (1.2.2). This will work for HD4400, HD4600, HD5500. The only