SlideShare uma empresa Scribd logo
1 de 34
Diet Pills, SEO &
     Theme Frameworks
     There are no magic bullets.
     Andy Stratton, WordPress DC Meetup, August 2011




http://theandystratton.com • hello@theandystratton.com
What is a pre-built theme?

•   A theme purchased that has already
    been coded with a core set of
    functionality and design elements

• Often purchased in a online
    marketplace or from an online vendor
    specializing in theme creation
What is a WP
        Theme Framework?

•   A pre-built theme with flexible
    functionality

•   Typically contain their own sets of
    action/filter hooks on top of WP’s core
    API

• Typically meant to be customized via
Common               isconceptions

•   Easy to customize & less risky than a
    freelancer

•   Compatible with your desired/existing
    plugins

•   They are SEO magic!

• They save time and money by
Easy to Customize

•   Depends on:

    • Theme/framework itself
    • Your WordPress & web
        development knowledge

    •   Your knowledge of the
        theme/framework
Easy to Customize

•   Target customers for pre-built themes/
    frameworks are users who have
    minimal budget, time or skills for
    customizations

•   May require hours of auditing to figure
    out the coding who/what/where/why/
    when/how of this theme package
Easy to Customize
•   Some are full of code that is
    “painted into a corner”

•   May be difficult to extend
    functionality

•   Changing one feature could
    break another

•   May modify/disable core WP
    functionality that other plugins
Less Riskier Than a Freelancer

•   You have no idea who coded
    this thing*

•   Many marketplace themes
    have glaring optimization &
    security holes

•   Don’t know how
    customizable it is until you’re
    in the admin interface
Case: Optimization Issues

•   Client with a site “re-designed” into a low-cost theme
    framework

•   Website was on by a large web hosting company that
    obviously doesn’t like elephants much (another issue all
    together)

•   Site would timeout 99% of the time, 200+ database
    queries per page load

•   Rewrote the theme using same HTML/CSS; built just the
    additional features needed:
Compatible With Plugins

•   Some themes use custom
    code to do fun, special
    features that bypass the
    actions and hooks that
    plugins use

•   Support may be an issue

•   What do you do if you
    upgrade WordPress and
    your theme stops working?
Compatible With Plugins




   • Themes built on a framework give you three layers of
       possible vulnerabilities

   • Upgrades, optimization, security
* Assuming we’re comparing an experienced and knowledgable WordPress contractor
my_formatter()
•   Recent client used a theme turning off the core
    content filters wpautop and wptexturize

•   wpautop formats your content with HTML
    paragraph tags and line breaks

•   wptexturize will help convert some special
    characters (e.g. ñ, », —) into corresponding
    HTML entities
my_formatter( $contd )
        [raw]
        <script type=”text/javascript”>
        for ( var i = 0; i < 100; i++) {
            alert(‘n00b’);
        }
        </script>
        <FONT COLOR=BLUE><B>I AM A HAX0R</I></B>
        [/raw]



Replaced core content filters to emulate shortcode functionality
allowing insertion of unformatted HTML.
my_formatter( $contd )

•   This allowed it’s users to paste HTML
    snippets, third-party Javascript widgets
    (e.g. Twitter, etc.) into their post content

• It removed the auto-formatting by
    WordPress so the raw HTML/CSS/
    Javascript was not being malformed
    with injected tags
Problem!
         my_formatter()
•   This was not a
    shortcode, it was a
    content filter pretending
    to be a shortcode

•   It ran after shortcodes
    were processed by WP
Problem!
       my_formatter()
•   So if you used a contact form that outputs
    specific markup it was injected with line
    breaks and wrapped in paragraph tags

• Behavior is now globally unexpected for all
    plugins and developers coming into the
    project
SEO MAGIC.

   •   Great rankings are not
       because you installed the
       hottest new WP theme
       framework

   •   Customizing your theme
       can affect your rankings
       further
SEO Magic: Markup

• Some themes come packaged with title/meta
    tag management that can be duplicated by
    very popular, FREE plugins

•   Your theme’s PHP isn’t optimized, it’s output
    (markup) is

•   Is the developer who built the $28 theme you
    just bought an expert in accessibility,
    semantics, and more?
Once you begin customizing
           markup,
you’re changing how well your
But It Does RANK!

Sorry, Galileo. You’re wrong.
SEO Magic: But It Does Rank!

•   Popular themes/frameworks are used
    by heavy content writers who are
    focused on writing and like
    customization options


• Their content is good. People link to it
    (back/inbound links)
SEO Empire

•   Your content is king and it supports
    your SEO emperor: inbound links
    (backlinks)

• Without quality inbound links from other
    relevant sites, you’re nothing

