SlideShare a Scribd company logo
1 of 36
Hidden Gems
Stephanie Leary   sillybean.net   @sleary
Hiding in Plain Sight
Screen Options
Bulk Edit
Private Status
Short Links
 the_shortlink();
Out of Sight,
Out of Mind
Dashboard Feeds
Options.php
http://blog.tanist.co.uk/files/unserialize/
http://sillybean.net/code/wordpress/edit-all-options/
Hidden Feeds
Feed                   Default URL               Clean URL

                      /?feed=rss2               /feed
     Basic            /?feed=atom               /feed/atom

          /?feed=comments-rss2                  /comments/feed
 Comments /?feed=comments-atom                  /comments/feed/atom

  Category            /?feed=rss2&cat=1         /category/news/feed
(ID: 1, slug: news)   /?feed=atom&cat=1         /category/news/feed/atom

      Tag             /?feed=rss2&tag=book      /tag/book/feed
   (slug: book)       /?feed=atom&tag=book      /tag/book/feed/atom

      Tags            /?feed=rss2&tag=book+dvd /tag/book+dvd/feed
(slugs: book, dvd)    /?feed=atom&tag=book+dvd /tag/book+dvd/feed/atom
Feed                  Default URL                   Clean URL

  Author         /?feed=rss2&author=2         /author/joe/feed
    (ID: 2,
nickname: Joe)
                 /?feed=atom&author=2         /author/joe/feed/atom


Post Type /?feed=rss2&post_type=course        /feed/?post_type=course
(page; course)   /?feed=atom&post_type=course /feed/atom/?post_type=course

Taxonomy /?feed=rss2&genre=mystery            /genre/mystery/feed
  (genre:
  mystery)
                 /?feed=atom&genre=mystery    /genre/mystery/feed/atom

  Search         /?feed=rss2&s=wordpress      /feed/?s=wordpress
   Term          /?feed=atom&s=wordpress      /feed/atom/?s=wordpress
 (wordpress)
Buried Treasure
Filters
Shortcodes in Widgets
 add_filter( 'widget_text',
 'shortcode_unautop');
 add_filter( 'widget_text',
 'do_shortcode');




         http://sillybean.net/?p=2719
List Child Pages
function append_child_pages( $content ) {

    $children = '';

    if ( is_page() && (empty( $content )) ) {

        global $post;

        $children = '<ul class="childpages">'
                    .wp_list_pages('echo=0&title_li=&child_of='.$post->ID)
                    .'</ul>';

    }

    return $content.$children;

}

add_filter( 'the_content' , 'append_child_pages' );

                      http://sillybean.net/?p=5246
User Contact Info
function change_contactmethod( $contactmethods ) {

    // Add some fields
    $contactmethods['twitter'] = 'Twitter Name (no @)';
    $contactmethods['phone'] = 'Phone Number';
    $contactmethods['title'] = 'Title';

    // Remove AIM, Yahoo IM, Google Talk/Jabber
    unset($contactmethods['aim']);
    unset($contactmethods['yim']);
    unset($contactmethods['jabber']);

    // make it go!
    return $contactmethods;

}

add_filter('user_contactmethods','change_contactmethod',10,1);


                  http://sillybean.net/?p=2714
http://sillybean.net/?p=2715
All Filters
http://codex.wordpress.org/Plugin_API/
           Filter_Reference
Pirate Loot
JavaScript Libraries
   • jQuery
   • Scriptaculous
   • Prototype
   • SWFUpload
   • Thickbox
   • JSON for JS
http://codex.wordpress.org/Function_Reference/
              wp_enqueue_script
Thank you.
     Stephanie Leary
     sillybean.net
     @sleary

More Related Content

What's hot

Achmea Vitale Presentatie
Achmea Vitale PresentatieAchmea Vitale Presentatie
Achmea Vitale PresentatieDiana Russo
 
Magazine layout 3
Magazine layout 3Magazine layout 3
Magazine layout 3Jaime Flynn
 
"Innovación radical: open access, auto-aprendizaje y sobreabundancia"
"Innovación radical: open access, auto-aprendizaje y sobreabundancia""Innovación radical: open access, auto-aprendizaje y sobreabundancia"
"Innovación radical: open access, auto-aprendizaje y sobreabundancia"@cristobalcobo
 
Content construction with zoo
Content construction with zooContent construction with zoo
Content construction with zooChris Rault
 
