post

Why I believe Occupy Wall Street Matters #OWS

Marking the start of the third month of the Occupy movement’s work in lower Manhattan I feel like I have finally had enough time to process through everything that has been going on to share a few thoughts and one frustration. Let start by saying that I believe this is a thoughtful group of people with important things to say.

My Frustration

First the frustration. There has been widespread attempts to marginalize this movement of people. This has been done by attempting to hijack their slogans (We are the 99%, etc.) and calling them to get jobs. Those who have marginalized this movement have – more than likely – avoided interacting with their very clear core complaint. This also includes all of the spin-off advertising (Jay-Z…) and attempts to redirect the frustration into other pursuits.

[Read more…]

post

A Rolling Series of New Beginnings

Life is a rolling series of new beginnings that we often fail to acknowledge. It seems that life can be viewed one of two ways, as a series of conclusions, or of beginnings. With the deluge and overlapping story lines of our lives, every day we are rolling through these points. Points that can be viewed either way.

Over the last many weeks I have been watching my own life, and those lives intertwined with my own, to see how we view these moments. There have been many big changes in my life this year that fall into this category: my dad’s passing away, changing churches, and bringing on staff to help Fresh Vine grow (amongst smaller stories). The same goes for my friends, but I won’t write of them here.

I try to look at each of these being the beginning of a new story. My dad’s passing starts the story of my life continued without his council and smile. Starting to attend Mill City has been the beginning of many new friendships and opportunities. Fresh Vine is a different organization than it was a year ago (two new employees, many new clients, amazing opportunities, new branding, and more exposure).

Looking at scripture this plays out as well. When Adam/Eve fell in the garden it was the beginning of the story, not the end. When Christ died on the cross it was not a conclusion, but another beginning. There is life after the fall, there is life after Christ, and there is life after death. This is not mystical hogwash, but reality. Yet many want to look at Christ as the end of faith, yet I believe Jesus saw himself as the beginning and means to a new life. The life that God intended from the beginning and was never possible before Christ. Even death is a new beginning, eternity is not an end but another beginning. There are no last pages in life, only starting points to what is to come.

Starting points call us to live each moment with excitement for where the story goes next.
I can promise you it will be good, bad, and ugly – and I can’t wait.

post

Making Dinner: Parmesan Crusted Chicken

I decided I needed to do something less mentally taxing that programing for an hour or so last night. The choice led me to make some Parmesan Crusted Chicken (via Elise) since we had everything here we needed. It turned out really good and was a nice break for me. I might have added a bit to much Italian Seasoning and Parmesan… but come on, thats what makes it delicious.

If you were wondering, Jordan gave it a thumbs up – so it must have tasted good.

post

Related Pages Code Snippet for WordPress

I’m currently working on getting the documentation together for our API (with Fresh Vine) and I needed a bit of code to place in the sidebar that would display any resources from the same family.

Within WordPress I have the pages all nicely nested. So there is a top-level page with a slug ‘api’ (page ID 16), and that has a child slugged ‘documentation’ (page ID 20). This related pages script will check for the children of ‘documentation’ including the first level which we add in at the beginning there.

The page hierarchy looks like: api-> documentation->members->view-id (for example)

The Code

<!--?<span class="hiddenSpellError" pre=""-->php $Page = get_post();		// Get the Current Page
$ParentID = $Page-&gt;post_parent;	// Get the Parent Page ID
if( $ParentID == 16 )
	$ParentID = NULL;	// We're a child of 
else if( $ParentID == 20 )
	$ParentID = $Page-&gt;ID;	// We 

$Related = get_pages( array(
					    'child_of' =&gt; $ParentID,
					    'sort_order' =&gt; 'ASC',
					    'sort_column' =&gt; 'post_title',
					    'hierarchical' =&gt; 0, 
						'parent' =&gt; -1,
						'post_type' =&gt; 'page',
						'post_status' =&gt; 'publish' ) );
// Look to see if there are any related pages.
if( !is_null( $ParentID ) ){

	// Get the Parent Page
	$Parent = get_page( $ParentID );	?&gt;
	<a href="<?php echo get_page_link( $ParentID ); ?>"> <!--?php echo $Parent--->post_title; ?&gt;&gt;</a>

<!--?php	foreach( $Related as $rPage ) {
			if ( ! $rPage--->post_content ) // Check for empty page
				continue;	?&gt;
		<a href="<?php echo get_page_link( $rPage->ID ); ?>"> <!--?php echo $rPage--->post_title; ?&gt;</a>
<!--?php}// End foreach loop on Related pages
} // End the related page check	?-->

Final Thoughts

All in all the code works splendidly. Though I have taken out all of my styling for this example I have it setup to display the method and to give visual indicators of what page the user is currently on (with a simple if $rPage->ID == $Page-ID check).

Well I hope this was helpful for someone else out there in the inter-webs. If you used the code leave a note so I can see how you used it!