Sei sulla pagina 1di 382

WordPress

:
ebusinessfa.com@gmail.com
http://www.ebusinessfa.com
http://www.facebook.com/ebusinessfa
http://www.twitter.com/ebusinessfa

:
Ghenaat.reza@gmail.com
http://www.ghenaat.com

2011-
ebusinessfa.com@gmail.com
http://www.ebusinessfa.com
http://www.facebook.com/ebusinessfa
http://www.twitter.com/ebusinessfa

http://wp-persian.com

:
.
.
/ .
:
.
.
.
.


.......................................................................................................................

+ : ...
:

+ : ...
:

10

35

: ) (

50

61

99

164

168

182

201

212

http://www.ebusinessfa.com


.......................................................................................................................

229

235

+ : ...
:

241

246

262

269

+ : ...
10 :

http://www.ebusinessfa.com

332

) (


! !
!
.
!


!
1

/



.
/
/ !!!
/ !
!
! . ...
/ !

!!! !!!


.

.
2


:
/
! 10 1 !
!

!!! 10
)
(

:
o :
.
o :
.

.

!
! !
76 )
!!! ( ...
! !
!!!

! ) (

!

!

!!!
!



. !
!!! .
4

Hot linking !

.


) Flickr ( Picasa
.

) (
. Hot linking .
!
!!!
!
!

2011-
ebusinessfa.com@gmail.com

http://www.ebusinessfa.com



b2
.

1984 .
.
Automattic
Akismet .

.
PHP
MySQL . )(Open Source
) GPL(Gnu Public License
8



.

: WordPress.Com
!

http://your-blog.wordpress.com :
: WordPress.Org
.

.
.

http://www.ebusinessfa.com

5
.

.
.

) (
.

10




FTP


PHP 4.3 :
PHP
PHP .
MySQL 4.0 MySQL :
.
...

11





.
: Notepad
TextEdit : OS X
Word
.
FTP : FTP .

FTP.
FileZilla :
.
http://filezilla-project.org .
CyberDuck : OS X
. http://cyberduck.ch
.
12



.
http://www.google.com/chrome :
http://www.mozilla.com/en-US/firefox :

:
:

http://behra.ir/services/specials/host
:
:

http://bluehost.com
http://hostgator.com

13



.





.

Server

Wamp

http://wampserver.com
XAMPP Server : OS X
.
http://apachefriends.org .

http://localhost
.

14

WAMP Server
.
.
:

Apache
MySQL
PHP
PHPMyAdmin

XAMPP WAMP .
.

15

Next .
.
I Accept the agreement
.


.
c:\wamp .
Next .
16

Wamp Server
Quick Launch .
Next .

Install .

17

SMTP .
Next .

Launch WampServer
Finish .

18

!
.
localhost
.

19

: 1

http://wordpress.org .

.
http://wp-persian.com .

.

) ( Zip .

20

: 2 MySQL

.1
.2 SQL

21

.1


you@yourdomain.com
. ...
cPanel.

cPanel

yourdomain.com/cpanel .

.
MySQL
Database Wizard .

22

.
wordpress .


.
MySQL
.

23


. All Privileges
.
Next Step
.

24

SQL .2
PHPMyAdmin
.
MySQL
:
$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor. Commands end with ;
or \g.
Your MySQL connection id is 5340 to server version:
3.23.54
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql>
GRANT
ALL
PRIVILEGES
databasename.*
"wordpressusername"@"hostname"
-> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
25

ON
TO

)Query OK, 0 rows affected (0.01 sec


mysql> EXIT
Bye
$

Bold .

MySQL .
MySQL ) ( Root.
.
.

.

26

: 3 wp-config.php
.

... .

.
.1 .
.2 wp-config-sample.php
.3 wp-config.php
.4
wp-config.php :

27

// ** MySQL settings - You can get this info from your


web host ** //
/** The name of the database for WordPress */
;)'define('DB_NAME', 'putyourdbnamehere
/** MySQL database username */
;)'define('DB_USER', 'usernamehere
/** MySQL database password */
;)'define('DB_PASSWORD', 'yourpasswordhere
: DB_NAME .
: DB_USER
.
: DB_PASSWORD
.
: DB_HOST MySQL
.
localhost .
.
DB_CHARSET : DB_COLLATE
MySQL
.
.
28

''
.

''usernamehere

''maia

.

29

: 4

.

www.example.com
. :
.
www.example.com .

www.example.com/blog
Sub
Domain


www.blog.example.com

30

.
.

