Skip to main content

Posts

Showing posts from July, 2016

How to create Plugin In Wordpress

folder details 1.template 2.js 3.css Files Details 1.Index File 2.Function.php index.php <?php ob_start(); session_start(); /**  * Plugin Name: Wps Fronted Post  * Plugin URI:  * Description: custom plugin for Fronted post  * Version: 1.0.1  * Author: Webplanetsoft  */ class WPS_QUIZ_PLUGIN {     public function __construct()     {         add_action( 'admin_menu', array($this, 'add_wps_admin_menu'));                //add_shortcode('wps_search_form',array($this, 'wps_search_form'));         //add_action( 'admin_enqueue_scripts', array(&$this,'scripts1' ));                 //register_activation_hook( __FILE__, array($this,'activation_wps_plugin') );         //register_uninstall_hook( __FILE__, array($th...

Show text title on hove on link

css  <style> a {   position: relative;   display: block;   float: left;   padding: 0 5px 5px 0;   text-decoration: none; } .ff:before {   position: absolute;   background-color: rgba(0, 0, 0, 0.65);   -webkit-border-radius: 6px;   -moz-border-radius: 6px;   border-radius: 6px;   color: #FFFFFF;   content: attr(data-icon-text);   display: block;   left: 20%;   opacity: 0;   padding: 2px 5px;   top: 0;   white-space: nowrap;   z-index: 10; } a:hover:before {   opacity: 1;   top: -99%; } </style> html        <ul>                         <li><a class="ff" data-icon-text="Yahoo" href="https://www.facebook.com/HansonResearch" target="_blank" class="facebook">fdf</i></a></li> </ul> ...