Facebook für PHP Entwickler - phpugffm
Facebook für PHP Entwickler - phpugffmFacebook für PHP Entwickler - phpugffm
Facebook für PHP Entwickler - phpugffmStephan Hochdörfer
 
URL Resources
URL ResourcesURL Resources
URL Resourcestombecky
 
gumiStudy#11 newsing(fb)
gumiStudy#11 newsing(fb)gumiStudy#11 newsing(fb)
gumiStudy#11 newsing(fb)Gotoh Saneyuki
 
Grizzly manpaper
Grizzly manpaperGrizzly manpaper
Grizzly manpapersmagdeburg
 
Listing 510 East 80th
Listing 510 East 80thListing 510 East 80th
Listing 510 East 80thjroberts0901
 
Microformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebMicroformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebChris Griego
 
Mario chaves
Mario chavesMario chaves
Mario chavesAvantica
 
OIF040 HR & Social Media
OIF040 HR & Social MediaOIF040 HR & Social Media
OIF040 HR & Social MediaDiana Russo
 

What's hot (20)

Achmea Vitale Presentatie
Achmea Vitale PresentatieAchmea Vitale Presentatie
Achmea Vitale Presentatie
 
Magazine layout 3
Magazine layout 3Magazine layout 3
Magazine layout 3
 
"Innovación radical: open access, auto-aprendizaje y sobreabundancia"
"Innovación radical: open access, auto-aprendizaje y sobreabundancia""Innovación radical: open access, auto-aprendizaje y sobreabundancia"
"Innovación radical: open access, auto-aprendizaje y sobreabundancia"
 
Content construction with zoo
Content construction with zooContent construction with zoo
Content construction with zoo
 
Facebook für PHP Entwickler - phpugffm
Facebook für PHP Entwickler - phpugffmFacebook für PHP Entwickler - phpugffm
Facebook für PHP Entwickler - phpugffm
 
ESWC 2009 Lightning Talks
ESWC 2009 Lightning TalksESWC 2009 Lightning Talks
ESWC 2009 Lightning Talks
 
URL Resources
URL ResourcesURL Resources
URL Resources
 
gumiStudy#11 newsing(fb)
gumiStudy#11 newsing(fb)gumiStudy#11 newsing(fb)
gumiStudy#11 newsing(fb)
 
Clementina Velasco — Zines
Clementina Velasco — ZinesClementina Velasco — Zines
Clementina Velasco — Zines
 
Stb ckm
Stb ckmStb ckm
Stb ckm
 
Pam pdf
Pam pdfPam pdf
Pam pdf
 
João Rodrigues - be IN Bragança
João Rodrigues - be IN BragançaJoão Rodrigues - be IN Bragança
João Rodrigues - be IN Bragança
 
Grizzly manpaper
Grizzly manpaperGrizzly manpaper
Grizzly manpaper
 
Listing 510 East 80th
Listing 510 East 80thListing 510 East 80th
Listing 510 East 80th
 
Microformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebMicroformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic Web
 
Ppt 4r
Ppt 4rPpt 4r
Ppt 4r
 
Treacle tart
Treacle tartTreacle tart
Treacle tart
 
Asool rijal2
Asool rijal2Asool rijal2
Asool rijal2
 
Mario chaves
Mario chavesMario chaves
Mario chaves
 
OIF040 HR & Social Media
OIF040 HR & Social MediaOIF040 HR & Social Media
OIF040 HR & Social Media
 

Similar to WordPress Hidden Gems (July 2011)

WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)Stephanie Leary
 
Facebook Development with Zend Framework
Facebook Development with Zend FrameworkFacebook Development with Zend Framework
Facebook Development with Zend FrameworkBrett Harris
 
Advanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIsAdvanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIsandrewnacin
 
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)modeelf
 
Let's write secure Drupal code! DUG Belgium - 08/08/2019
Let's write secure Drupal code! DUG Belgium - 08/08/2019Let's write secure Drupal code! DUG Belgium - 08/08/2019
Let's write secure Drupal code! DUG Belgium - 08/08/2019Balázs Tatár
 
Django O/R Mapper
Django O/R MapperDjango O/R Mapper
Django O/R MapperIan Lewis
 
August 10th, 2009 Pete De Mulle Twitter
August 10th, 2009 Pete De Mulle TwitterAugust 10th, 2009 Pete De Mulle Twitter
August 10th, 2009 Pete De Mulle TwitterStraight North
 
FVCP - Facebook , Twitter and Meetup API / Widgets
FVCP - Facebook , Twitter and Meetup API / WidgetsFVCP - Facebook , Twitter and Meetup API / Widgets
FVCP - Facebook , Twitter and Meetup API / WidgetsPete DuMelle
 
