Skip to content

Instantly share code, notes, and snippets.

Dubravko dubravkoL

Block or report user

Report or block dubravkoL

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tw_remove_menu_pages.php
function tw_remove_menu_pages() {
// remove testimonials menu section
// remove_menu_page( 'edit.php?post_type=testimonials-widget' );
// remove categories
remove_submenu_page( 'edit.php?post_type=testimonials-widget', 'edit-tags.php?taxonomy=category&amp;post_type=testimonials-widget' );
// remove tags
dubravkoL / htmlTags.html
Last active Mar 14, 2018
HEAD html - Must-Have Social Meta Tags for Twitter, Google+, Facebook and More
View htmlTags.html
<!--///////// Minimum Social Media Tag Template: Article //////////-->
<!-- Place this data between the <head> tags of your website -->
<title>Page Title. Maximum length 60-70 characters</title>
<meta name="description" content="Page description. No longer than 155 characters." />
dubravkoL / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View parseUrl.js
var a,
url = '';
a = document.createElement('a');
a.href = url;
console.log(a.protocol); // "http:"
console.log(a.hostname); // ""
console.log(a.pathname); // "/"
View jsbin.vawuxeyu.css
.thumbs-block {
position:relative; /**/
overflow: hidden;
background: #ccc;
margin: 0 5px;
width: 714px;
height:142px; /**/
.thumbs-block .thumbs {
white-space: nowrap;
You can’t perform that action at this time.