Skip to content

Instantly share code, notes, and snippets.

View milapdave's full-sized avatar

Milap Dave milapdave

View GitHub Profile
@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
@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'),
@humayunahmed8
humayunahmed8 / 404.php
Last active November 11, 2022 10:26
Styled 404 error page example
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package WordPress
* @subpackage MY_Theme
* @since 1.0
* @version 1.0
@humayunahmed8
humayunahmed8 / widget-css-for-wp.css
Created September 15, 2018 19:09
Widget CSS for WordPress
/*=====================================
Widget CSS
=======================================*/
.widget-area ul {
list-style: none;
margin: 0;
padding: 0;
}
@humayunahmed8
humayunahmed8 / wp-comment-form-style.css
Created September 15, 2018 19:07
Comment form template CSS for WordPress
/*=====================================
Comment Template CSS
========================================*/
.comments-area {
margin-top: 40px;
}
.comments-area h2.comments-title {
font-size: 25px;
@humayunahmed8
humayunahmed8 / 1-logo-setting-metabox-option.php
Created September 15, 2018 12:10
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'),
@humayunahmed8
humayunahmed8 / 1-register_custom_post_type.php
Created September 13, 2018 08:13
Register custom post type
<?php
/**
* Short custom post type
*/
function my_theme_custom_post() {
register_post_type( 'cpt',
array(
'labels' => array(
@humayunahmed8
humayunahmed8 / custom_logo.php
Created September 13, 2018 07:33
WP Custom Logo
<?php
<div class="logo">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php $logo_id = get_theme_mod('custom_logo'); ?>
<?php if(!empty($logo_id)) : the_custom_logo(); else : ?>
<h3><?php bloginfo( 'name' ); ?></h3>
<?php endif; ?>