That didn’t work for me. I think because I’m using the after_theme_setup hook to add theme support for post formats the $post global might not have been defined yet.
I am playing around with post formats trying to set different post formats for standard posts and a custom post type. To do this I want to detect when we are on the custom post type Add New or Edit screen.
Detecting the Add New screen is simple as the post_type=custom_post_type_name query sting is set however I can not find a way to detect the post type on the edit screen of a custom post type.
Does anyone know of a way? I’ve been playing around with this for a while and can’t find a solution.
Ask the people who made it:
http://www.pillandpillow.com/9/RubenBristian saidIf you are using a caching plugin wouldn’t a visitor to your site see a cached version of the page whether they are on a device with a retina display or not.
@Eugene, i’m not sure why it wouldn’t work.. The cookies are not stored in the cache..
Example: Visitor A is the first visitor to a new page. They are using a standard desktop. Page is cached with standard images.
Visitor B then loads the page on a retina mobile device. Because no changes were made to the content in the admin area and their is now a cached version of the page they receives the same version of the page with standard images as Visitor A.
RubenBristian saidWould this technique work with caching plugins?
You need to server “retina images” only for retina displays. There’s no need to double everything on the site! You can simply check if the user is on a retina display with js, store this with a cookie and server double images via an image resizing plugin..
The stylesheet say’s it’s a custom theme (and it certainly looks like it is). Search Theme Forest for “parallax” and you’ll probably find a few themes with a similar parallax scrolling effect.
The point you raised reminds me of this: http://dowebsitesneedtolookexactlythesameineverybrowser.com/
I would say that as long as the website is functional in a browser (it can be used and navigated), then it is compatible.
One of the most valuable companies in the word, Berkshire Hathaway: http://www.berkshirehathaway.com/
All it takes is 5 minutes and MS frontPage.
I’ve had one for about a year and I still love it. There’s nothing more satisfying than snapping the mouse to turn it off at the end of the day.
That’s sneaky and I would expect against marketplace rules. Have you reported it?
