Skip to content

Instantly share code, notes, and snippets.

View milapdave's full-sized avatar

Milap Dave milapdave

View GitHub Profile
@milapdave
milapdave / default-css-for-wp.css
Created September 20, 2022 06:28 — forked from humayunahmed8/default-css-for-wp.css
Default CSS for WP
/*==================================
Default CSS
=====================================*/
@import url('https://fonts.googleapis.com/css?family=Poppins:200,200i,300,400,500,500i,600,600i,700,700i,800,800i,900');
body {
font-family: 'Poppins', sans-serif;
line-height: 1.7;
font-size: 15px;
@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
<?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
<?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 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');
@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
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',
## 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
@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
@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)