Spyware/Malware FVCP
Spyware/Malware  FVCPSpyware/Malware  FVCP
Spyware/Malware FVCPPete DuMelle
 
Curso Symfony - Clase 4
Curso Symfony - Clase 4Curso Symfony - Clase 4
Curso Symfony - Clase 4Javier Eguiluz
 
Great Developers Steal
Great Developers StealGreat Developers Steal
Great Developers StealBen Scofield
 

Similar to WordPress Hidden Gems (July 2011) (20)

WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
 
Migrare da symfony 1 a Symfony2
 Migrare da symfony 1 a Symfony2  Migrare da symfony 1 a Symfony2
Migrare da symfony 1 a Symfony2
 
PhpBB meets Symfony2
PhpBB meets Symfony2PhpBB meets Symfony2
PhpBB meets Symfony2
 
Facebook Development with Zend Framework
Facebook Development with Zend FrameworkFacebook Development with Zend Framework
Facebook Development with Zend Framework
 
QA for PHP projects
QA for PHP projectsQA for PHP projects
QA for PHP projects
 
Ruby on discuz
Ruby on discuzRuby on discuz
Ruby on discuz
 
Django
DjangoDjango
Django
 
Symfony2 - OSIDays 2010
Symfony2 - OSIDays 2010Symfony2 - OSIDays 2010
Symfony2 - OSIDays 2010
 
Advanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIsAdvanced and Hidden WordPress APIs
Advanced and Hidden WordPress APIs
 
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)
fb-researchの舞台裏No.2~技術編~(HatchUp主催 渋谷Facebookアプリ勉強会)
 
Let's write secure Drupal code! DUG Belgium - 08/08/2019
Let's write secure Drupal code! DUG Belgium - 08/08/2019Let's write secure Drupal code! DUG Belgium - 08/08/2019
Let's write secure Drupal code! DUG Belgium - 08/08/2019
 
Django O/R Mapper
Django O/R MapperDjango O/R Mapper
Django O/R Mapper
 
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
 
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
 
August 10th, 2009 Pete De Mulle Twitter
August 10th, 2009 Pete De Mulle TwitterAugust 10th, 2009 Pete De Mulle Twitter
August 10th, 2009 Pete De Mulle Twitter
 
FVCP - Facebook , Twitter and Meetup API / Widgets
FVCP - Facebook , Twitter and Meetup API / WidgetsFVCP - Facebook , Twitter and Meetup API / Widgets
FVCP - Facebook , Twitter and Meetup API / Widgets
 
Spyware/Malware FVCP
Spyware/Malware  FVCPSpyware/Malware  FVCP
Spyware/Malware FVCP
 
Curso Symfony - Clase 4
Curso Symfony - Clase 4Curso Symfony - Clase 4
Curso Symfony - Clase 4
 
Add loop shortcode
Add loop shortcodeAdd loop shortcode
Add loop shortcode
 
Great Developers Steal
Great Developers StealGreat Developers Steal
Great Developers Steal
 

More from Stephanie Leary

Writing for the Web in Government and Education
Writing for the Web in Government and EducationWriting for the Web in Government and Education
Writing for the Web in Government and EducationStephanie Leary
 
Content Strategy for WordPress: Case Study
Content Strategy for WordPress: Case StudyContent Strategy for WordPress: Case Study
Content Strategy for WordPress: Case StudyStephanie Leary
 
Content Strategy for WordPress
Content Strategy for WordPressContent Strategy for WordPress
Content Strategy for WordPressStephanie Leary
 
There's a Plugin for That
There's a Plugin for ThatThere's a Plugin for That
There's a Plugin for ThatStephanie Leary
 
The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012Stephanie Leary
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress UniversityStephanie Leary
 
What's New in WordPress 3.0 (for developers)
What's New in WordPress 3.0 (for developers)What's New in WordPress 3.0 (for developers)
What's New in WordPress 3.0 (for developers)Stephanie Leary
 
Social Media for Researchers
Social Media for ResearchersSocial Media for Researchers
Social Media for ResearchersStephanie Leary
 
WordPress as a CMS (short version)
WordPress as a CMS (short version)WordPress as a CMS (short version)
WordPress as a CMS (short version)Stephanie Leary
 

More from Stephanie Leary (18)

WordPress for the 99%
WordPress for the 99%WordPress for the 99%
WordPress for the 99%
 