: 5 ) ( Upload
FTP
.
www .


www htdocs
.

31

: 6

.

wordpress

http://localhost/wordpress .

!!!

32

http://www.eBusiness.com .
:
.
:
.
) .
( .
:

.

:

.

.

33

! .
.

wp-
login.php .
http://localhost/wordpress/wp-login.php

34

35

.
. .
.

36

:
.1

.2 :

.

... .
:



37

.1

: HTML
Hypertext Markup Language .
HTML
. PHP
PHP
HTML
HTML .
) (
HTML .

HTML !
38


. ...


.

.

39

:

.

40

:
.


CTRL+C Paste CTRL+V
.
.
http://codex.wordpress.org/Keyboard_Shortcuts

41

:
.


.


.

42

.2


.

.
.
.

43

.3


. :

) (
:
AIM o
Yahoo o
Jabber/Google Talk o

44

.4


.


.
.

.

45

46

:
.
: .
: .
:
.
:
.
: .
:

.
.1 :
.

. )
( .
.2 :

.
47

.3 : .
.
.4 :
.

.
.5 :
.
)
( .

48


.
.


.
.

.

49

50



.
)
2 1 4 (
.
.

51

:

.
) (
.

52

:
. .
.

53

:
) .
) ( .

54

:
.
.

55

:
. .

56

:

/ .
Google Blog
. http://blogsearch.google.com

57

:
.
.


. http://planet.wp-persian.com

58

:
. :

.

59



.
Drag

and Drop .

. .

60

61

:
.
:

"
"

) ( URL ) : ( URL


.

62

) (
.
.
.

. wordpress index.php
.
.
Require(./wp-blog-header.php :
Require(./wordpress/wp-blog- :
header.php
www

www .

http://ebusinessfa.com :
www :

http://www.ebusinessfa.com
:
.

63

.
. ...

:
.
:
.

:
.
:
.
:
.
64

:
.
.

. !

.
65

:
:
!
... . :
) :

.

http://codex.wordpress.org/Using_Smilies
.
: XHTML
.
) (
.
XHTML

.
:

66


.

.

.




.
POP3
.
67

POP3


.

Outlook

.


POP3 .


.
Attachment )
( .

.
:
.
.
. POP3 110
.
68

:
. .
: .
:
.

.


:
.1 )
( .
.2 ) // ( .

69


.

.
.
Atom XML-RPC
.

:

) (



.

.
:

70

:
: BlogJet
. 40 .

http://www.codingrobots.com/blogjet .
: Windows Live Writer
.
http://explore.live.com/windows-live-

writer?os=other .
: OS X
: Ecto
20 .
http://illuminex.com/ecto .
: MarsEdit
. 40
.

sweater.com/marsedit .

71

http://www.red-



.

.
XML-RPC
.
Ping-
O-Matic

rpc.pingomatic.com .
.

72


. rpc.pingomatic.com
.
:
http://rpc.pingomatic.com
http://rpc.twingly.com
http://api.feedster.com/ping
http://api.moreover.com/RPC2
http://api.moreover.com/ping
http://www.blogdigger.com/RPC2
http://www.blogshares.com/rpc.php
http://www.blogsnow.com/ping
http://www.blogstreet.com/xrbin/xmlrpc.cgi
http://bulkfeeds.net/rpc
http://www.newsisfree.com/xmlrpctest.php
http://ping.blo.gs/
http://ping.feedburner.com
http://ping.syndic8.com/xmlrpc.php
http://ping.weblogalot.com/rpc.php
http://rpc.blogrolling.com/pinger/
http://rpc.technorati.com/rpc/ping
http://rpc.weblogs.com/RPC2
http://www.feedsubmitter.com
http://blo.gs/ping.php
http://www.pingerati.net
http://www.pingmyblog.com
73

http://geourl.org/ping
http://ipings.com
http://www.weblogalot.com/ping

74


.


!
.

:
)
www.yourdomain.com
( .


.
.

75

:

. 100

100

)
( ... .
)
(
!

76

.

7 10 .
:
) ( rss
.
.

RSS
Rich Site Summary " " "
"

.
RSS

) (XML
77

(Resource Description Framework (RDF


.
RSS


.
:

) ( RSS .
...
:

.
:

. .

.

78

:

. !


.
UTF-8 !
.

79

) (
.
) ( .


:

.
) ( :

.
:

) ( .
.

80

:

.
.

:

! )
(
___
: !

.

81

___ :


.

.
.
___ ___
. __
:
.
.
)
( .
.

82

:

.

.
:
! .

.

:

!

.

83

:

.
.
.

.


.
.

84

2 : )
( 2
.

.
) (Spam :
.


1
.
:
...


.

http://fa.wikipedia.org/wiki/%D8%A7%D8%B3%D9%BE%D9%85

85

: ...


!

86

) (
) (Gravatar : globally
recognized avatar .

.


http://gravatar.com .


.
:

:

87

:
.

. .
.
88

:

) ( .
.
4 .
: G .1
: PG .2 .
13
: R .3 17
: X .4 .

.

.
:


.

89

:

.

.

:

.
.
90

:
wp-
content/upload .
) (
URL .
wp-content .
) ( fileinjast
. http://example.com/wp-content/fileinjast/ :
) (
.
2011
2011
02 .
91

) (
. 2
3 03 .


.

.

!

92


.
.

! !
!
.
:

<http://www.example.com/?p=11
.
example.com .
) ( / = ?p .
PHP
Post ID .
93

) (
. = ?p
11 .
MySQL
.

.
mod_rewrite .

.
.
mod_rewrite
.


mod_rewrite .

94

:
.

.
:
) ( .
:
.
:
archives
Post ID .
: !
.
95


.
:


/ .

: %year% .1
2011
: %monthnum% .2
02
: %day% .3 .
29
: %hour% .4
15
: %minute% .5
59
: %second% .6
43
: %post_id% .7 Post ID
11

96

: %postname% .8
.
--
.
: %category% .9 .
.
: %tag% .10 .
.
: %author%.11 .
.
.12 : .
post tutorial . ...
:

+ +
:

tutorial/%post_id%/%postname%/

97

.

.
:
.
.

:
http://example.com/category/example-category-name
http://example.com/tag/example-category-name
category tag
. .
.
98

6

!
.

.

99


.
. :

100

.

.


.
+++

.

)
(
Crash .
.
101

) ( .

.


.

102


HTML

.


) ( !!!
.

.
) ( Microsoft Word
.
TinyMCE .

HTML .

TinyMCE

http://tinymce.moxiecode.com

103



Mouse
Highlight .
.

...
Bold .

Italic ...
.

104

Strikethrough
.

.

1 ... .


.

.

105


... .


.

.



.
) .
( .

106

.

.
: / ) (
) . http:// (
107

: Mouse
.
/ :
.

.
:


.

.


.

.
108


! !!!


)
( .

.

109

.

.


.

110

.
.

.
) ( .
.

111


.
.


. Under line
.

112

Justified

.

.
.
:

113



) . (


Notepad Microsoft Word
.
.

114



.
Paste Micorosft Word
. World
.
Ctrl+V
...
.
.

.

.

115

HTML
.

.


.
.

116



!
!
.

)
Ctrl+Z ( .


) . CTRL+Y .
(

117

118

HTML

HTML
:
.
.

...
Bold .

119

Italic ...
.



.
.


) ( .

120


.

.

... .

Strikethrough
.


. Under line
.

121

) .
(

.
.

122

) (
!
.

.


.
123


.

! !!!

.
answers.com .
.

HTML
.
.

124



.
PDF
.

/ .

/ .
.

. .
.1 .2 .3

125

:
.

Upload
.
.
.

.

126

:
.
:
.
: .

127

:
.
URL :
.
:
.
:
.

128

:
.
.

Hotlinking !


.


) Flickr .( Picasa
)
(
. Hot linking .
!
!!!
!
!

129

:
.
: .
.
:
.
:
.
130

:

:
.
:
.
!

.


.

.

131

.
.

.
.
.

132

1 .

.

.
:
.
:

.
.
:
:
o :
.
o : .
o / :
.
133

o :
.
:
.
: 20
. .
4 . 4
5 .

.
:
.

... .

134

135


.
.

.

... .

136


) ( Tags ) ( Categories
.

.

)
( .

137

:
2 .
) 2 ( ...
...
.

... .

:



.

.

138

139

.
.1 enter

.2 .

.
.

) (


140

:

.

... .

.

.

141


.

.
.

142


.

.

.
143


.
)
(

.



.

.
:

144




.
145

) ( RSS
.

.

146




.


.

147

.

.

148

!

.

.
:
.
.

149


.

.
:
) (

.
:
.


.
:
.
:

.
150

:
) .
(
:
.
:

:

.
:


.
: ) (
) (
.

151


.

!
!
.


.

:
.

152

153



. :


.
)
( :
154

: ...

:
)
( ...
:
: )
(


:
.1 :

.
.2 :
.
155

156


.
.

157


slug .

.

.

158

159

.
:
.
) ( : ) ( slug
) ( URL .
.
:
.
.
: ) (
.

.

160


.
.


.
161

162

:
.
) ( : ) ( slug
) ( URL .
.
: ) (
.

.

163

7


.
...
.

.

164

)
(
.

165


.
.

:


.
. ...


.
:
)
( .
166

/
.
.
.
:


. 0 )
( .

167


!


.

.

168


.

.

:
! " ".

.

169

:
.

http:// .

:

.
.

170


POPS UP
.

:
.
171


.
.

.
:

:
:
: _blank
: _top )
(
: _none
172

) : ( XFN

XHTML Friends

Network .

) .
(
XFN :
http://gmpg.org/xfn/
173

:
.
:
)
favicon Favicon .
(.
: RSS RSS
.
174


RSS

.
:
.


.
: ) 0

9 (

!

.

175

:
.

:

.

.

176


.
.

.
177


. :


.
:






178

:
.

:
.

:
.

:
.
179

:
)
( ...
. .

.
.
180


.



.



.

: .

.

181

) : ( slug )
( ) (

.

:
.

.
182

9

.
. .
.

.

.

182

!

.
:

...

.


.


spam
.
Aksimet
) . Aksimet
(
183


.
.




.

.

.



.

184


.
185

: .
.
) (
.
: .
.
:
.
.
:
.


.
)
(
.
.
.

186


.
187



.
.

!
.



. :
: "
" .

188

:
.
) 2

(
... ) (
.
: aksimet



.


... .

189



) (
.

.

:
:
.
: .
: URL
.
: Whois
.
:
.
... .
190


.
:
) 5
(
.
:

.
:

.

191

192

:
:
.
:
.
:
.
:
. Recycle Bin
.
. :

:
.
:
.
.

193

:
.

...
.

. ) (
.

194


!
.

195



!
!
!!!


.
!

.

.


.
196







.

.

197

198

.
.

199

.
.1 :
.
.2 : reply

.

200

10



.

!
.

.
201



.
.

.

http://wordpress.org/about/requirements/
PHP MySQL .
.

.

.
...
.

202


.


.
.

:
.1
.2

203

.

.

99
.


.
204



.

.

http://www.wp-persian.com


.
205



.

.
)
( .

206



.
207

.
208


.

)
( .


.

209



.
: 1
.1 wordpress.org
wp-persian.com
.
.2 ) ( Zip .
.3 FTP SSH wp-
includes wp-admin .
.4 wp-includes wp-admin
.
.5
wp-content wp-content
) .
wp-content

.
210

: 1.5 .maintenance
.maintenance ) .
( .
!
: 2

http://example.com/wordpress/wp-admin/upgrade.php

wordpress !

.
wordpress .

: 3

.

211

11

) (
... .

.


.
:

212





) ( .



.



.
.

.
.
213



.
:




PHP

.
) ( ...
.


.

214


.

.

.

WinSCP
.
WinSCP
.
.
http://winscp.net/eng/index.php

FTP SSH
.

215


.


.



.

.

.
216


.

.

217

) (

.
.
phpMyAdmin
phpMyAdmin

.

218

cPanel

.
MySQL Databases
phpMyAdmin .

219

Direct Admin

MySQL Managment
phpMyAdmin .

220

Ensim

MySQL Admin .
Configuration MySQL Administration Tool
.

221

Plesk

Databases .
.
phpMyAdmin .

222

vDeck

Host Manager .
Database . admin
phpMyAdmin
.

223

Ferozo

Ferozo Base De Datos


Acceso phpmyAdmin .

224

phpMyAdmin
phpMyAdmin .
.

phpMyAdmin
.

225


.
WordPress.


.
Export .
.

226

.

.

227

.1 Sellect All
.2 Add DROP TABLE )

