作者:empty 页数:675 出版社:empty |
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY:THE PUBLISHER AND THE AUTHOR MAKE NOREPRESENTATIONS OR WARRANTIES WITH I RESPECT TO THE ACCURACY OR COMPLETENESS OF THECONTENT 5 OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANT IE 5, 1N CLUDING WITHOUTLIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE.NO WARRANTY MAYBE CREATEDOR EXTENDED BY SALES OR PROMOTIONAL MATER LALS.THE ADVICE AND STRATEG lES CONTAINEDHEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION THIS WORK IS SOLD WITH THE UNDERSTANDINGTHAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONALSERVICES IF PROFESSIONAL ASSISTANCE IS REQUIRED.THE SERVICES OF A COMPETENT PROFESSIONALPERSON SHOULD BESOUGHT.NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FORDAMAGES ARISING HERE FROM.THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO INTHIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEANTHAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITEMAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE.FURTHER, READERS SHOULD BE AWARE THATINTERNET WEBSITES LISTED IN THI WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHENTHIS WORK WAS WRITTEN AND WHEN IT IS READFar general informaton on our other products and services or i oob tan technical support, please contact our CustomerLibraryolCongressControlNumher:200994364+Trademarks:Wiley.theWileylogo.andrelatedtradedressaretrademarkcsorrcgisteredtrademarksolJohnWilry&tSons.Inc and/or usa fli ates, in the United 5tates and other countries.and may not be used without wri it en permission.WordPress sa regs tered trademark of Automattic, In e All other trademarks are the property of their respect ic owners.Wiley Publishing, Inc, is noc associated with any product or vendor mention rd in this bookWieyabsopublashesitsbool sina van ety of electronic formals.Some content that appears in print may not be avalable nc lectronic books
About the AuthorAaronBrazellistheLeadEditorofTechnosailor.comand the CEO of Emmen se Technologies,LLC, a WordPress consultancy company located in the greater Washington, D.C.area He has beenan active mem her of the WordPress commumtysince2004asa developer, user, and consultantHead vs essaandmedumszedbusnsses(and on ocas on.an eepn se or no-pol for ganization lon innovative WordPress solutions and guides them in strategy and business decisionspertaining to their online endeavors.He is a frequen i public speaker, engaging with the WordPress community at Ward Camps aroundthe United States, as well as at marketing.social media, and other industry events He is the leadorganizer ol Word Camp Mid-Atlantic, a WordPress community conference catering ta the GreaterCapital region, which includes Maryland, D.C., Delaware, and Northern Virginia.He believes inchallenging conventional thinking and assumptions, and as a result, often takes actions that areprovocative, strategic, and unconventional inane lort to move dialogue and popular opinionforwardIn addition to his work with WordPress and s octal media, Aaron is an avid photographer andsportsfan(his lavori te team ns are the Baston RedSox and Balti mare Ravens) , and has ones on,Devin Michael.He currently lives in Bethesda, MarylandAbout the Technical EditorMark Jaqui this a lead developer on the WordPress project and does full tie WordPressconsu lung and development through his company, Covered WebServices(http il/covered webae vice a.con) .He specializes in custom plugins, performance, scaling.and security.Mark hasbeen contr but ng to WordPress sice 2004, and proud y dropped out of college in2005todowhat hel aves:enabling millions to easily publish their co nient on the Web.When hes not work.ing on WordPress or Web pub shing proje ets.he enjoys photography.philosophy, and films.
Cntents
Supprt frums
The WrdPress Cdex.
Hackers mailinglist.
Testers mailing lit.
Trac.
Sie ps fr set ig up prper cannical URL redirect n.
AutgenerateD ese rip tin.
Frewrd.
Preface.
Part l:GettingStarted with WrdPress
Chapter1:LearningAbutWrdPress.
Chapter2:InstallingandCnfiguringWrdPress.
Chapter3:WrdPress, SE, and Scial Media Marketing.
A Briel Histry f WrdPress.
The creatin f WrdPress
The WrdPress ecsystem emerges
The future f WrdPress.
Supprt.
IRC
Develpment.
Leveraging the WrdPress Cmmunity
WrdPress by the Numbers.
10ThingsYuNeedi Knw Abut WrdPress
99
Speedup the back-end with Ggle Gears.
Generate cntent with an ffline cd it r.
Benefit frm built-in SE features.
Widget ize yur blg fr au niuc experience
Apache md_rewrite
eAcceleratr fr PHP
APC fr PHP
SSH 2 mdule fr PHP
FTP fr PHP.
Ggle searches.
Ggle WebmasterTls
Meta keywrds tag.
Meta deser ip tin tag
Title tag
Hme Title.
Hme Des en ptin.
Hme Keywrds.
Can an ical URLs
Rewrite Titles.
Title Frmals-
Use Categ nes fr META Keywrds
Dynamically Generate Keywrds fr Psts Page
N index ptins.
Additinal Headers.
Facebk Phts fr WrdPress
WP-Facebk Cnnect.
Install themes.plug us.and cre upgrades ati matical y
Tum yur blg int a scial netwrk.
Extend WrdPress wah plugins.
Prvide cntext with the WrdPress taxn amy
Imprt yur blg frm any plt frm.
Take advantage f multiple feeds
Apache
Light pd
Litespeed
Ng in x
Inte met Tnl rmatin Servies.
ptinal mdules
Cnfg uring the database.
Uplading yur iles
Cannical URLs
The Metatag bst
The Allinne SE plugin.
Facebk.
Understanding penSurce and the General Public License.
Summary.
System Requirements.
Chsing a We h Server.
Installing WrdPress.
Summary
Under si and ing the Basic sl SearchEngine plimlzaii.
Leveraging Scial Netwrks t Extend Yur Blg.
Twitter.
wp-hackers.
wp-testers.
wp-dcs
wp-pr
wp-xmlrpc
wp-plyglts
wp-svn
wp-trac
The anatmy f a hk.
Theme hks y
Creating an admin interface
Twi lter Tls
Tweet Meme.
Installatin
Summary-
Chapter4:FindingHelpintheWrdPressSupprtSystem.
Examining the Schema and Prperties f the Database Class.
Using the WrdPress Cdex.
Staying in the Lp with MailingLists.
The database prper ticsa
Fun dig Help in the WrdPress Supprt Frums
Understanding WrdPress Hks
Writing Yur wn Plugin
Extending the WrdPress Admin.
Using Widgets in WrdPress.
Building Widgets with the Widget API
Widget i zang Yur Theme
Understanding the supprt frum layut
Psting in the supprt frums
Summat y
Part II:Wrking with Plugins
Chapter5:ExtendingWrdPresswithPlugins.
Creating Events with Actins.
Mdifying Cntent with Filters.
Using Multi-Argument Hks.
Lcalizing Plugins
Summary
Chapter6:WidgetizingWrdPress
HwT and Trubles h cing.
Plugins and Hacks
WP-Advanced
Yur WrdPress
Misc el lane lis
Requests and Feedback
Alpha/Beta.
Adding an admin panel t the WrdPress Admin navia n menu.
Creating unique nne es fr plugin fm security-.
Prcessing data and inter a ing with the database
Lading JavaScript li branes.
Cre aig new Dashbard widgets
En a bng plugin cde frtran satin.
Prviding a textdmain fr the plugin.
Genc rating a PT filet r translatrs.
Building a new widget plugin
Cr ealing a cntrl Interface fr the plugin.
Saving cnfiguratin data.
Putting it all tgether.
Replacing existing widgets.
Declaring sidebars
Integral ing widget ized side bats in themes.
Summary
Chapter7:UnderstandingtheWrdPressDatabaseClass
Preparing JavaScript with wp_en que uc_ser ip t
shw_errrs,
suppress_errrs.
last_err ar
num_queries
last_query.
cl_int
que nes.
pre lx.
ready.
psts.
pst meta.
users.
user met k
cmments
.cmment meta.
links
ptins
tes
term_taxnmy
tem_relatinships.n
Cntents
feld_types.
charset.
cllate.
real_escape
Featured stries
Future psts
Display nly sticky psts
Adding Data t MySQL with WrdPress
Retrieving Data frm My5QL with WrdPress
Preventing SQL Injectin
Summat y
Chapter8:DissectingtheLpandWP_Query.
I sertingnewdataintMy5QL
Up daing data in MySQL safely
Retrieving a single value frm a table
Retrieving a clumn f data.
Retrieving a rw f data.
Retrieving a full dataset
Perfrming ther queries,
Discvering query hks
Altering the query wth hks
Using query_pst s and rewind_pus ts
Instantiating a new Lp with WP_Query.
Us ng variables t a her the query
Examples f WP_Query in actin
Typgraphy.
.Whitespace
Fx ed r fluid wdth
Sidebars
s lyle css
Cmparing the framewrks
Prt rype.ser ips.acul.us.
J Query:Autsave.
j Query hver intent.
J Query:Far bt as tie.
Deh in ing the Lp.
index php
header php
fter php
side har.php.
cmments.php.
single php
archive.php
page php.
search php
functins.php.
screensht.png
attachment.php.
J Query
Prt ly pe
Prttype:TinyMCE
j Query j Query Ul
j Query Reply t Cmment.
Scial Bkmarks.
Wrangling the Lp with Plugins
Develping Custm and Multiple Lps
Using Lps Strategically a
Summary
Understanding the User Experience.
Finding and Imple n ting Free Themes.
Finding and Implementing Premium Themes
Summary.
Lking al the Minimum Necessary Template Files.
Understanding