<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
It sounds like you're venturing into plugin territory there. If a
user wants a mechanism for displaying or not displaying specific
pieces of content based on screen size or some other factor, that's
probably best left to plugins. I actually think that might be a
pretty cool plugin to see.<br>
<br>
<div class="moz-cite-prefix">On 8/25/2013 4:02 PM, Bruce Wampler
wrote:<br>
</div>
<blockquote
cite="mid:CAPQb4LOMz=Hv__m_GGVDW8Xjxn284V0BtU0XsWRA+sTwEUVULw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>I don't think it is possible for a theme to decide
using CSS only whether or not to include specific
content to be downloaded to the browser. It can decide
whether or not to display the content, agreed. I brought
this up because of a user who had this exact problem.
The site in question had some large images to display -
and the user wanted to display them by default on
desktop sites. But on mobile, where even a 100K image
could significantly impact site load time on a phone,
the user wanted to prevent downloading the large image
completely, and display alternate content on the phone.<br>
<br>
</div>
The latest info I was able to find says only Opera Mobile
will use display:none; to prevent the actual image from
downloading, so CSS is not a solution to this issue. CSS
does a lot, but not everything. <br>
<br>
</div>
And while you can likely use CSS only for adaptive mobile
design, my take on it is that most adaptive sites use user
agents to detect mobile devices.<br>
<br>
</div>
And I will always contend that there is a very large
percentage of WordPress site builders who are totally capable
of making their own decisions to use whatever options they
want to build a site that works how they want - even to the
level of understanding what adaptive rendering is, and a
desire to optimize the mobile user experience by reducing load
time on phone with a slow connection. Maybe you all have state
of the art 4G phones and service, but there are plenty of
people still with 2G and other slow connections, and load
speed is still important.<br>
<br>
</div>
As a theme designer, I'm just not smart enough to know when to
generate or not generate an <img> (or song, or video,
or...) for a mobile device, and exactly what alternative to
provide. As a site designer, I would know that much more
exactly, and would like my theme to allow me that ability.<br>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Aug 25, 2013
at 1:59 PM, Chip Bennett <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:chip@chipbennett.net"
target="_blank">chip@chipbennett.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">I don't think there's
anything that *has* to be left up to a
shortcode, even for adaptive design. The
developer should make those decisions,
based on the supported screen sizes -
i.e. decisions, not options. Making
those decisions has nothing to do with a
Theme creating or modifying content;
rather, those decisions merely impact
the *presentation* of that content. The
implementation of those decisions can be
handled in a manner that is 100%
consistent with maintaining the
presentation-vs-functionality
segregation.<br>
</div>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a moz-do-not-send="true"
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a moz-do-not-send="true"
href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
</blockquote>
<br>
</body>
</html>