This is a plugin for WordPress which disables the upper admin area in the font side and just displays a button with a link towards the administration. Using this plugin, the preview of the website is closer to how a…
Add the following code to your theme’s functions.php file: /* * Show the thumbnail and the title of a WP post with bootstrap media */ // Add the shortcode add_shortcode('show_post_wp_bm', 'get_post_title_and_thumbnail_in_boostrap_media'); // Create the function if(!function_exists('get_post_title_and_thumbnail_in_boostrap_media')): function get_post_title_and_thumbnail_in_boostrap_media($atts, $content=null) {…
Add the following code to your theme’s functions.php file: // Categories walker class Walker_Categories_Template extends Walker_Category { function start_lvl(&$output, $depth=1, $args=array()) { $output .= "\n<ul class=\"list-group\">\n"; } function end_lvl(&$output, $depth=0, $args=array()) { $output .= "</ul>\n"; } function start_el(&$output, $item, $depth=0,…
The code below will help you make Twitter’s Boostrap accordion widget as high as the column it is inserted in. It has been tested in version 3.3.4. The Javascript code: $(document).ready(function () { 'use strict'; var bootstrapAccordionPanelFullHeight = function ()…
Use the following code to disable the navbar collapse in Twitter’s Bootstrap version 3.3.4: /*no collapse*/ .navbar-collapse.collapse.off { display: block!important; } .navbar-collapse.collapse.off ul { margin: 0; padding: 0; } .navbar-nav.no-collapse>li, .navbar-nav.no-collapse { float: left !important; } .navbar-right.no-collapse { float: right!important;…
The example below adds a tag to the bottom of the page. The CSS code is the following: /* Powered by - CSS tag */ .powered-by { margin: 0; padding: 0; position: absolute; right: 40px; bottom: 10px; list-style: none; }…
mrbunnycooking.com is a cooking blog based on WordPress. Some of the modifications and features will be described below: WordPress child theme; custom css, php and javascript; custom sizes for WordPress images, automatic resize of images inside a post; usage of…