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
/*------------------------------------------------------- | |
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
<?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
// 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 |
OlderNewer