WordPress Mobile Tip: Remove white space on right hand side on iPad and iPhone 5

wordpress-581849_1280

So you finish up your site and you are testing it on multiple devices and it’s looking fantastic. As a final check you fire up your iPad and something seems off, what is that small white gap on the right hand side!? Your responsive cross-device compatible website isn’t as perfect as you thought! These 1-2 device issues are usually the hardest to solve especially since they look fine in iPhone 6 and most Android phones.

right-hand-gap

[Small white space on right side of banner and header section only visible on iPad and iPhone 5]

I ran in to this situation on a client site and thanks to a great answer on Stack Overflow I was able to resolve it. IF this solution doesn’t work for you there were a few other good ones in response to that question that may work. I just happened to try this one first and it fixed the issue immediately

WordPress Tip: Turning off Comments on Published Posts & Pages

wordpress-581849_1280

Turning off comments in Discussion does not affect content that was created prior to our change. The following is a quick way to make sure all our content has comments turned off.

 

1. Go to Posts

posts

2. Find how many Published posts you have

pub-posts

 

 

3. Click on Screen Options in top right corner and add the amount of posts the click on apply

pubnumber

 

 

4. Click on the checkbox next to title (this will select all the posts on the page)

checkedpub

5. Go to dropdown and select edit and then apply

edit

6. Go to comments drop-down and select Do Not Allow

do-not-allow

7 Click on the Update button on right hand side

 

Now all your current posts will have comments turned off.

 

 

5 Quick & Relatively Easy SEO Fixes for your WordPress site

office-625892_1920
 I spend hours every day working on multiple sites in multiple industries and over the last year or so I’ve discovered the following potential issues when a site is not ranking on the SERP’s as expected. This is not a guarantee in any way that you will suddenly hit page 1 by making these changes but it does give you a bit of a head start while working on other concerns like quality, relevant content and building a loyal social media following.
  1. Are you Sandboxed?
    There is some debate out there about whether or not there is actually a Google Sandbox, I for one believe there is something out there in the Googlesphere that puts baby in the corner until it’s confident it will do no harm.
  2. Are  you up to speed?
    • The ideal speed is 400 milliseconds but that isn’t always realistic for the average business owner with a website on a shared hosting solution.  If you shoot for 3 seconds or less on page speed – check gtmetrix.com or https://developers.google.com/speed/pagespeed/insights/ it’ll improve your visitors overall experience and therefore the amount of time they spend on your site.
    • once you are done with all the design/content go get Wp smush-it or some sort of image compression plugin and reduce size of your images
    • go through all the plugins on the site and make sure you delete any you aren’t using – I sometimes will install plugins to try them out then forget to remove them when I make a decision.. so clear out all the unused plugins
    • minify your css and js
  3. Are you Mobile friendly?
    • https://www.google.com/webmasters/tools/mobile-friendly – check sites for mobile friendliness
    • https://developers.google.com/speed/docs/insights/ConfigureViewport – confirm that the mobile viewport is <meta name=viewport content=”width=device-width, initial-scale=1″>
    • avoid minimum-scale, maximum-scale, user-scalable in the viewport declaration (some of the WordPress themes actually have user-scalable in the viewport declaration so make sure to remove that) – it’s an accessibility issue and seems to make a difference on how mobile friendly Google thinks your site is…
  4. Too Many Plugins
  5. Submit that sitemap

WordPress Child Theme Tip: Featured Image as background or default image as background

Recommended skill: child themes. some php understanding and definitely css

In today’s adventures in child theming I was asked to have either a default image or the featured image appear in the banner as a background image on individual blog pages for the Eptima Lite theme. I’m sure there are easier ways to do this but this particular solution worked extremely well after a few hours of reading and digging through multiple “ways” to do it. I always create a child theme when asked to make any changes to an established site. The client had picked their theme already and just wanted a few changes made, no need to create a theme from scratch with Bones  (which I’ve done in the past).

the following information is based on the assumption that you already have a child theme setup. If you haven’t already done so make a copy of the header.php from the main theme (in this case Eptima Lite) and put it in your child theme directory.

In your header.php add the following code:

A little explanation:

This code block here is saying IF the post has a featured image display it

Otherwise display a default image:

And this is where the image is converted to a background image (if you don’t include this line it’s added to the html as an img src which is difficult to stretch for a banner)

You will need to add padding or height for your image to display since it is now a background image 🙂

You can use background-size: cover as well to get the background image to fill your element.

I will add more to this post if I discover a better way to achieve the same thing.

 

Three reasons why PubCon is a must attend for the online marketer

It’s Sunday morning after PubCon week in Las Vegas (Nov. 8-11, 2010). I couldn’t sleep the night after the show was over, my mind was just racing with new ideas to implement at work.  I have been in the web industry since the early 90’s. Primarily working on websites both as a designer and a programmer. I got active in Open Source in 2001 and had my first exposure to community driven software. I’ve always had an interest in but never really pursued the advertising/marketing side of the web. I knew I was supposed to design or code to certain specifications to help with ranking.  I never really understood.

For the past couple years I have secretly been following aka stalking top names in SEO/SEM and online marketing. Reading every blog post I can get my eyeballs on, watching every video I’m aware of and absorbing all I can. It was a lonely existence as my ex-boyfriend thought all this internet marketing/social media was a waste of time. He’d scoff when I’d tell him something new and exciting in the industry. Facebook is a waste of time, twitter will die and there is no value in networking. So I sat at my computer or in the book store and read all I can to try and keep myself up-to-speed but couldn’t really talk to anyone else about my passion. I can regurgitate just about anything related to SEO/SEM and Social Media. Did I understand it? Only partially Did I feel it was a black art? Oh hell yeah.

Although there are tons of fantastic write ups about the sessions at PubCon (my first online marketing conference) there aren’t as many about the other aspects of attending an online marketing conference. PubCon has been growing and growing and if you are an SEO/SEM or handle PPC you MUST make this conference a requirement. PubCon 2010 had 3000 registrants! Up from 100 or so in 2002!! Shows you how much this industry is growing!

I’m writing this from a holistic view ( but I’ll add links in a separate post for the sessions so you can dig in a bit deeper for the specifics you want/need. If you are like me you want to absorb all you can and stay ahead of the game)

Knowing you are not alone

We all spend a lot of time on our computers and smart phones. In apps and browsers digging up information or communicating with friends, family and associates. For most of us our families and friends do not share the same interest and don’t get the terminology of the intent of this industry. When I left the show on Thursday I KNEW I had at least 2999 other people who believed in and made their living in this industry. I had made connections with the movers and shakers and my belief in this industry as a whole and it’s longevity was validated.

Dispel those horrible myths or untruths on the web

Although there are areas in this field that engender some argument or debate there are quite a few aspects that everyone can agree on. Sitting in a session and listening to one of my online SEO/SEM heroes repeat in person what they had written about in their blog somehow made any future blog posts that I will read much more valuable. Looking at someone in the eyeball and having them tell you something in person (that you read online) and knowing they are telling the truth is irreplaceable.

Network Learning

The Q&A sessions at the conference were the most valuable part of the whole show. There were multiple times when some other person in the audience asked the panel a question I was going to ask (back to the ‘not being alone’) and the answer cleared up what I was going to ask plus other aspects I didn’t even think about! Sitting at a table in the “lunch” room and listening in on conversations that provided new insight into the industry from various perspectives was a tremendous advantage.

The PubCon conference not only taught me more about the industry as a whole but it provided validation and a sense of community.

The biggest thing I took away from this event was to be proactive and not reactive in response to the uber speedy changes in the internet marketing space.

Coming soon! People to follow and the best sessions at PubCon