• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Petersen Media Group

Petersen Media Group

We help you spend less time ensuring your site is there, and more time making it profitable.

  • Home
  • About Us
  • FAQs
    • WordPress Hosting
    • Hosting Services
  • Benefits
  • Services
    • Choose your plan

Archives for January 2017

January 13, 2017

Change Genesis .site-title H1 Wrap on the Homepage

I got an interesting request this week to change his Genesis framework child theme’s homepage .site-title H1 wrap to a p wrap. I was going to advise against this until the request continued to change one of the widget titles to an H1 and become his new site’s title.

My first thought was that I had to edit the entire header or site title with a filter but it was actually much more simple than that.

Looking at the Genesis core code, it starts off looking like something familiar: adding a filter for genesis_seo_title. Then I saw something else by jumping around a bit in that area of lib/structure/header.php:

// And finally, $wrap in h1 if HTML5 & semantic headings enabled.
$wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h1' : $wrap;
$wrap = apply_filters( 'genesis_site_title_wrap', $wrap );

Aha! Could it really be as simple as changing that heading in the wrap? As we read on in the file, we see more evidence that is how things work:

// Determine which wrapping tags to use.
$wrap = genesis_is_root_page() && 'description' === genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : 'p';

// Wrap homepage site description in p tags if static front page.
$wrap = is_front_page() && ! is_home() ? 'p' : $wrap;

// And finally, $wrap in h2 if HTML5 & semantic headings enabled.
$wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h2' : $wrap;

So this is the code to change the site title’s wrap when on the front-page… by placing this in the front-page.php file found in most of the child themes:

//* Change site-title SEO wrap
add_filter('genesis_site_title_wrap','seo_wrap_site_title');

function seo_wrap_site_title($wrap) {
	return 'p';
}

This matches what the title wrap is on inner pages and I won’t dwell on or try to figure out why this child theme’s front-page title wasn’t already how the client wanted, but now you, too, have the code to change the wrap on the site title in Genesis with a very easy filter.

Genesis Framework

January 4, 2017

The Year of 2017 Goals for Petersen Media Group

Stock city imageWe all need goals to improve day to day and year to year. The famous quote about overestimating what you can do in a year and overestimating for five or ten years is often attributed to Bill Gates. The quote is actually about change:

We always overestimate the change that will occur in the next two years and underestimate the change that will occur in the next ten. Don’t let yourself be lulled into inaction. -Bill Gates

I say this is even more a reason to set goals: the world doesn’t stand still for you — or anyone — so you can gain an advantage or sort out any messes you have with the comfort of knowing things will be waiting for you as they were. As a reminder, I looked for a post a couple of years ago when I knew I said something about being beyond where we dreamt of being… but it’s already almost been three years since I wrote this:

Where were you FIVE YEARS ago? THREE YEARS? Are you more or less where you wanted to be “someday?” For me, I’m well beyond where I would be by now. I hit that just TWO YEARS into business when my wife quit her job. I’m actually living well into my fantasyland from five years ago.

Take two minutes and think of how much was different in your life from three years ago.

Did you make any goals or take any actionable steps to get where you are today or did it all just happen with what we call “blind luck?” You don’t need to answer that because we all know the answer to that.

What is a goal?

Goals done properly have 5 properties:

  1. they are measurable (don’t set a goal you can’t measure)
  2. they are specific (how much money, how many pounds?)
  3. they have a start and end time (you should have short-term, mid-term, and long-term goals)
  4. they are achievable (you can’t set a short-term goal of being CEO at your Fortune 500 job if you just started in the mail room)
  5. they are realistic (don’t aim to make $10,000/mo more if you don’t change your job or get a new one or start a business)

My goals

2017 goals:

  • take a walk every weekday, weather & health permitting
  • include a junior developer into my workflow before the end of summer
  • go to Busch Gardens with my wife on a date once per month
  • take my boys on an all-guy date once per month
  • start building models again – build at least one Mustang of each generation
  • release two premium themes and two premium plugins for GenesisThe.me in 2017
  • finish my bootstrap business course and release one more course in 2017
  • net $60k in client/service work and $50k with GenesisThe.me in 2017 – that’s bottom line
  • upgrade the business computer before July

5-year goals:

  • be 100% in the products space
  • figure out the employee/contractor thing to work on the business, not in it
  • sell the townhome and get a single-unit home to match this unit: a pond view, cul-de-sac, gated community
  • buy a 2-4 year old Mustang GT 5.0 or greater with cash
  • see the Grand Canyon via long RV road trip with the family
  • celebrate 15 years of marriage, big

10-year goals:

  • sell the business for enough to live comfortably
  • start something new
  • buy a Porche 911 – any year, reasonable condition, with cash
  • celebrate 20 years of marriage, HUGE

Investments in You

January 3, 2017

Forever to Finish, Gone in the Blink of an Eye: 2016

Wow! What a year!

