Archives: Code Snippets

How Add Custom Redirection for Specific WP Page

How Add Custom Redirection for Specific WP Page

/** * Custom Redirection Function for /online-keuzehulp/. */ function redirect_online_keuzehulp() { if( is_page( 13024 ) && count($_GET) ){ $mylink = $_SERVER[‘REQUEST_URI’]; $mylink = str_replace( ‘/online-keuzehulp/’,

Bootstrap Breadcrumbs to WordPress

How to Bootstrap Breadcrumbs to WordPress

Bootstrap Breadcrumbs HTML <!– breadcrumb –> <div class=”breadcrumb-wrap”><nav aria-label=”breadcrumb”> <ol class=”breadcrumb”> <li class=”breadcrumb-item”>You are here</li> <li class=”breadcrumb-item”><a href=”#”>Home</a></li> <li class=”breadcrumb-item”><a href=”#”>Blog</a></li> <li class=”breadcrumb-item active” aria-current=”page”>Blog

jQuery Modal Image

How to Add jQuery Modal Image Gallery Plugins

Download the jQuery Modal Image plugin from GitHub repository and unzip the folder. You get there in the folder two files, one modal.js, and another is style.css file.