• You can’t polish a turd with strategically
A sexy sports car with all the
features is nothing without an
     engine and gasoline.
But It’s Good Stuff! Cheap!

•   Really? What have you gotten that was
    amazing in quality and cheap?
But It’s Good Stuff! Cheap!
                   In Theory.

• Unknown issues and limitations
    increase time/cost

• Often find issues after launch or when a
    feature is used after project completion
    (new work orders, more time)

•   Have had many $30 theme purchases
    cost clients over a thousand dollars,
Cheap Theme? $15.

Not Having a Glaring Security Hole
     or Optimization Issue?



  WordPress
                     Priceless.
Remember:

There are no shortcuts to
       awesome.
Does It Ever Make
     Sense?

  If content is king,
  context is queen.
Does It Ever Make
        Sense?
• Use your best judgment in context
  with your budget, client, project and
  level of patience.
 • Short-lived microsite
 • No budget
 • Avoiding a Comcast/Verizon/Intuit/
   Office Live site
It Really Doesn’t Make Sense...

•   ...if the client needs very unique
    branding
    •   there could be thousands of sites that look nearly identical


•   ...if security is a major, major concern

• ...if you need highly customized
    functionality tailored to a specific
If It’s Your Site...

•   Measure your needs versus how well
    the theme you’re choosing meets them.

•   Prepare to make compromises.
    Possibly many.

•   Over-estimate your costs. It will
    probably be more expensive than you
IF It’s For a Client Site...

• Educate your client as best as possible,
    ensure they understand the possible
    issues and limitations

•   Account for unknowns when estimating
    time/cost

•   Decide what you path you want to take
There are no magic bullets.
Thanks.

Mais conteúdo relacionado

Mais de Andy Stratton

Everything is Relative: Frameworks, Plugins & SEO
Everything is Relative: Frameworks, Plugins & SEOEverything is Relative: Frameworks, Plugins & SEO
Everything is Relative: Frameworks, Plugins & SEO
Andy Stratton
 

Mais de Andy Stratton (9)

50 Shades of WordPress
50 Shades of WordPress50 Shades of WordPress
50 Shades of WordPress
 
We Are WordPress
We Are WordPressWe Are WordPress
We Are WordPress
 
Everything is Relative: Frameworks, Plugins & SEO
Everything is Relative: Frameworks, Plugins & SEOEverything is Relative: Frameworks, Plugins & SEO
Everything is Relative: Frameworks, Plugins & SEO
 
Accomplish It With Core: Sliders Galleries + More
Accomplish It With Core: Sliders Galleries + MoreAccomplish It With Core: Sliders Galleries + More
Accomplish It With Core: Sliders Galleries + More
 
Let's Build a Custom Theme
Let's Build a Custom ThemeLet's Build a Custom Theme
Let's Build a Custom Theme
 
Accomplish It With Core: Sliders, Galleries and More
Accomplish It With Core: Sliders, Galleries and MoreAccomplish It With Core: Sliders, Galleries and More
Accomplish It With Core: Sliders, Galleries and More
 
How To Write a WordPress Plugin
How To Write a WordPress PluginHow To Write a WordPress Plugin
How To Write a WordPress Plugin
 
Diet Pills, SEO & Theme Frameworks: There are no magic bullets.
Diet Pills, SEO & Theme Frameworks: There are no magic bullets.Diet Pills, SEO & Theme Frameworks: There are no magic bullets.
Diet Pills, SEO & Theme Frameworks: There are no magic bullets.
 
WordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview Presentation
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

