Steven Thate

Results 19 comments of Steven Thate

Sorry, but do you have any working examples I could scour? I'm pretty darn new to Timber and feel confused/overwhelmed!

Awesome, thank you so much! I think I'll be abel to _get_ it now.

I'm guessing the "model" or first chunk of code you listed is supposed to be put in functions.php?

Hmm, I can't seem to get it to work. Pretty much everything is the same. Here's my 'model': ``` php function connect_job_to_client() { p2p_register_connection_type( array( 'name' => 'job_to_client', 'from' =>...

Here's my 'controller' **(single.php)** ``` php $context = Timber::get_context(); $post = Timber::get_posts(false, 'ExtendedTimber'); $context['post'] = $post; Timber::render( array( 'single-' . $post->ID . '.twig', 'single-' . $post->post_type . '.twig', 'single.twig' ),...

Something I just thought of: how can I include an option at the top of the list with a NULL value? I placed this ahead of my `for` loop: ```twig...

This is weird, when I print the field, `{{ block.replaces }}`, it returns the *length* of the stored string, which after dumping it I can tell is the correct block...

Thanks for the reply! Here's what I tried... ```vue blah import SvgPanZoom from 'vue-svg-pan-zoom'; export default { name: 'TheMap', components: { SvgPanZoom }, data() { return { svgpanzoom: null, zoomLevel:...

Unrelated, but if my `maxZoom` is 5, why might the zoom level at that level return as `4.9999998807907104`? I suppose I could round it up to 5 when checking for...