Skip to content

Instantly share code, notes, and snippets.

View Jahid07's full-sized avatar

Md Jahidul Islam Jahid07

  • Dhaka, Bangladesh
View GitHub Profile
@Jahid07
Jahid07 / calltoaction.css
Last active January 4, 2022 15:56
Gutenberg call to action block using Advanced custom field
/*
This is the preview & front end css this file will go to your child theme template-parts/block/calltoaction/calltoaction.css
*/
.calcium-chs-area a{
text-decoration: none;
}
.calcium-chs-area {
@Jahid07
Jahid07 / woo-cart-icon.css
Created September 3, 2020 16:08
Add woocommerce cart icon in Wordpress menu Divi theme
------------------------------ ADDITIONAL CSS HERE ------------------------------*/
/* # WooCommerce Cart Icon CSS with FontAwesome 5
---------------------------------------------------------------------------------------------------- */
.cart-contents{
position: relative;
}
.cart-contents:before {
font-family:'ETmodules';
content: "\e013";
@Jahid07
Jahid07 / custom-metabox.php
Last active May 1, 2020 00:02
WordPress custom metabox for custom post type
/**
* Contact meta boxex
* Custom post type name is "prefix-contact"
*/
function prefix_contact_add_meta_box()
{
add_meta_box( 'contact_email', 'User Email', 'prefix_contact_email_callback', 'prefix-contact', 'side', 'low');
}