Skip to content

Instantly share code, notes, and snippets.

<!-- Google Code for Remarketing Tag -->
<script type="text/javascript">
var classes = document.getElementById("bdyMaster").className; // Selecting the array of classes assigned to the body
if(classes.indexOf('nextProductDetail') > -1){ // Check for product page class
// Reading Product ID ad Price
var pidWrapper = document.getElementsByClassName("nextProductDetailTop");
var price = document.getElementById("ctl00_ctl00_ctl00_cphMain_cphMain_cphMain_pdtProduct_spnDisplayedPrice").innerHTML;
var google_tag_params = {
ecomm_prodid: pidWrapper[0].getAttribute('data-productid'),
ecomm_pagetype: 'product',
<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: "REPLACE_WITH_STRING_VALUE",
ecomm_pagetype: "REPLACE_WITH_STRING_VALUE",
ecomm_totalvalue: REPLACE_WITH_STRING_VALUE
};
</script>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxxxxxxx;
<script type="text/javascript">
$(document).ready(function(){
if(Cookies.get('joinList')){
$.ajax({
type: "POST",
url: "/subscribe.php",
data: 'action=subscribe&nl_first_name=%%GLOBAL_CurrentCustomerFirstName%%&nl_email=%%GLOBAL_CurrentCustomerEmail%%&check=1',
cache: false,
success: function(result){
response = $(result).find('#NewsletterContent').text();
<div class="subscribe" style="margin-top: 25px">
<input type="checkbox" id="joinList" checked="true" /> <label for="joinList">Join our Mailing List</label>
</div>
<!-- Add the code above the submit button -->
<p class="Submit">
<input type="submit" class="btn alt" value="%%GLOBAL_CreateAccountButtonText%%" />&nbsp;&nbsp;&nbsp;<a href="%%GLOBAL_ShopPath%%/">Return to store</a>
</p>
// Update the following code wp-login.php
// WP's Code
<h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
// Your Code
<h1><a href="http://innovatelogics.com" title="Innovate Logics" tabindex="-1">Innovate Logics</a></h1>
<?php
// Custom WP Login Page
function il_logo() { ?>
<style type="text/css">
.login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png);
width: 270px;
background-size: contain;
}
</style>
int main(void){
if(printf("Hello")==NULL){
printf("Hello");
}else{
printf("World");
}
Void main(){
char ch[10] = "Vishal";
printf("%s",ch,"c""question" "bank");
printf("\n");
printf("%s","c""question" "bank",ch);
getch();
}