Skip to content

Instantly share code, notes, and snippets.

View xrman's full-sized avatar
🏠
Working from home

Estiak Ahamed Arman xrman

🏠
Working from home
View GitHub Profile
Demo & Download Link: http://dimsemenov.com/plugins/magnific-popup/
01. Youtube video >>
// html markup
<a href="http://www.youtube.com/watch?v=0O2aH4XLbto" class="videoBtn">Watch Video</a>
// javascript
<!-- in html -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only"></span>
<i class="fa fa-navicon"></i>
</button>
</div>
<nav class="main_menu collapse navbar-collapse" id="navbar">
<ul>
@xrman
xrman / Stick Div
Created September 20, 2016 15:04 — forked from delowardev/Stick Div
<!-- html -->
<div class="sticky_anchor"></div>
/* css */
.sticky{
position: fixed;
top: 0;
z-index: 2;
$(window).scroll(function(){
if ($(this).scrollTop() > 150) {
$('.topScrl').fadeIn();
} else {
$('.topScrl').fadeOut();
}
});
//Click event to scroll to top
$('.topScrl').click(function(){
<?php
if ( ! defined( 'ABSPATH' ) ) { exit; }
function about_page_shortcode( $atts, $content = null ) {
extract( shortcode_atts( array(
'title' => '',
'bg' => '',
'desc' => '',
@xrman
xrman / recently-viewed.php
Created January 8, 2019 05:55
Display WooCommerce Recently viewed products Without a Shortcode
<section id="recent">
<h1>Recently Added</h1>
<ul class="row-fluid">
<?php
extract(shortcode_atts(array(
"per_page" => '5'
), $atts));
// Get WooCommerce Global
global $woocommerce;
@xrman
xrman / functions.php
Created January 8, 2019 06:00
Woocommerce customization through hook
<?php
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Woocommerce Customization-=-=-=-=-=-=-=-=-=-=-=
// @customization files: followed by .php
# wc>loop>rating
# wc>loop>price
# wc>loop>add-to-cart
# wc>content-product
# wc>content-single-product
# wc>archive-product
# wc>single-product>add-to-cart>variation-add-to-cart-button
@xrman
xrman / Addon.txt
Created January 8, 2019 06:38
Importent Addon for Sublime text and Aton
Importent Addon for Sublime text and Aton
01. Autoprefixer
02. Beautify ***
03. Brackets CSS Class Code hint ***
04. Documents Toolbar ***
06. Emmet ***
07. Interactive Linter ***
08. Indent Guides ***
10. More CSS Code Hints ***
12. Color Highlighter ***
@xrman
xrman / gist:4468f545b169969466bceb694d742dad
Created March 12, 2019 21:47
FastStone Capture Full Serial Key
Registration Code
Name : www.xyraclius.com
Serial : OOCRYIMDMDPWRETFPSUZ