Skip to content

Instantly share code, notes, and snippets.

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
<div data-spy="scroll" data-target="#scrollspy1" data-offset="0">
<!--Section: Magazine v.1-->
<section class="section magazine-section" id="section1">
<!--Section heading-->
<h1 class="section-heading">Section title</h1>
<!--Section description-->
<p class="section-description">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
@devloprs
devloprs / output from query
Created January 2, 2017 11:01
WPMUDev Testing output
Can I say something silly like:
<div class="mp_product_categories prod_card_v2" ' . __( 'Categorized in ', 'mp' ),>
<h1 class=”blah blah”>’</h1>,
<div class=”blah”> <h2>’</h2>,
<div class=”blah”><h2>’ </h2>
<div>'
</div>
</div>
</div>
*/Normal loop
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; // end of the loop. ?>
*/MP Loop
<?php while ( have_posts() ) : the_post(); ?>
<!--Jumbotron-->
<div class="jumbotron">
<h1 class="h1-responsive">Hello, world!</h1>
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<hr class="my-2">
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
<p class="lead">
<a class="btn btn-primary btn-lg" role="button">Learn more</a>
</p>