WordPress DC Meetup: Diet Pills/SEO/Theme Frameworks

  • 1. Diet Pills, SEO & Theme Frameworks There are no magic bullets. Andy Stratton, WordPress DC Meetup, August 2011 http://theandystratton.com • hello@theandystratton.com
  • 2. What is a pre-built theme? • A theme purchased that has already been coded with a core set of functionality and design elements • Often purchased in a online marketplace or from an online vendor specializing in theme creation
  • 3. What is a WP Theme Framework? • A pre-built theme with flexible functionality • Typically contain their own sets of action/filter hooks on top of WP’s core API • Typically meant to be customized via
  • 4. Common isconceptions • Easy to customize & less risky than a freelancer • Compatible with your desired/existing plugins • They are SEO magic! • They save time and money by
  • 5. Easy to Customize • Depends on: • Theme/framework itself • Your WordPress & web development knowledge • Your knowledge of the theme/framework
  • 6. Easy to Customize • Target customers for pre-built themes/ frameworks are users who have minimal budget, time or skills for customizations • May require hours of auditing to figure out the coding who/what/where/why/ when/how of this theme package
  • 7. Easy to Customize • Some are full of code that is “painted into a corner” • May be difficult to extend functionality • Changing one feature could break another • May modify/disable core WP functionality that other plugins
  • 8. Less Riskier Than a Freelancer • You have no idea who coded this thing* • Many marketplace themes have glaring optimization & security holes • Don’t know how customizable it is until you’re in the admin interface
  • 9. Case: Optimization Issues • Client with a site “re-designed” into a low-cost theme framework • Website was on by a large web hosting company that obviously doesn’t like elephants much (another issue all together) • Site would timeout 99% of the time, 200+ database queries per page load • Rewrote the theme using same HTML/CSS; built just the additional features needed:
  • 10. Compatible With Plugins • Some themes use custom code to do fun, special features that bypass the actions and hooks that plugins use • Support may be an issue • What do you do if you upgrade WordPress and your theme stops working?
  • 11. Compatible With Plugins • Themes built on a framework give you three layers of possible vulnerabilities • Upgrades, optimization, security * Assuming we’re comparing an experienced and knowledgable WordPress contractor
  • 12. my_formatter() • Recent client used a theme turning off the core content filters wpautop and wptexturize • wpautop formats your content with HTML paragraph tags and line breaks • wptexturize will help convert some special characters (e.g. ñ, », —) into corresponding HTML entities
  • 13. my_formatter( $contd ) [raw] <script type=”text/javascript”> for ( var i = 0; i < 100; i++) { alert(‘n00b’); } </script> <FONT COLOR=BLUE><B>I AM A HAX0R</I></B> [/raw] Replaced core content filters to emulate shortcode functionality allowing insertion of unformatted HTML.
  • 14. my_formatter( $contd ) • This allowed it’s users to paste HTML snippets, third-party Javascript widgets (e.g. Twitter, etc.) into their post content • It removed the auto-formatting by WordPress so the raw HTML/CSS/ Javascript was not being malformed with injected tags
  • 15. Problem! my_formatter() • This was not a shortcode, it was a content filter pretending to be a shortcode • It ran after shortcodes were processed by WP
  • 16. Problem! my_formatter() • So if you used a contact form that outputs specific markup it was injected with line breaks and wrapped in paragraph tags • Behavior is now globally unexpected for all plugins and developers coming into the project
  • 17. SEO MAGIC. • Great rankings are not because you installed the hottest new WP theme framework • Customizing your theme can affect your rankings further
  • 18. SEO Magic: Markup • Some themes come packaged with title/meta tag management that can be duplicated by very popular, FREE plugins • Your theme’s PHP isn’t optimized, it’s output (markup) is • Is the developer who built the $28 theme you just bought an expert in accessibility, semantics, and more?
  • 19. Once you begin customizing markup, you’re changing how well your
  • 20. But It Does RANK! Sorry, Galileo. You’re wrong.
  • 21. SEO Magic: But It Does Rank! • Popular themes/frameworks are used by heavy content writers who are focused on writing and like customization options • Their content is good. People link to it (back/inbound links)
  • 22. SEO Empire • Your content is king and it supports your SEO emperor: inbound links (backlinks) • Without quality inbound links from other relevant sites, you’re nothing • You can’t polish a turd with strategically
  • 23. A sexy sports car with all the features is nothing without an engine and gasoline.
  • 24. But It’s Good Stuff! Cheap! • Really? What have you gotten that was amazing in quality and cheap?
  • 25. But It’s Good Stuff! Cheap! In Theory. • Unknown issues and limitations increase time/cost • Often find issues after launch or when a feature is used after project completion (new work orders, more time) • Have had many $30 theme purchases cost clients over a thousand dollars,
  • 26. Cheap Theme? $15. Not Having a Glaring Security Hole or Optimization Issue? WordPress Priceless.
  • 27. Remember: There are no shortcuts to awesome.
  • 28. Does It Ever Make Sense? If content is king, context is queen.
  • 29. Does It Ever Make Sense? • Use your best judgment in context with your budget, client, project and level of patience. • Short-lived microsite • No budget • Avoiding a Comcast/Verizon/Intuit/ Office Live site
  • 30. It Really Doesn’t Make Sense... • ...if the client needs very unique branding • there could be thousands of sites that look nearly identical • ...if security is a major, major concern • ...if you need highly customized functionality tailored to a specific
  • 31. If It’s Your Site... • Measure your needs versus how well the theme you’re choosing meets them. • Prepare to make compromises. Possibly many. • Over-estimate your costs. It will probably be more expensive than you
  • 32. IF It’s For a Client Site... • Educate your client as best as possible, ensure they understand the possible issues and limitations • Account for unknowns when estimating time/cost • Decide what you path you want to take
  • 33. There are no magic bullets.

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n