Skip to content

Instantly share code, notes, and snippets.

View milapdave's full-sized avatar

Milap Dave milapdave

View GitHub Profile
@milapdave
milapdave / awesome-website.txt
Created October 3, 2022 05:33 — forked from humayunahmed8/awesome-website.txt
Some Awsome Website
** Some Awsome Website Using With Animation:
===========================================
1. https://waaark.com/
2. http://www.species-in-pieces.com/
** Improve the Payment Experience With Animations:
==================================================
It can be helping the user better understand what’s going on and how to use your product most effectively.
@milapdave
milapdave / Awesome_web.txt
Created October 3, 2022 05:33 — forked from humayunahmed8/Awesome_web.txt
Some Awesome Designed Web Address
Some Awesome Designed Web Address:
===================================
1. http://codecorns.com/downloads/boston/ (for scroll to top)
2. https://nicescroll.areaaperta.com/ (for nicescroll)
3. www.maxthon.com/hd/superbrowserfb/(for slider)
4. https://www.netlify.com/blogs/ (for box hover)
@milapdave
milapdave / 1-basic-intro-of-php.txt
Created October 3, 2022 05:32 — forked from humayunahmed8/1-basic-intro-of-php.txt
Special Documentation about Basic PHP
/*==================================
Basic Introduction of PHP
====================================*/
** PHP - Hypertext Preprocessor
** Server side scripting language
** First Released Date : 1994
** Created By: Rasmus Lerdorf
** Most CMS used PHP -
* WordPress
## table of contents:
=====================
1. Basic Php
2. Install WordPress in live server
2.1. WordPress Dashboard Introduction
3. Introduce about IDE & WordPress template hierarchy
4. Introducing about Visual Composer
4.1. Visual Composer academy site
4.2. Use Visual Composer Element/Addons
<?php
function stock_styled_map_shortcode($atts, $content = null) {
extract( shortcode_atts( array(
'lat' => '40.7433379',
'lng' => '-74.0103219',
'title' => 'Head Office',
'desc' => 'House 21, Grand St.<br/> New York, USA',
@milapdave
milapdave / 1-logo-setting-metabox-option.php
Created September 20, 2022 06:30 — forked from humayunahmed8/1-logo-setting-metabox-option.php
Logo setting option using codestar framwork
<?php
function stock_humayunbd_page_metabox($options){
$options = array(); // remove old options
// Logo Setting
$options[] = array(
'name' => 'stock_humayunbd_logo_settings',
'title' => esc_html__('Logo Settings','stock-humayunbd'),
<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
function stock_humayunbd_theme_shortcode_options($options){
$options = array(); // remove shortcode old options
}
add_filter('cs_shortcode_options', 'stock_humayunbd_theme_shortcode_options');
<?php
require_once get_template_directory() . '/inc/class-tgm-plugin-activation.php';
add_action( 'tgmpa_register', 'stock_humayunbd_register_required_plugins' );
function stock_humayunbd_register_required_plugins() {
$plugins = array(
<?php
/**
* Plugin installation and activation for WordPress themes.
*
* Please note that this is a drop-in library for a theme or plugin.
* The authors of this library (Thomas, Gary and Juliette) are NOT responsible
* for the support of your plugin or theme. Please contact the plugin
* or theme author for support.
*
* @package TGM-Plugin-Activation
@milapdave
milapdave / breadcrumb-section.php
Created September 20, 2022 06:28 — forked from humayunahmed8/breadcrumb-section.php
Site breadcrumb section
<?php
// Site breadcrumb section, you can use "Breadcrumb NavXT" plugin
<div <?php if(has_post_thumbnail()) : ?>style="background-image:url(<?php echo esc_url(the_post_thumbnail_url('large')); ?>)" <?php endif; ?> class="stock-breadcrumb-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>
<?php