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
// Start ul | |
<div class="text-center"> | |
<?php | |
$portfolio_cats = get_terms('portfolio_cat'); | |
if( ! empty($portfolio_cats) && !is_wp_error($portfolio_cats) ) : | |
?> | |
<ul class="portfolio-filter"> | |
<li class="active"><a href="#" data-filter="*"> All</a></li> | |
<?php |
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 | |
/** | |
* The template for displaying comments | |
* | |
* This is the template that displays the area of the page that contains both the current comments | |
* and the comment form. | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/ | |
* | |
* @package theme |
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
/*------------------------------------------------------- | |
Use functions.php | |
--------------------------------------------------------*/ | |
add_filter('user_contactmethods', 'theme_user_contactmethods'); | |
function theme_user_contactmethods($cm){ | |
$cm['facebook'] = __('Facebook', 'verum'); | |
$cm['twitter'] = __('Twitter', 'verum'); | |
$cm['pinterest'] = __('Pinterest', 'verum'); | |
$cm['google-plus'] = __('Google Plus', 'verum'); | |
return $cm; |
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
/*------------------------------------------------------- | |
functions.php | |
--------------------------------------------------------*/ | |
function bulletin_paginate_links($mid_size=3){ | |
global $wp_query; | |
$big = 999999999; // need an unlikely integer | |
$links = paginate_links(array( | |
'base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))), | |
'format' => '?paged=%#%', | |
'current' => max(1, get_query_var('paged')), |
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
# BEGIN WordPress | |
php_value upload_max_filesize 128M | |
php_value post_max_size 128M | |
php_value max_execution_time 600 | |
php_value max_input_time 600 | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /2018/edd/ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AJAX Contact Form Demo</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div id="page-wrapper"> |
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
global $product; | |
global $woocommerce; | |
$idd = get_the_ID(); | |
//Displaying a WooCommerce product price: | |
$sale_price = $product->get_sale_price(); | |
$regular_price = $product->get_regular_price(); | |
// Displaying a WooCommerce price Currency: |
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
def | |
jswing | |
easeInQuad | |
easeOutQuad | |
easeInOutQuad | |
easeInCubic | |
easeOutCubic | |
easeInOutCubic | |
easeInQuart | |
easeOutQuart |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> |
NewerOlder