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 | |
if( have_posts() ){ | |
while ( have_posts() ){ the_post(); // enter the WordPress loop | |
$id = get_the_ID(); // get the ID of the current post in the loop, post ID = EVT_ID | |
$terms = get_the_terms( $id, 'espresso_event_categories' ); // get the event categories for the current post | |
if ( $terms && ! is_wp_error( $terms ) ) { | |
$cats = array(); | |
foreach ( $terms as $term ) { |
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 | |
/** | |
* This is a custom template for people metabox content on the EE CPT page. | |
* | |
* Template Args available are: | |
* @type $people_type EE_Term_Taxonomy people type taxonomy term object | |
* @type $type EE_Term Term being displayed. | |
* @type $people EE_Person[] All the published people from the db (@todo need to do paging/filtering here) | |
* @type $assigned_people EE_Person[] Currently assigned persons for this display. | |
* @type $create_person_link string URL to create a new person. |
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 | |
/** | |
* This is a custom template for people metabox(es) content on the EE Event CPT page. | |
*/ | |
?> | |
<div id="cpt_to_people_container_<?php echo $people_type->get('term_taxonomy_id'); ?>"> | |
<p class="description"><?php echo $people_type->get('description'); ?></p> | |
<?php if ( empty( $people ) ) { ?> | |
<?php printf( __( 'There are no people in the system. Go ahead and %screate one now%s.', 'event_espresso' ), '<a href="' . $create_person_link . '" target="_blank">', '</a>' ); ?> |
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
/******** | |
Required: | |
Add the following JS to your custom plugin or child theme (requires jQuery): | |
$('.toggle-button').click(function(){ $('div.datetime-container').toggle(); }); | |
Add the following CSS to your custom plugin or child theme, but style as necessary to fit your needs: | |
.datetime-container { display: none; } | |
********/ |
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
import flash.utils.setTimeout; | |
// public! | |
// key_id is a string number, 1 though 12, which corresponds to the keyhole(1-12) symbols on the stage | |
function showLock(key_id:String):void { | |
chains.visible = true; | |
showKeyhole(key_id); | |
} | |
// public! |
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
// Because the header changes height based on the variable height of the logo, position of the social box and height of the mobile menu | |
// Changes top margin of main content on resizing browser width | |
// Uncomment console.logs to check values against element heights | |
$j=jQuery.noConflict(); | |
$j(window).on("load resize", function () { | |
if (window.innerWidth > 600) { | |
var headerHeight = jQuery(".header").height(); | |
var navHeight = jQuery(".menu-container").outerHeight(); | |
var combinedHeight = headerHeight + navHeight; |
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 | |
// content.php | |
$config = array( | |
'title' => __('General Options', 'theme_admin'), | |
'group_id' => 'general', | |
'context' => 'normal', | |
'priority' => 'low', | |
'types' => array( 'page' ) | |
); | |
$options = array( |
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 | |
// | |
// Adding meta boxes for sliders to page options: | |
// | |
$config = array( | |
'title' => __('General Options', 'theme_admin'), | |
'group_id' => 'general', | |
'context' => 'normal', | |
'priority' => 'low', | |
'types' => array( 'page' ) |
This file has been truncated, but you can view the full file.
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
*** | |
NOTES: | |
I had given the game 6GB of RAM (out of 16) but it crashed more. It's more stable with 4GB, probably due to the inherent limitations of Java. | |
System specs available upon request, but my system wasn't struggling at this point. This is just the full dump from teh Technic launcher log because the crashes aren't consistent from a gameplay standpoint. | |
I changed teh keybinds, because E for inventory makes zero sense. Most of them are the defaults though. When I go into the keybind GUI, it WILL crash the game. Every time. It won't if I access it from the world selection screen though. | |
I really like this pack and just want it to stop crashing :( | |
End transmission. | |
*** | |
[B#347] 2016/03/19 21:09:54 [INFO] [21:09:54] [Client thread/INFO] [TabbyChat2]: [CHAT] KinnaT has just earned the achievement [Monster Hunter] |
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
a { | |
//color: #1E1E1E: ; | |
// you can change the color of the hyperlinked title here: ; | |
} | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
font: inherit; | |
font-size: 100%; |