For me, my family, and this business, 2016 was quite the year to remember. Let’s dig into the year in reverse topic order.

Petersen Media Group in 2016

Back in May I wrote about how I almost destroyed the business with a series of decisions and some health issues in 2015. The TL;DR version is that I neglected my self-promotion, growth, and family in 2015 with a partnership that, executed better, would have accomplished each of those much better.

Pretty early in the year, I started a video course for here, which I need to get cracking on the final 2/3 of. Man, the rest of the year really did fly by.

In July I got a series of projects that got the snowball rolling for the rest of the year with new relationships and skills. Right now, I have more ideas and projects to get moving on than I can shake a stick at, so I’m mentoring a padawan learner to work closely with me this summer to tackle a good portion of the coding and getting him real-world experience to decide what to do with the start of his career.

In the final closing moments of WordCamp Tampa 2016, I launched my first premium product into the WordPress space at my GenesisThe.me shop. I worked feverishly all weekend to squash bugs in my Genesis framework starter child theme for developers, which I cleverly named GenesisThe.me Developer Starter. See? I told you it was creative. That weekend, I also began work on a plugin for the shop and planned on launching a second theme in December, which is starting to look a lot like January now.

Family in 2016

Just a few days into the year, we were supposed to be saying goodbye to our newborn foster baby. Then a series of events happened that sat me on the couch late at night creating a “Surprise Adoption” site to raise emergency funds to secure our status with the adoption agency as no longer foster parents but adoptive parents. 11 months later, we found ourselves in the courtroom being sworn in to affirm our second son as a forever Petersen. We’re forever grateful to the over 140 people who donated on the site… and the approximately 50-60% of them who were WordPress-related. This community rocks!

Over the summer, my wife became a US citizen after moving here as a toddler… and then she got to vote in her very first presidential election. Great timing!

Before the election, we celebrated our 10th wedding anniversary and our sons’ 7th and 1st birthdays. It’s been pretty much non-stop planning and partying since September in our house. If you follow me on Instagram (it’s a private account), you have seen the pics.

Personal

So the end of 2015 ended with me in the ER’s Trauma Room 1 with my heart racing out of control and a few days in the hospital while they sorted things out. The day we were getting adoption papers on our phones was the morning we were sitting in pre-op for a heart catheterization to permanently solve my racing heart issue. Yeah, that’s how we started out the year.

Over the course of the year being a dad of two boys and husband to a wife taking care of two boys while I tried to spend as much time at my desk as possible, I learned a few things about myself, which will be detailed in the following post with my 2017 goals.

On a final note that you won’t find in many year-end posts, with the help of some family seeing there was an issue (though they didn’t know what it was – more like, “figure it out”), I stopped taking prescription opiates for my headaches cold turkey two days after Thanksgiving. Something had been “off” with my personality for a year, which is how long we’d had big changes (see above), but also when I switched from short-acting to long-acting pain meds. So I quit them.

Stay tuned for more

That’s it for last year. Next up: 2017 goals

Investments in You

Primary Sidebar

Recent Posts

  • Change Genesis .site-title H1 Wrap on the Homepage
  • The Year of 2017 Goals for Petersen Media Group
  • Forever to Finish, Gone in the Blink of an Eye: 2016
  • Add Genesis Custom Post Type Archive Settings
  • Use Minified Stylesheet with Genesis Themes with Front-Page Customizer Backgrounds

Recent Comments

  • Mike Hale on The Year of 2017 Goals for Petersen Media Group
  • Little Shiva on The Year of 2017 Goals for Petersen Media Group
  • Luke Cavanagh on A Response to the WordPress Customizer Expansion: Removal
  • Chris Johnson on Why Partnerships Often Don’t Sail
  • divakara ganesh on Two Things You Need to Do to Your Genesis 2.2 Theme

Archives

  • January 2017
  • August 2016
  • May 2016
  • October 2015
  • September 2015
  • August 2015
  • June 2015
  • April 2015
  • December 2014
  • November 2014
  • October 2014
  • August 2014
  • May 2014
  • April 2014
  • February 2014
  • January 2014
  • November 2013
  • September 2013
  • July 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • January 2000

Categories

  • Business Tips
  • Genesis Framework
  • Investments in You
  • Products
  • Technology
  • Uncategorized
  • WordCamp Slide
  • WordPress Tips

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Footer

Petersen Media Group was founded on the idea that good work, transparent and honest communication, and radical generosity are the keys to success in business and life.

The WordPress community has shown up over and over to prove this to be true.

We look forward to being entrusted with your business.

Navigation

  • Home
  • About Us
  • Blog
  • Choose Your Plan
  • FAQs
  • Contact
  • Disclaimer

This site is independently owned. It is not sponsored by StudioPress, WP Engine, WordPress, or Automattic Inc.

Theme and various assets used with permission from SEOThemes and GenesisSiteCare.

Copyright © 2019 · Petersen Media Group