Skip to content

Instantly share code, notes, and snippets.

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

Mahmud Sohag Gazi IamSohaggazi

🏠
Working from home
  • Chandpur, Bangladesh
View GitHub Profile
https://linksearching.com/best-free-search-engine-submission-tools/
@IamSohaggazi
IamSohaggazi / wordpress custom post type with icon
Last active June 15, 2019 15:31
if you create post type featured box or service box with supported icon and featured image you can use this below code
/*
* register custom post type <go to function.php >
*/
function neuiro_custom_post_type(){
register_post_type('neuiro_featured',
array(
'labels' => array(
'name' => __('Features'),
'singular_name' => __('feature'),
<?php
/**
* Shortcode_Button loader
* Handles checking for and smartly loading the newest version of this library.
*
* Shortcode_Button - Tinymce and Quicktag buttons for outputting shortcodes.
*
* @category WordPressLibrary
* @package Shortcode_Button
* @author Justin Sternberg <justin@dsgnwrks.pro>
//** capie Woocommerce Theme Options Panel **//
// show all sale in onepage
$cmb = show_all_shop_items( array(
'id' => 'show_top_items',
'title' => 'Best Sellar Center',
'object_types' => array( 'page' ), // post type
'show_on' => array( 'data_post_say_intro' => 'id', 'value' => array( 50, 24 ) ),
'context' => 'normal', // 'normal', 'advanced', or 'side'
'priority' => 'high', // 'high', 'core', 'default' or 'low'
https://mega.nz/#!bpxkQKoY!JHlKU9TArTgmEaj05JhNL0iRb2KYZ_naI6qTmfyO6kM
/*custom css by m.s.g*/
.row-portfolio {
margin: 0 -10px
}
.row-portfolio .portfolio-item {
padding: 0 10px;
}
def pagerank(G, alpha=0.85, personalization=None,
max_iter=100, tol=1.0e-6, nstart=None, weight='weight',
dangling=None):
"""Return the PageRank of the nodes in the graph.
PageRank computes a ranking of the nodes in the graph G based on
the structure of the incoming links. It was originally designed as
an algorithm to rank web pages.
Parameters
/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
}
/* Tablet & mobile Layout: 768px. */
@media only screen and (max-width: 991px) {
}
Root url for website
---------------------------------------------------------
<?php site_url(); ?>
<?php bloginfo('url'); ?>
title of specific post/page
---------------------------------------------------------
<?php wp_title(); ?>
Site Home URL
Root url for website
---------------------------------------------------------
<?php site_url(); ?>
<?php bloginfo('url'); ?>
title of specific post/page
---------------------------------------------------------
<?php wp_title(); ?>
Site Home URL