This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#text-2 { /* change it to the proper widget id */ | |
background: none; | |
border: 0; | |
padding: 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="candy"> | |
<ul> | |
<li class="candyicons facebook"><a href="#"></a></li> | |
<li class="candyicons instagram"><a href="#"></a></li> | |
<li class="candyicons medium"><a href="#"></a></li> | |
<li class="candyicons snapchat"><a href="#"></a></li> | |
<li class="candyicons twitter"><a href="#"></a></li> | |
<li class="candyicons youtube"><a href="#"></a></li> | |
</ul> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.candy ul{ | |
list-style-type: none | |
} | |
.candy ul li{ | |
display: inline; | |
list-style-type: none | |
} | |
.candy .candyicons a{ | |
background: url(http://ahmedkaludi.com/wp-content/uploads/2016/06/retina-sprite-optimized.png) no-repeat; | |
/* Original Image size was 36kb. After optimizing it with TinyPng, the size went down to 12kb */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// checks if there are any posts that match the query | |
if ( have_posts() ) : | |
// If there are posts matching the query then start the loop | |
while ( have_posts() ) : the_post(); ?> | |
<article id="post-<?php the_ID(); ?>"> | |
<!-- 1. Title Start --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// checks if there are any posts that match the query | |
if ( have_posts() ) : | |
// If there are posts matching the query then start the loop | |
while ( have_posts() ) : the_post(); ?> | |
<article id="post-<?php the_ID(); ?>" role="article" itemprop="hasPart" itemscope="" itemtype="http://schema.org/Article"> | |
<meta itemscope='itemscope' itemprop='mainEntityOfPage' itemType='https://schema.org/WebPage'/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'ahmedkaludi_enqueue_styles' ); | |
function ahmedkaludi_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
} | |
// Display Tag code | |
function ahmedkaludi_structured_data_keyword() { | |
if ( is_single() ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Display Tag code | |
function ahmedkaludi_structured_data_keyword() { | |
if ( is_single() ) { | |
$tags = '"keywords" : [' . strip_tags(get_the_tag_list('"','", "','"')) . ']'; | |
} else { } | |
echo $tags; | |
} | |
function ahmedkaludi_structured_data_output() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "Product", | |
"description": "0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.", | |
"name": "Kenmore White 17\" Microwave", | |
"offers": { | |
"@type": "Offer", | |
"price": "55.00", | |
"priceCurrency": "USD" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "Product", | |
"description": "0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.", | |
"name": "Kenmore White 17\" Microwave", | |
"offers": { | |
"@type": "Offer", | |
"availability": "http://schema.org/InStock", | |
"price": "55.00", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@type": "Product", | |
"aggregateRating": { | |
"@type": "AggregateRating", | |
"ratingValue": "3.5", | |
"reviewCount": "11" | |
}, | |
"description": "0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.", |
OlderNewer