Skip to content

Instantly share code, notes, and snippets.

.entry-content ul>li:before, .comment-content ul>li:before { content:''; }
@dimbak
dimbak / tpl-full-width-page.php
Created October 14, 2015 17:00
Full width template for pages of the HireBee themes by AppThemes
<?php /* Template name: Full width Page */ ?>
<div id="main" class="large-12 columns">
<?php appthemes_before_page_loop(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php appthemes_before_page(); ?>
@dimbak
dimbak / tpl-full-width.php
Last active October 14, 2015 16:52
Full width front page template for the HireBee theme by AppThemes
<?php /* Template Name: Full page Template */ ?>
<div id="main" class="large-12 columns">
<?php do_action( 'hrb_front_loops' ); ?>
</div><!-- end #main -->
@dimbak
dimbak / example.php
Last active October 14, 2015 14:17
exclude category from posts for the TwentyFifteen theme.
<?php /* Template Name: Example Template */ ?>
<?php get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php $query = new WP_Query( 'cat=-9' ); ?>
<?php if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>