Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Technoknol technoknol

🎯
Focusing
View GitHub Profile
@technoknol
technoknol / index.html
Last active Jan 3, 2016
Full Width Bars, Infinite Length Navigation Bars
View index.html
<!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 Jan 22, 2014
WordPress - Add Custom Links in Toolbar
View wp-add-custom-link-in-toolbar.php
@technoknol
technoknol / wp-disable-directory-browsing.php
Created Jan 22, 2014
Disable Wordpress Directory Browsing
View wp-disable-directory-browsing.php
<?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 Jan 27, 2014
wordpress create your own shortcode.
View wp-create-own-shortcode.php
<?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 Jan 27, 2014
Wordpress Add custom link in Admin Toolbar
View wp-add-custom-link-in-toolbar.php
@technoknol
technoknol / wp-disable-directory-browsing.php
Created Jan 27, 2014
To Disable directory browsing in Wordpress
View wp-disable-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-register-and-call-menu.php
Created Jan 27, 2014
Registering and Calling Menus and Tweaking Menus
View wp-register-and-call-menu.php
<?php
/***************************************
This is simple code to register another menu in your wordpress theme.
Read instructions.
*****************************************/
@technoknol
technoknol / wp-reset-password-emergencykit.php
Created Jan 27, 2014
reset wordpress password emergency kit
View wp-reset-password-emergencykit.php
<?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 Jan 27, 2014
wordpress login with social sites
View wp-social-login.php
<?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
View wp-shortcode-tweaks.php
<?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