(
.3 Add IF NOT EXISTS ) .
( .
Complete inserts ) .
(
.4 Save as File
.5 None .
.
.6 Go
.

228

12


Movable Type
) (



...
.
.
229

230

Blogger Live Journal Movable Type


.
RSS

.

231



Exporter
.
) ( /http://darkprince.ir/about
.


.
.
Exporter
Add To Firefox .
https://addons.mozilla.org/en/ US/firefox/addon/exporter

http://darkprince.ir/exporter.xpi
232



.
:
23:50 .
2011/8/8 :
.
:
1390/3/3
.
:
1390/3/4
23:50

233

:
1390/10/5
230:50
#19 .

Tools Weblog
Explorter .
backup.xml
.

WordPress .

Importer
.

234

13

.

. 3 .
)
( ...
.
...
.

235


.1 wp-config.php
.2 :
;) define(DB_COLLATE,
.3 enter
.4 :
; ) define (WP_ALLOW_MULTISITE, true
.5 .
.6
.7
.8

236

:
: Sub domain
http://username.yourdomain.com .
: Sub directory
http://yourdomain.com/username .

237


wildcard DNS .
WHM

DNS Configuration tool hostname


.
sub directory
.

.

238


:
.1 blogs.dir wp-content .

.

239

.2
.
15 wp-config.php

.3 .htaccess
.
.4 !

.

240

http://www.ebusinessfa.com

14


! ! !


.

!

.
241



http://wordpress.org/extend/themes/
.


http://wp-persian.com/themes/
.

.

.

242


.1
.2 zip
.3
.4 WP-Content
.5 themes
.6 .

)
( .

243

wp-content/themes
. :
:
.
:
.
: wp-content/themes
.
244


.
) (
.

245

15


.
.
.
.
.

.

246


.

.

247


.
twenty ten 6
.

248

249

.
:
) (
RSS RSS
wordpress.org


.

250

)
( .


.

251

)
(
.


.

252

) (


.

.
:

253

:

.

:
.

254

.


.

255


.
:
:
.
:
.
:
.

256

257

.

HTML
.
258

.

.

259



.

.

260

RSS

RSS
.
/

RSS
.

261

16

.


.

.
.

262

263

:



.

.

.
.
264

:
.

265

:
.

:

.

.
266



.
.
267


.

.

268

17




.
:

.
:
.

269

:

.

.
.

.

.

!


.

HTML CSS PHP .

www.w3schools.com
.
270



.


.

.


Twentyten .
.1 FTP
.
/wp-content/themes/
twentyten .
.2 Twentyten
.
271


. :
)Stylesheet (style.css
)Header template (header.php
)Main index (index.php
)Siderbar Template (sidebar.php
)Footer Template (footer.php


.

Twentyten
.
.3 ) ( Notepad
.



.

272


4
. :

: Header
... .

273

: Body
.
: Sidebar
) . ...
( .
: Footer

.
.
.
.

Twenty Ten
.

.
) (

274

.
.


.
:

.



.

275



.
PHP
MySQL .
PHP
.
:
>? ;)(<?php get_info
:
: <?php PHP
;)( : Get_info PHP
MySQL .
>? : PHP .
)( get_info
.

276



. 1000 )

