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
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script> | |
<script> | |
moment.locale(); | |
const data = [ | |
{ | |
datetime: "2018-01-03T13:07:46+00:00", | |
name: "breakfast" | |
}, | |
{ |
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
<!-- Add paginate_links() to your category.php file --> | |
<?php if ( have_posts() ) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<?php endwhile; ?> | |
<?php echo paginate_links( $args ); ?> | |
<?php endif; ?> |
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
Fix for HHVM not playing nice with composer: | |
Add this as an alias (add to ~/.bashrc and `source ~/.bashrc`): | |
`alias composer="hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 /usr/local/bin/composer”` |
NewerOlder