WordPress Ann Arbor: WP Tips and Tricks

  • 1,573 views
Uploaded on

 

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,573
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
5
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. As Many WordPress Tips and Tricks that I can fit in a 30 minute talk
    • Presentation for WordPress Ann Arbor.
    • Feb 23, 2011
    • Twitter Hash-tag #wpa2
    • Declan O’Neill
    • www.cake.ie
  • 2. Block all WordPress Core files from compliant search engines
    • Add the following code to your a robots.txt file.
          • User-agent: *
          • Disallow: /wp-*
          • Disallow: *.php
    • - user agent: (*) is used to target all compliant search engines.
    • - /wp-*: restricts all core files
    • - *.php: restricts all files ending with .php
    • See: http://www.cake.ie/dev/wpa2/robots.txt
  • 3. TAC (Theme Authenticity Checker)
    • Scan all of your theme files for potentially malicious or unwanted code.
    • http ://wordpress.org/extend/plugins/tac/
    • Hat Tip: WPMU
  • 4. Fix Broken / Outdated Links
    • Broken Link Checker
    • http ://wordpress.org/extend/plugins/broken-link-checker/
    • For offline link-checking analysis, check out Xenu’s Link Sleuth
    • http ://home.snafu.de/tilman/xenulink.html
  • 5. WordPress Updates
    • ** Back up First!
    • Plugin - http://www.wordpress.org/extend/plugins/wp-db-backup/
  • 6. Creating and Using Custom Menus
    • Dashboard > Appearance > Menus
    • Dashboard > Appearance > Widgets >
  • 7. Enable MultiSite
  • 8. Page Specific Custom Headers
    • Example: http://www.cake.ie/dev/wpa2/?page_id=62
    Just create a banner image that is 940 x 198 pixels. Then follow the on-screen prompts to choose the image from your computer and upload it or choose it from one of the images already in your Media Library. Once the image has successfully been uploaded, look underneath the sizing options, and click “Use as featured image”. Don’t forget to click Update on your post/page to save your changes.
  • 9. Using WordPress as a CMS
    • Dashboard > Settings > Reading
    • Front page displays: Static Page
    • Select Default Front page - Usually “Home”
    • Select Default Homepage - Usually “News” or “Blog” or whatever you want to call it
  • 10. Change the Default Size of the Page Header Image (Twenty Ten Theme)
    • Dashboard > Appearance > Editor
    • Open “Theme Functions” (functions.php)
    • Find the following code:
    • Change 198 to the new preferred height - click “Update File”
  • 11. Change The Default Navigation Background Color (Twenty Ten Theme)
    • Dashboard > Appearance > Editor
    • Open “Stylesheet” (style.css) - Find this code
    • Change #000 to your color of choice.
    Default White / #fff Color to Hex Converter - http://www.colorschemer.com/online.html Get Hex Color from an Image - http://kuler.adobe.com/#create/fromanimage (Requires Flash)
  • 12. Default URLs vs. “Pretty” Permalinks
    • Dashboard > Settings > Permalinks
    • ** Pick one Permalink setting and Stick with it.
    • Permalink Types: http://codex.wordpress.org/Using_Permalinks
  • 13. Comments
    • Dashboard > Settings > Discussion:
    • Users must be registered and logged in to comment
    • Automatically close comments on articles older than (90) days
    • E-mail me whenever anyone posts a comment
    • Before a comment appears: An administrator must always approve the comment.
    • Comment Blacklist
  • 14. Duplicate Content Issues (One Post - many different views)
    • Blog Post: http://website.com/blog/i-like-cheese/
      • Category view: http://website.com/blog/category/food/
      • Tag view: http://website.com/blog/tag/cow/
      • Tag view: http://website.com/blog/tag/camembert/
      • Tag view: http://website.com/blog/tag/parmesan/
      • Daily archive view: http://website.com/blog/2011/02/23/
      • Monthly archive view: http://website.com/blog/2011/02/
      • Yearly archive view: http://website.com/blog/2011/
      • Author archive view: http://website.com/blog/author/your-name/
  • 15. Duplicate Content Issues [cont…]
    • Use robots.txt directives – to block Categories / Tags or Archives
    • Use Canonical Meta Tags – to specify the original URL.
    • Use Excerpts for Posts – Only display Post teasers on Archive pages.
  • 16. WordPress (Version 3.1) http://codex.wordpress.org/Version_3.1
    • Whats New?-
    • Admin Bar
    • Streamlined Writing Interface
    • Post Formats : http://codex.wordpress.org/Post_Formats
    • Exporter/Importer Overhaul
    • Custom Content Type Improvements: http://codex.wordpress.org/Post_Types
    • Advanced Queries
    • Refreshed Blue Admin Color Scheme