cookie warning float right
June 12, 2018 / 118 views / CSS | Plugins | scripts | WordPress

How To Implement EU Cookies Warning

Due to these EU cookies laws, all the website must display a cookie warning for reader to continue or leave.  After so much time to search for the best solution since we display Ad-sense and Amazon ads, we need to comply and finally we found a that shows us how to do it. It’s quite simple. […]

create shortcode
May 16, 2018 / 68 views / CSS | WordPress

Create Shortcodes for Color Buttons With Links

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 listen port C:\xampp\apache\conf
/ 115 views / WordPress

Set Localhost Port for XAMPP

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”.

September 23, 2016 / 175 views / CSS | scripts | WordPress

Magnific-Popup

Magnific-Popup is a responsive lightbox. I modified the zoom-gallery.js to idoggallery.js using class=”idoggallery” for easy to remember. For image with no links use “igallery” and title only. Use  “title” and “mylink” on href to display caption and create a link… <div class=”idoggallery”> <p style=”text-align: center;”><a class=”preview” title=”macOS Sierra On Windows Laptops” href=”//www.dognmonkey.com/techs/wp-content/uploads/z_macOS_Sierra.jpg” mylink=”//www.dognmonkey.com/techs/macos-sierra-on-mac-wanna-be-windows-laptops.html”><img class=”alignnone size-thumbnail […]

August 24, 2016 / 406 views / CSS | Themes

Create Responsive Theme For WordPress With Twenty Ten

In order for the blogs or website to be popular, they must be mobile friendly since mobile devices are on the rise. I’m sure there are many efficient themes for WordPress that support mobile devices, but I like to create a simple one for my blogs using Twenty Ten WordPress theme. This is how I […]

February 16, 2016 / 422 views / scripts | WordPress

Fotorama.io In WordPress Without Plugin

[bs] Fotorama.io V4.6.4 is a great Gallery display for WordPress. There is a plugin made for WP, but I want to customize for my website and NOT to load all scripts all the time, only when I need to use it. I do prefer this plugin over Galleria.io or lightGallery. I’ve been using the plugin for WP […]

February 9, 2016 / 301 views / scripts | WordPress

Galleria.io In WordPress

[bs] Galleria.io is a very nice gallery display for website, but the classic version is very basic and not very well documented to get it working responsively like the paid version, at least in my opinion. I finally customized the classic version so I can use with WordPress, but I think I prefer Fotorama.io for my blogs. […]