Skip to content

Instantly share code, notes, and snippets.

View technoknol's full-sized avatar
🎯
Focusing

Technoknol technoknol

🎯
Focusing
View GitHub Profile
@technoknol
technoknol / index.html
Last active January 3, 2016 13:59
Full Width Bars, Infinite Length Navigation Bars
<!DOCTYPE html>
<html>
<head>
<!--
Author : TechnoKnol
Blog : http://technoknol.blogspot.com
Date : 17 Jan 2014
-->
<meta name="description" content="Infinite Width Bars,full width bars,css3 bars,full width navigation bars" />
@technoknol
technoknol / wp-add-custom-link-in-toolbar.php
Created January 22, 2014 13:49
WordPress - Add Custom Links in Toolbar
@technoknol
technoknol / wp-disable-directory-browsing.php
Created January 22, 2014 13:58
Disable Wordpress Directory Browsing
<?php
// To Disable directory browsing in Wordpress
// Just one line in your .htaccess file
// in your website ROOT
Options -Indexes
@technoknol
technoknol / wp-create-own-shortcode.php
Created January 27, 2014 06:50
wordpress create your own shortcode.
<?php
/********************************
This code will allow you to create your own shortcode.
*************************************/
// SHORTCODE FOR GOOGLE ADSENSE
@technoknol
technoknol / wp-add-custom-link-in-toolbar.php
Created January 27, 2014 06:52
Wordpress Add custom link in Admin Toolbar
@technoknol
technoknol / wp-disable-directory-browsing.php
Created January 27, 2014 06:53
To Disable directory browsing in Wordpress
// To Disable directory browsing in Wordpress
// Just one line in your .htaccess file
// in your website ROOT
Options -Indexes
@technoknol
technoknol / wp-register-and-call-menu.php
Created January 27, 2014 06:54
Registering and Calling Menus and Tweaking Menus
<?php
/***************************************
This is simple code to register another menu in your wordpress theme.
Read instructions.
*****************************************/
@technoknol
technoknol / wp-reset-password-emergencykit.php
Created January 27, 2014 06:55
reset wordpress password emergency kit
<?php
/* *********************************************************
Warnings
Requires you know the administrator username.
It updates the administrator password and sends an email to the administrator's email address.
If you don't receive the email, the password is still changed.
You do not need to be logged in to use it. If you could login, you wouldn't need the script.
Place this in the root of your WordPress installation. Do not upload this to your WordPress Plugins directory.
Delete the script when you are done for security reasons.
@technoknol
technoknol / wp-social-login.php
Created January 27, 2014 06:56
wordpress login with social sites
<?php
/*****************************
This is a tweak to customize your wordpress login to allow login with Other Social Sites like Google,Facebook,Twitter,LinkedIn etc...
**********************************/
// To enable social logins in your wordpress website
@technoknol
technoknol / wp-shortcode-tweaks.php
Last active January 4, 2016 21:49
Shortcode Tweaks
<?php
// Shortcode Working in PHP file
// Method 1 :
echo do_shortcode ('[easingsliderlite]') ;
// Method 2 : // easingsliderlite() is a function used by shortcode [easingsliderlite]
if ( function_exists( "easingsliderlite" ) ) { easingsliderlite(); }
// ADD SHORTCODE WORKING IN TEXT_WIDGET