<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Wow! So this is from where all those themes on Themeforest took their [three_columns_last] shortcodes. I was always wondering how can this method be so inefficient and yet everybody seems to prefer it. Now it's clear: they were following a tutorial. I can give you dozens of examples of themes that do it just this way, every once in a while I stumble upon one. I can understand now the level of frustration plugin developers must have.</div><div><br></div><div>Daniel</div><br><div><div>On Sep 6, 2012, at 4:02 AM, Justin Tadlock wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
That tutorial looked like it was written by someone who doesn't
understand what the `$atts` parameter does in his own code. 22
shortcodes for the work of 1. I bet that's a huge selling point for
some themes. <br>
<br>
I need to write a plugin to do that, just better (shouldn't be in a
theme anyway). I really think I might do this.<br>
<br>
I could tell this tutorial was going nowhere before getting to step
#3.<br>
<br>
<div class="moz-cite-prefix">On 9/5/2012 7:50 PM, Japheth Thomson
wrote:<br>
</div>
<blockquote cite="mid:CAMx9--VRHzOcgSG+XWGhp51MXZtchHdwmEohs8x9mrO6=W9U2Q@mail.gmail.com" type="cite">Yeah, it seems strange. There's a tutorial here: <a moz-do-not-send="true" href="http://tutorials.mysitemyway.com/adding-column-layout-shortcodes-to-a-wordpress-theme/#highlighter_671922">http://tutorials.mysitemyway.com/adding-column-layout-shortcodes-to-a-wordpress-theme/#highlighter_671922</a>
which seems to claim that the <p></p> and <br />
tags mess with column shortcodes, or something like that?
<div>
<br>
<br>
<div class="gmail_quote">On 6 September 2012 10:47, Justin
Tadlock <span dir="ltr"><<a moz-do-not-send="true" href="mailto:justin@justintadlock.com" target="_blank">justin@justintadlock.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> I can't really think
of a reason a theme should be doing either of those things
at all. There might be some legitimate uses (from a theme
perspective) but none come to mind at the moment.
<div>
<div class="h5"><br>
<br>
<div>On 9/5/2012 7:27 PM, Japheth Thomson wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div>Hello,</div>
<div><br>
</div>
<div>There's been some discussion today on Twitter,
and a blog post I wrote ( <a moz-do-not-send="true" href="http://japh.co/NSXyTr" target="_blank">http://japh.co/NSXyTr</a>
), about themes that run code like:</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">remove_filter(
'the_content', 'wpautop' );</blockquote>
<blockquote class="gmail_quote" style="margin:0px
0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">remove_filter(
'the_content', 'wptexturize' );</blockquote>
<div><br>
</div>
<div>And also implementing a [raw][/raw] shortcode
like <a moz-do-not-send="true" href="http://wordpress.org/support/topic/plugin-remove-wpautop-wptexturize-with-a-shortcode" target="_blank">http://wordpress.org/support/topic/plugin-remove-wpautop-wptexturize-with-a-shortcode</a></div>
<div><br>
</div>
<div>Could we add checks for these things into
Theme-Check? And would it be sensible to do so?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Japh</div>
<div><br>
</div>
-- <br>
Japh Thomson<br>
WordPress Evangelist<br>
<a moz-do-not-send="true" href="mailto:japh@envato.com" target="_blank">japh@envato.com</a><br>
<a moz-do-not-send="true" href="http://envato.com/" target="_blank">http://envato.com</a>
<div><a moz-do-not-send="true" href="http://twitter.com/envato" target="_blank">http://twitter.com/envato</a><br>
<br>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
theme-reviewers mailing list
<a moz-do-not-send="true" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<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>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<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>
<br clear="all">
<div><br>
</div>
-- <br>
Japh Thomson<br>
WordPress Evangelist<br>
<a moz-do-not-send="true" href="mailto:japh@envato.com" target="_blank">japh@envato.com</a><br>
<a moz-do-not-send="true" href="http://envato.com/" target="_blank">http://envato.com</a>
<div>
<a moz-do-not-send="true" href="http://twitter.com/envato" target="_blank">http://twitter.com/envato</a><br>
<br>
</div>
<br>
</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>
</div>
_______________________________________________<br>theme-reviewers mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<br></blockquote></div><br></body></html>