(

.
:

Header
Main Index
Sidebar
Footer

277

Header
Header
:

CSS
RSS



. header.php :
DOCTYPE XHTML
. Twenty Ten
> <!DOCTYPE html
W3C .
> <HTML
.
> <head
.
278

header Twenty Ten


:
><!DOCTYPE html
>>? ;)(<html <?php language_attributes
><head
header.php
.
header.php > <head
> </head . HTML .
/ HTML
.
bloginfo
header ;)(bloginfo
.
;)( bloginfo
.
:

279

Charset

>? ;)<?php bloginfo(charset

Name
) ( Blog Title .

.

>? ;)<?php bloginfo(name

Description

.
.

>? ;)<?php bloginfo(description

280

url

<-

>? ;)<?php bloginfo(url

Stylesheet_url
CSS

>? ;)<?php bloginfo(stylesheet_url

Pingback_url

.

>? ;)<?php bloginfo(pingback_url

281


> <title .
> <title
.
> <title></title HTML
.
title
. .

> <title .
> <title ></title
.
<title><?php
// Returns the title based on the type of page being
viewed
; | if ( is_single() ) { single_post_title(); echo
;) bloginfo( name
(} elseif ( is_home() || is_front_page() ) {bloginfo
name ); echo | ; bloginfo( description
;)(); twentyten_the_page_number
282

} elseif ( is_page() ) {single_post_title( ); echo |


; bloginfo( name );
} elseif ( is_search() ) {printf( __( Search results
for %s, twentyten ), esc_html( $s )
); twentyten_the_page_number(); echo | ;
bloginfo( name );
} elseif ( is_404() ) { _e( Not Found, twentyten );
echo | ; bloginfo( name );
} else {wp_title( ); echo | ; bloginfo( name );
twentyten_the_page_number();
}
?></title>
PHP
. title
title
.

283

)(If ( is_single
| ) { single_post_title(); echo
; bloginfo
} ;) ( name
;)(Is_single();Single_post_title
;)Bloginfo(name

.

)(Elseif ( is_home
)(|| is_front_page
() {bloginfo
| name ); echo
; bloginfo
( description
};)(); twentyten_the_page_number
;)(Is_home
;)(Is_front_page
)Bloginfo(name
;)Bloginfo(description
;)(Twntyten_the_page_number


.
284

)(Elseif ( is_page
) {single_post_title
( ); echo
| ; bloginof
} ;) ( name
;)(Is_page();Single_post_title
;)Bloginfo(name

.

) )(Else if ( is_search
{printf (__(search results For $s

;) ) twentyten ), esc_html ( $s
;)(Twentyten_the_page_number
} ;) Echo | ; bloginfo ( name
;)(Is_search

;)(Twentyten_the_page_number

;)Bloginfo(name






.
285

{ ) )(Elseif ( is_404
_e( not found ,
;) twentyten
; | Echo
;)Bloginfo (name

;)(Is_404
;)Bloginfo(name

404
.

(} else {wp_title
; | ); echo
Bloginfo( name
} ;)() twentyten_the_page_number
;)(Wp_title
;)Bloginfo(name
;)(Twentyten_the_page_number


.

286


Twenty Ten
.
;)( bloginfo
.

.
:
<a href=<?php bloginfo(url); ?>><?php
>bloginfo(name); ?></a
;) bloginfo(url
;) bloginfo(name .
HTML
:
<a href=http://yourdomain.com>Your Blog
>Name</a


.
287



.
index.php
twentyten .
:
>? ;)(<?php get_header
!
.
twenty ten
:
;)Get_template_part(loop, index
loop.php .
;)(Get_sidebar
sidebar.php .
;)(Get_footer
288

footer.php .
.
Loop
) ( ...
.
.


.
.

.
>? ;)(<?php while ( have_posts() ) : the_post
:
>? ;<?php endwhile

289

.
PHP .
.

. 7 . 7
.
Big IF
PHP . ) ( If

....
...
...


:
>? ;)(<?php while (have_posts()) : the_post

290


MySQL .
:
>? ;<?php endwhile
:
>? <?php if ( ! have_posts() ) :
)( have_posts !
.
:


:
><div id=post-0 class=post error404 not-found
<h1 class=entry-title><?php _e( Not Found,
twentyten
>); ?></h1
><div class=entry-content
<p><?php _e( Apologies, but no results were found
for the
requested Archive. Perhaps searching will help
>find a related post., twentyten ); ?></p
291

>? ;)(<?php get_search_form


></div><!-- .entry-content --
></div><!-- #post-0 --
PHP !
:
>? ;<?php endif
Sidebar
Sidebar.php sidebar . sidebar
.
header sidebar
:
>? <?php get_sidebar():
sidebar
include .
Footer
Footer.php Footer . Footer

.

292

Footer
:
>? ;)(<?php get_footer

Twenty Ten

.
) : ( comments.php
.
) : ( single.php

.
) : ( page.php
.
) : ( search.php

.
: ( 404.php ) 404
.
293



. ) ( index.php


.


.
... .

.

;)(Get_the_date

;)(Get_the_time

294

;)(The_title

;)(The_permalink

) ( URL

;)(Get_the_author

;)(The_author_link

) ( URL

;)The_content(Rad More


. .

;)(The_excerpt


295

Comments_popup_link(No
Comments,Comment
;))(1),Comments(%

.



.

.


.
:
.1 ftp
.2 mytheme
.3 twenty ten

296

Sidebar.php
Footer.php
Header.php
Style.css
Comment.php
image

index.php !
index.php !
index.php
Twenty Ten

:

>? ;)(<?php get_header

header .

:
2

>? <?php if (have_posts()) :



" "

MySQL .
297

<?php while (have_posts()) :


>? ;)(the_post

:
4

;)(<a href=<?php the_permalink


_?>><?php the
>title(); ?></a



Posted on <?php the_date(); ?> at


_<?php the
>? ;)(time

298

:
6

>? ;)<?php the_content(Read More..


) (

.

>? ;)(Posted by: <?php the_author

:
9

>? ;)Posted in <?php the_category(,



<?php comments_popup_link(No
Comments,
>? ;)1 Comment, % Comments

299

:
10

>? ;)(<?php comments_template


)
( comments.php .


.

:
>? ;<?php endwhile

11 .


.

:
12

;<?php next_posts_link(&laquo
Previous
>? ;)Entries

300

:
13

14

15

;<?php previous posts link(&raquo


Next
>? ;)Entries

>? <?php else :


.



Not Found. Sorry, but you are looking


for some-thing that isnt here.

>? ;<?php endif

16

301

:
17

:
18

>? ;)(<?php get_sidebar


sidebar.php
.

>? ;)(<?php get_footer


footer.php
.
: footer.php
HTML ><body > <html
.

index.php
:
>? ;)(<?php get_header
>? <?php if (have_posts()) :
>? ;)(<?php while (have_posts()) : the_post
;)(<div <?php post_class() ?> id=post-<?php the_ID
>>?
<a
href=<?php
;)(the_permalink
?>><?php
>the_title(); ?></a
;)(Posted on: <?php the_date(); ?> at <?php the_time
>?
>? ;)Posted in: <?php the_category(,
>? ;)<?php the_content(Read More..
Posted by: <?php the_author(); ?> | <?php
302

comments_popup_link(No
>? ;)Comments, 1 Comment, % Comments
></div
>? ;)(<?php comments_template
>? ;<?php endwhile
>? )<?php next_posts_link(&laquo; Previous Entries
>? );<?php previous_posts_link(Next Entries &raquo
>? <?php else :
Not Found
Sorry, but you are looking for something that isnt
here.
>? ;<?php endif
>? ;)(<?php get_sidebar
>? ;)(<?php get_footer
index.php mythemes
.

. .
HTML
.
HTML .
HTML CSS .

303

Sidebars
header index
.
sidebar
.

:

;)(The_tag

PHP

;)The_tag(1,2,3

Query String
304

;)The_tag(parameter=true

:
:
. .
: .
.
: ) 1 ( ...
. ) = 1 =
.( 0 .


http://codex.wordpress.org .
Calender
Calender
.
305

>? ;)(<?php get_calendar


calendar ture
.false
ture
. Friday =f
false
. . Friday = Fri
>? ;)<?php get_calendar(true
>? ;)<?php get_calendar(false
List Page
>? ;)( <?php wp_list_pages
. .
wp_list_pages :

Child_of

Integer
)
(

306

ID .
0

Sort_colum

String
:
: post_title

: menu_order

: post_date

: post_modified

: post_author

:post_name slug
.

307

Exclude

String

. :

exclude=1,4,30
.

Depth

Interger
) (

: 0
: 1-

: 1

Show_date

String

.

: )
(
308

: modified

: created

Date_format

String

Title_li

String
.

Pages
.

) ( Blogroll
:
>? ;)(<?php wp_list_bookmarks
309

wp_list_bookmarks

Categorize
Boolean

) 1 ( ture
) 0 ( false
<?php wp_list_bookmarks
>? ;)(categorize=0

Category
String


_<?php wp_list
bookmarks(category=10,
>? ;)20, 30

10 20 30
310

Category_orderby
String

Name
Id
_<?php wp_list
_bookmarks(category
>? ;)orderby=name

Title_li
String

Bookmarks

_<?php wp_list
_bookmarks(title
>? ;)li=Links

_<?php wp_list
;)=bookmarks(title_li
>?

311

Title_before
string

categorize 1 true

><h2
_<?php wp_list
_bookmarks(title
>? ;)>before=<strong
> <strong

Title_after
String
.
categorize 1
true

></h2
_<?php wp_list
_bookmarks(title
>? ;)>after=</strong
> </strong
312

Include
String

_<?php wp_list
bookmarks
>? ;)(include=1,2,3
12 3

Exclude
String

<?php wp_list_bookmarks
>? ;)(exclude=4,5,6
4
313

5 6

After
String

></li
_<?php wp_list
=bookmarks(after
>? ;)</strong
> </strong


>? ;)( <?php wp-get_archives
. :
15


;)(wp_get_archives
314

Type
String

Monthly
Daily
Weekly
Postbypost
<?php wp_get_rchives
>? ;)(type=postbypost

Format
String

: Html > <li > </li

: Option

: Link > <link


> </link

: Custom

<?php wp_get_archives
>? ;)(format=html
315


> <li > </li .

Limit
Interger

<?php wp_get_archives
>? ;)(limit=10
10

Before
String

<?php wp_get_archives
>? ;)>(before=<strong
> <strong

316

After
String

<?php wp_get_archives
>? ;)>(after=</strong
> </strong

Show_post_count
Boolean

.

True = 1
False = 0
<? wp_get_archives
>? ;)(show_post_count=1

317


>? ;)( <?php wp_list_categories
.
;)(wp_list_categories

Orderby
String

Id
Name
<?php wp_list_categories
>? ;)(orderby=name

Style
String

List
None
<?php wp_list_categories
>? ;)(style=list

> <li></li
318

<?php wp_list_categories
>? ;)(style=none

Sho_count
Boolean

True = 1
False = 0
<?php wp_list_categories
>? ;)(show_count=1
15
: ) ( 15

Hide_empty
Boolean


True=1
False=0
<?php wp_list_categories
>? ;)(hide_empty=0

319

Feed
String
rss

Rss

<?php wp_list_categories
>? ;)(feed=rss
rss

Feed_image
String

<?php wp_list_categories
(feed_image=/wp-content/
>? ;)images/feed.gif
feed.gif

320

Hierarchical
Boolean

True=1
False=0
<?php wp_list_categories
>? ;)(hierarchical=0


99.99
.


.
.

) . (

321

sidebar sidebar.php
.
.
.
register_sidebar .
functions.php . functions.php
Twenty Ten :
( register_sidebar( array
name => __( Primary Widget Area, twentyten ),
id => primary-widget-area,
description => __( The primary widget area,
twentyten ),
before_widget => <li id=%1$s class=widgetcontainer
%2$s>,
after_widget => </li>,
before_title => <h3 class=widget-title>,
after_title => </h3>,
;) )
.

:

322

: Name )
(

.
: Id
: Description
.
: Before_widget HTML
: After_widget HTML
: Before_title HTML

: After_title HTML .
functions.php
.

.

323


.
sidebar.php
:
) <?php if ( ! dynamic_sidebar( Primary Widget Area
>? ) :
>? ;<?php endif
dynamic_sidebar
.
.

.

! HTML
.


.
324

comments.php

>? ;)(<?php comment_author


>? ;)(<?php comment_author_link




>? ;)(<?php comment_text


>? )(<?php comment_date


325

>? ;)(<?php comment_time


>? ;)(<?php echo get_avatar


>? )(<?php previous_comments_link



>? )(<?php next_comments_link



326

RSS

>? ;)<?php bloginfo(rss2_url


RSS

>? ;)<?php bloginfo(comments_rss2_url


RSS

>? ;)(<?php the_author_description


) (

>? ;)(<?php the_author_email

327


Twenty Ten
.

.

functions.php
:
;) add_theme_support( nav-menus
header.php :
>? ;)(<?php wp_nav_menu

.

328

;)(wp_nav_menu

Id
)

(

;) ) wp_nav_menu( array( id => 1

Slug
slug

>= wp_nav_menu( array( slug


;) ) nav-menu

Menu

>= wp_nav_menu( array( menu


;) ) Nav Menu

329

Menu_class
css

Menu
>= wp_nav_menu( array( menu_class
;) ) mymenu

Format

div

;) ) wp_nav_menu( array( format => ul

Fallback_cb

>= wp_nav_menu( array( fallback_cb


;) )wp_page_menu

330

before

wp_nav_menu( array( before


;) ) => Click Here

After

>= wp_nav_menu( array( after


;) ) ;&raquo

331

http://www.ebusinessfa.com

10 :

18
10


.



.

http://wordpress.org/extend/plugins/
.
332


.
333

10 :

2
.1


.
334

.2

http://wordpress.org/extend/plugins/



) ( zip
ftp ssh
/wp-content/plugin/





10
.

.

335

10 :

Aksimet
http://wordpress.org/extend/plugins/akismet/

336

Aksimet
.

.
Aksimet
Aksimet .
/http://akismet.com/get

.
Aksimet .
.

337

10 :


.
338

339

10 :

All in One SEO Pack


http://wordpress.org/extend/plugins/all-in-one-seo-pack/

340

SEO Search Engine Optimizing


.

.

All in One SEO Pack
.


All In One SEO PACK .

341

10 :



.
342

all in one seo pack


:
: Home title
: Home description

: Home keywords )
( .

343

10 :

)
(
.
: Title
: Description
: Keywords
.

344

Google XML Site Map


http://wordpress.org/extend/plugins/google-sitemapgenerator/

345

10 :


.

.
.

xml-sitemap
!
.
346

Google Analytics
http://wordpress.org/extend/plugins/google-analytics-forwordpress/

347

10 :



.

.
) ( http://www.google.com/analytics/
.
Analytics
.

348

Google Analytics !
Google Analytics
Analytics Click Here
to Authenticate with Google
.

349

10 :

Contact Form 7
http://wordpress.org/extend/plugins/contact-form-7/

350

Contact Form 7
.
.

.

.

351

10 :



. .

1

!

352

add to any
http://wordpress.org/extend/plugins/add-to-any/

353

10 :

Add To Any
100 ) (
... .

AddToAny
.

354

....
.

.

355

10 :

wp clean up
http://wordpress.org/extend/plugins/wp-cleanup/

356

wp cleanup
.


.

wp-cleanup
.

357

10 :


.
cleanup the selected items
.
358

wp db manager
http://wordpress.org/extend/plugins/wp-dbmanager/

359

10 :


.
database
.

360

w3 total cache
http://wordpress.org/extend/plugins/w3-total-cache/

361

10 :

W3 Total Cache
.

:
mashable.com
smashingmagazine.com
yoast.com
W3 Total Cache
) (Cache
CDN
Content Delivery Network .

Performance
.
362

general setting


.


) (Preview .
)
(
.

363

10 :

Page Cache.

.
load ) (
.
.

.

364

Minify .
Minify ,HTML JS, CSS,
RSS .

.

.
10% .

.

365

10 :

Database Cache.

Query
.
%100 .

.

366

Object Cache.
Object
Cache API .

.

367

10 :

CDN Content Delivery Network


) .

(
W3 Total Cache MaxCDN,NetDNA,
,Amazon S3, Rackspace Cloud Amazon Cloud Front
.
CDN
. MaxCDN

368

Browser Cache.

.

.
.

.

369

10 :

wp importer
/http://wordpress.org/extend/plugins/wordpress-importer
wp importer
.

370

Potrebbero piacerti anche