Content First in Action
Content First in ActionContent First in Action
Content First in Action
 
Writing for the Web in Government and Education
Writing for the Web in Government and EducationWriting for the Web in Government and Education
Writing for the Web in Government and Education
 
Getting to WordPress
Getting to WordPressGetting to WordPress
Getting to WordPress
 
Content Strategy for WordPress: Case Study
Content Strategy for WordPress: Case StudyContent Strategy for WordPress: Case Study
Content Strategy for WordPress: Case Study
 
Content Strategy for WordPress
Content Strategy for WordPressContent Strategy for WordPress
Content Strategy for WordPress
 
There's a Plugin for That
There's a Plugin for ThatThere's a Plugin for That
There's a Plugin for That
 
The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012
 
Keeping It Simple
Keeping It SimpleKeeping It Simple
Keeping It Simple
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 
Tricky Migrations
Tricky MigrationsTricky Migrations
Tricky Migrations
 
Importing & Migrating
Importing & MigratingImporting & Migrating
Importing & Migrating
 
WordPress Hidden Gems
WordPress Hidden GemsWordPress Hidden Gems
WordPress Hidden Gems
 
What's New in WordPress 3.0 (for developers)
What's New in WordPress 3.0 (for developers)What's New in WordPress 3.0 (for developers)
What's New in WordPress 3.0 (for developers)
 
I'm with Stupid
I'm with StupidI'm with Stupid
I'm with Stupid
 
Social Media for Researchers
Social Media for ResearchersSocial Media for Researchers
Social Media for Researchers
 
WordPress as a CMS (short version)
WordPress as a CMS (short version)WordPress as a CMS (short version)
WordPress as a CMS (short version)
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
 

Recently uploaded

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 DevelopmentsTrustArc
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
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.pdfUK Journal
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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 WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Recently uploaded (20)

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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

