I recently launched a new WP website and although I did my due diligence and 301 redirected any changed URLs to their new counterparts, I still monitor the site daily looking for any stray 404s and redirecting them as needed. This morning I was checking my logs and found several URLs with odd string...
I finished building out a client's site on my own dev server (using the BUILT theme from Themeforest - client's choice) and am in the process of launching it. The migration itself was relatively uneventful but now even though I see all of the site's content on the front end, the editor in the back e...
I was beating my head against a wall trying to figure this one out. I started out with the standard in_category method - IF in_category(x) then use this template ELSE if in_category(y) use this other template ELSE use the default template. You know the one. The problem is that I'm dealing with a fai...
My question title pretty much sums up the issue. Back in February I migrated a website from Kentico to WordPress and I check the traffic logs routinely for 404 errors - both for old URLs I missed in redirecting and URLs that would indicate a hack attempt. Today I noticed a bunch of 404 errors that w...
So I a weird issue happening and I have been practically tearing my hair out trying to figure out the cause. When I pull up a client's website, it will randomly throw out a 500 server error but when I refresh my browser, it loads fine. This is what I see in the error log: "Warning: Invalid argument...
You can roll your own with Advanced Custom Fields. Create an SEO group and populate it with fields for the title tag, meta description, etc... and then insert the calls to those fields into your template's header.php.
Granted, it won't be as full featured or automated as the SEO plugins but you also won't get the bloat.
In your CSS, you would style it something like this:
.portfolio { margin-left:0 ;
padding-left:0 ;
list-style-type:none ;
}
.portfolio li { display:inline-block ;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-right:-4px /* this gets rid of the funky space that inline-block can sometimes force */
padding:12px ;
width:25% /* this gives you a 4-across grid on desktop */
}
.portfolio li img { display:block }
And then in your media queries you can set new widths for the <li>:
For tablet in portrait view (landscape should still be able to use desktop <li> widths):
@media only screen and (max-width: 768px) {
.portfolio li { width:33.3333% /* gives a 3-across grid */ ;
}
}
And for smartphones (landscape):
@media only screen and (max-width: 480px) {
.portfolio li { width:50% /* gives a 2-across grid */ ;
}
}
And for smartphones (portrait):
@media only screen and (max-width: 320px) {
.portfolio li { width:100% /* gives a single column grid */ ;
}
}
I like these versions much better. BTW I did a GIS for film reels and the holes in the cannisters aren't necesssarily perfectly round.
Here's my GIS results
I only mention it because maybe if the holes were a different shape, like a rounded wedge shape, you wouldn't have the button or revolver effect.
You can roll your own with Advanced Custom Fields. Create an SEO group and populate it with fields for the title tag, meta description, etc... and then insert the calls to those fields into your template's header.php.
Granted, it won't be as full featured or automated as the SEO plugins but you also won't get the bloat.
Your list of 'should have' theme files is missing the prefix.
For example, I see:
etc... instead of:
etc...
Man that sucks. Bad Treehouse. No donuts for you. I thoroughly support his efforts to continue teaching WordPress. How can I help?
If you use a fluid grid system for the portfolio and have each thumbnail open to a larger view in a lightbox, that would work.
Even an inline (horizontal) list that wraps would work, like this:
In your CSS, you would style it something like this:
And then in your media queries you can set new widths for the <li>:
For tablet in portrait view (landscape should still be able to use desktop <li> widths):
And for smartphones (landscape):
And for smartphones (portrait):
Hope that helps!