WordPress Hidden Gems (July 2011)

  • 1. Hidden Gems Stephanie Leary sillybean.net @sleary
  • 4.
  • 5.
  • 6.
  • 8.
  • 10.
  • 11.
  • 12.
  • 14.
  • 15. Out of Sight, Out of Mind
  • 17.
  • 19.
  • 23. Feed Default URL Clean URL /?feed=rss2 /feed Basic /?feed=atom /feed/atom /?feed=comments-rss2 /comments/feed Comments /?feed=comments-atom /comments/feed/atom Category /?feed=rss2&cat=1 /category/news/feed (ID: 1, slug: news) /?feed=atom&cat=1 /category/news/feed/atom Tag /?feed=rss2&tag=book /tag/book/feed (slug: book) /?feed=atom&tag=book /tag/book/feed/atom Tags /?feed=rss2&tag=book+dvd /tag/book+dvd/feed (slugs: book, dvd) /?feed=atom&tag=book+dvd /tag/book+dvd/feed/atom
  • 24. Feed Default URL Clean URL Author /?feed=rss2&author=2 /author/joe/feed (ID: 2, nickname: Joe) /?feed=atom&author=2 /author/joe/feed/atom Post Type /?feed=rss2&post_type=course /feed/?post_type=course (page; course) /?feed=atom&post_type=course /feed/atom/?post_type=course Taxonomy /?feed=rss2&genre=mystery /genre/mystery/feed (genre: mystery) /?feed=atom&genre=mystery /genre/mystery/feed/atom Search /?feed=rss2&s=wordpress /feed/?s=wordpress Term /?feed=atom&s=wordpress /feed/atom/?s=wordpress (wordpress)
  • 27. Shortcodes in Widgets add_filter( 'widget_text', 'shortcode_unautop'); add_filter( 'widget_text', 'do_shortcode'); http://sillybean.net/?p=2719
  • 28. List Child Pages function append_child_pages( $content ) { $children = ''; if ( is_page() && (empty( $content )) ) { global $post; $children = '<ul class="childpages">' .wp_list_pages('echo=0&title_li=&child_of='.$post->ID) .'</ul>'; } return $content.$children; } add_filter( 'the_content' , 'append_child_pages' ); http://sillybean.net/?p=5246
  • 29. User Contact Info function change_contactmethod( $contactmethods ) { // Add some fields $contactmethods['twitter'] = 'Twitter Name (no @)'; $contactmethods['phone'] = 'Phone Number'; $contactmethods['title'] = 'Title'; // Remove AIM, Yahoo IM, Google Talk/Jabber unset($contactmethods['aim']); unset($contactmethods['yim']); unset($contactmethods['jabber']); // make it go! return $contactmethods; } add_filter('user_contactmethods','change_contactmethod',10,1); http://sillybean.net/?p=2714
  • 30.
  • 34. JavaScript Libraries • jQuery • Scriptaculous • Prototype • SWFUpload • Thickbox • JSON for JS http://codex.wordpress.org/Function_Reference/ wp_enqueue_script
  • 35.
  • 36. Thank you. Stephanie Leary sillybean.net @sleary

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. If you&amp;#x2019;ve been using WordPress for a while, you might not have noticed the screen options that were added a few versions ago. You can change the number of posts or pages shown per page in the Edit screens, and you can hide some of the columns if you like.\n
  5. On the menu screen, the screen options allows you to show things that are normally hidden, like custom post types and taxonomies.\n
  6. On the Dashboard, the screen options let you choose the number of columns your widgets are displayed in, and you can turn off individual widgets.\n
  7. \n
  8. The bulk edit feature is also easy to overlook. Check off several posts in the Edit screen, then choose &amp;#x201C;Edit&amp;#x201D; from the Bulk Actions dropdown. You&amp;#x2019;ll be able to edit all the attributes of the posts: categories, tags, comment/trackback settings, publication status, and sticky status. You won&amp;#x2019;t be able to edit things that are naturally unique to each post, like the title and date.\n
  9. \n
  10. Did you know there&amp;#x2019;s a members-only content feature built right into WordPress? It&amp;#x2019;s a little buggy, which is probably why it&amp;#x2019;s not more well-known. If you change a post or page to privately published, only logged-in users who can see private posts and pages will be able to see it.\n
  11. This is Justin Tadlock&amp;#x2019;s Members plugin. Among other things, you can choose which roles can edit or read private posts and pages -- or you can create a whole new role for that purpose.\n
  12. My own Private Suite plugin also lets you choose roles for reading private content.\n
  13. the_shortlink() is a new function in 3.0. It lets you print a shorter permalink for your post in your template file for readers to use. If you have the WordPress Stats plugin installed, you&amp;#x2019;ll see wp.me links (although you can turn that off in the plugin&amp;#x2019;s settings). If not, you&amp;#x2019;ll see the default permalink structure (example.com/?p=123), which always works no matter what permalink structure you&amp;#x2019;ve chosen.\n
  14. \n
  15. \n
  16. \n
  17. The Incoming Links and the two WordPress news Dashboard widgets are just RSS readers. Click &amp;#x201C;configure&amp;#x201D; in the upper right corner of each widget, and you&amp;#x2019;ll be able to change the RSS feed that&amp;#x2019;s shown.\n
  18. \n
  19. Type options.php into your address bar (example.com/wp-admin/options.php) and you&amp;#x2019;ll get this alphabetized listing of all the options stored in your wp_options database table. Some won&amp;#x2019;t be editable -- if they&amp;#x2019;re stored as arrays, you&amp;#x2019;ll just see &amp;#x201C;Serialized data&amp;#x201D; -- but the rest can be changed here. Be careful with this!\n
  20. You can edit serialized options by changing the database fields directly. Copy the serialized array (shown here in the row with the ID 10390) and paste it into the Online PHP Unserializer at blog.tanist.co.uk. This tool will convert the serialized array to a more familiar array printout. You can then make changes and re-serialize the array to store it back in the database.\n
  21. \n
  22. \n
  23. WordPress automatically generates feeds for just about everything. Most of the time, the feeds for posts and comments are the only ones you see. For anything else, just add /feed to the URL and see what happens! You can get feeds for categories, tags, combinations of tags...\n
  24. ... individual authors&amp;#x2019; posts, post types (including pages!), taxonomy terms, and even search terms.\n
  25. \n
  26. This is where you&amp;#x2019;ll have to get your hands dirty with code. Filters allow you to change the way content is handled or displayed in WordPress sites.\n
  27. For example, you can easily allow users to use shortcodes in text widgets by adding these two lines to your functions.php file.\n
  28. It&amp;#x2019;s also easy to automatically list child pages on a parent page with empty content using this filter. (See my website for alternatives using shortcodes and template tags.)\n
  29. This filter alters the contact fields that are shown in user profiles. Here, I&amp;#x2019;ve removed the three IM fields and added Twitter, a phone number, and a job title.\n
  30. Here&amp;#x2019;s how the new contact fields appear.\n
  31. With the new fields in place, it&amp;#x2019;s easy to build a robust user directory. (See this URL for details on limiting the directory to certain roles.)\n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n