Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C9 W4 S3 #447

Closed
AliMD opened this issue Jul 11, 2013 · 55 comments
Closed

C9 W4 S3 #447

AliMD opened this issue Jul 11, 2013 · 55 comments
Assignees
Milestone

Comments

@AliMD
Copy link
Owner

AliMD commented Jul 11, 2013

Subjects

  • Old class review
  • New sample theme
  • function.php
  • Custom menu

Students Levels

  1. Mohammad Reza Shariatzadeh @Mrshcom 👍
  2. Mansoor Masoudifar @dante1357 👌
  3. Ali Aghasizade @AliGH 👌
  4. Sayed Mohammad Ali Mirrezaee @MAMir 👎
  5. Omid Gharib @omidgharib :nok_hand:
  6. Davood Noori @mydavid66 👎
  7. Hamid Paskamari @paskamari 👎

homeWork

Jane ma biyayn mesle adam ye page html khoshke ro bardarin va biyarin too wp

@AliMD AliMD mentioned this issue Jul 11, 2013
@AliMD
Copy link
Owner Author

AliMD commented Jul 11, 2013

Yek file too folder theme darim be name functions.php baraye config va mabahese pishrafteye theme
in file too ghesmat admin farakhani mishe

@AliMD
Copy link
Owner Author

AliMD commented Jul 11, 2013

add_theme_support('menus'); dar functions.php baes active shodam custome menu (fehrest) mishe

@AliMD
Copy link
Owner Author

AliMD commented Jul 11, 2013

function register_nav_menu('mainmenu', "Main Manu"); yek menu ro register mikone va to ghesmat efehrest ha dide mishe

@AliMD
Copy link
Owner Author

AliMD commented Jul 11, 2013

namayesh yek menu ba wp_nav_menu anjam mishe
http://codex.wordpress.org/Function_Reference/wp_nav_menu

<?php
wp_nav_menu(array(
  'theme_location'  => 'mainmenu',
  'container'       => 'div', 
  'container_class' => '', 
  'menu_class'      => '', 
  'before'          => '',
  'after'           => '',
  'link_before'     => '',
  'link_after'      => ''
));
?>

@omidgharib
Copy link

@AliMD ostad yek template nemune dar hade savade alan mishe moarefi konid ke tarahish konam ?

@omidgharib
Copy link

@ALL bacheha begam ke khub kar konid ke motore omid kam kam dare roshan mishe :D
faghat khoda bedadetun berese LOL

@paskamari
Copy link

ba namo yade khoda man ham wp ro nasb kardam va vaghean khaste nabasham:D

@Mrshcom
Copy link

Mrshcom commented Jul 12, 2013

@omidgharib template nemikhad! khodet yek sito ke ghablan design kardio ta jaee ke yad dari wp konesh!

@omidgharib
Copy link

@Mrshcom YEppp

@mydavid66
Copy link

@omidgharib baba kheyli sosoli ahhhhhhh halmam dare bad mishe dige.
ye tem bezan dige chikar mikoniiiiiiiiiiiiiiii.kari nadareeeeeeee ke.age balad nisti boro w1 💃 🍰

@albertreza
Copy link

💯 :

@albertreza
Copy link

#6

@albertreza
Copy link

🎱

@omidgharib
Copy link

@mydavid66 man balad nistam yadam midi :D

@mydavid66
Copy link

@omidgharib ha ke yadet midam belakhare dosta bedarde ye hamchin zamanayi mikhoran dige 👻
faghat khaheshan motoret garm shod maro nasozoni AliMD ro besozonnnnnn 👊

@omidgharib
Copy link

@mydavid66 mer30 💋

@mydavid66
Copy link

nokartam dadsh vazifast.man vase hame bacheha vaght mizaram morede shoma ke ziyad vaghtgir nabod ta bashe az in komaka bashe .faghat khasti 💋 bokoni khaheshan risharo bezani mer30.

@omidgharib
Copy link

@mydavid66 LOL bashe ba rish spanish ke eshkal nadare are?

@dante1357
Copy link

@albertreza test e emoji o link dadan be issue haro dari inja anjam midi?! :D :))

@paskamari
Copy link

@dante1357 bahse elmiye dige koja bere test kone khob na to begoo :D

@dante1357
Copy link

@paskamari hehehe! :D bere ye issue test besaze! :D :))) taze amare issue ha ham mire bala! :D

@paskamari
Copy link

@dante1357 man tooye kodoom pooshe bayad file hamo besazam?

ke vaghti mizani localhost/wordpress oonaro biyare

@dante1357
Copy link

xampp dari ya wampp?
tu wampp tu folder e www tu xampp fek konam htacs bud age eshtebah nakonam! man az wampp estefade mikonam!

@paskamari
Copy link

ino ke midoonam migam fileiro ke mikham ba wp besazam kojaye folder wp besazam ke biyad tanzime khasi dare

aya ?? chon vaghti namayesh sito mizanam hamash hamoon pishfarze wp ro miyare

@dante1357
Copy link

bebin theme i ke sakhtio inja beriz wordpress\wp-content\themes
badesh boro tu puste ha faalesh bekon mibinish!

@paskamari
Copy link

tnx @dante1357

@dante1357
Copy link

@paskamari ghorbunet

@paskamari
Copy link

@dante1357 befarma sahari dadash ham ghorme sabzi darim ham tachin morgh:D

@dante1357
Copy link

@paskamari mamanam umade mashhad, sahari daram bah bahhhhhhhhhhhhhhh! :)) :D
mercccccc! ;)

@mydavid66
Copy link

@AliMD .ostad man to siteam 3ta jaygah vase menu ham gharar dadam.har 3ta jaygah to admin namyesh dade mishe.az code

<?php
wp_nav_menu(array(
  'theme_location'  => 'footermenu',
  'container'       => 'div', 
  'container_class' => '', 
  'menu_class'      => '', 
  'before'          => '',
  'after'           => '',
  'link_before'     => '',
  'link_after'      => ''
));
?>

baraye namyeshe menuye footeram estefade mikonam. to admin ham ye menu vase footer sakhtam.vali ba in code bala bejaye footermenu ,main menu namayesh dade mishe.

dastanesh chiyewhat is the problem????????
.albate man az ye code dige estefade kardam moshkelam hal shod.

   <?php wp_nav_menu( array( 'theme_location' => 'footermenu' ) ); ?>  

@dante1357
Copy link

man mikham ye slider zire header tu safe aval bashe, vali tu baghie safe ha nabashe, chejuri farakhanish bekonam?!

@omidgharib
Copy link

@AliMD mytraining
@AliMD ostad yek soal chera 'container' => 'false',
mag baes nemishe ke container nazare vali mizare yek ul mizare hamun karamo kharab mikone??

@Mrshcom
Copy link

Mrshcom commented Jul 14, 2013

@dante1357 khob yek file joda besaz va har ja khasti importesh kon!

@dante1357
Copy link

@Mrshcom na costume page mishe dge! chon index ba baghie safe ha fargh dare, mese post nis!
ma alan mohtaviate content tu index o taghir midim, baghie safaro ke taghir nemidim tu har link!

@dante1357
Copy link

AQA menu dorost kardam, barge ham dorost kardam, vali bazam vaghti mizanam ru link ha mizane :
Not Found

The requested URL /wordpress-3.5.2-fa_IR_3/wordpress/about-me/ was not found on this server.

chikar konam?! bayad نشانی سایت (URL) ya نشانی وردپرس (URL) o taghir bedam?!

.htaccess ham daram, khodesh sakhte.

inam karam

@mydavid66
Copy link

@dante vase test aval peyvande yekta ro bezar ro halate pishfarz bebin kar mikone?????

@omidgharib
Copy link

@ALL yeki bege chera ul mizare khode wordpress vase menu ha mag 'container' => 'false',
karesh in nist ke tag container nazare vali bazam mizare :|

@dante1357
Copy link

@mydavid66 davoud jan ru pishfarz kar mikone dadash, hala chejuri tu halate esme file kar kone??! :D

@Mrshcom
Copy link

Mrshcom commented Jul 14, 2013

@dante1357 hala behesh miresim mishe template tarif kard ke faghat safe index yek design khas dashte bashe!
va hamchenin slider khas va menu khas ba layout khas!

@mydavid66
Copy link

@dante1357 manam ro pishfarz gozashtam kar mikone moshkeli nadare.vali ba htaccess moshkel daram. zamini ke mizaram ro

namayesh bar asase name ,neveshte not found mide 👻

@dante1357
Copy link

@omidgharib in moshkelo manam daram! bazam mizare!
@Mrshcom okay ty
@mydavid66 yadet bashe beporsim emruz! :D

@omidgharib
Copy link

@ALL bacheha man ba while() baraue namayesh hame postha ham moshkel daram harchand to mesalam bekar nemire vali bahash moshkel daram nemdunam chera kar nemikone ???

@dante1357
Copy link

@omidgharib chejuri kar nemikone?!

@omidgharib
Copy link

@dante1357 MASALAN IN FILE

@dante1357
Copy link

@omidgharib asan while lazeme?!

man ruzam khun nemirese ba maghzam kolan hangam! :|

@omidgharib
Copy link

:|

@mydavid66
Copy link

inam az kare man omidvaram bache ha khosheton biyad.makhsosan aligiiiiiiiiiiir 👻
Source code in github: https://github.com/mydavid66/vanda-theme
Demo project :http://zfd.ir/

@paskamari
Copy link

@AliMD kheyli mamnooonam :DDDDDD

@dante1357
Copy link

@mydavid66 hanuzam page address ha id an ke! yad nagerefti chejuri esme file bezari?! :D yad gerefti be manam begu! :P

@paskamari tanbaaaaaaal! :)) :D man koli ghose dar shodam vase in canseli, heyf shod!!!! :|

@ghost ghost assigned AliMD Jul 14, 2013
@MAMir
Copy link

MAMir commented Jul 14, 2013

My Try

@Mrshcom
Copy link

Mrshcom commented Jul 16, 2013

My Project

@mydavid66
Copy link

@Mrshcom dada in menu hat to fierfox dorost neshon dade nemishe.

@AliGH
Copy link
Contributor

AliGH commented Jul 16, 2013

My Project

@AliMD
Copy link
Owner Author

AliMD commented Jul 16, 2013

next : C9 W4 S4

@AliMD AliMD closed this as completed Jul 16, 2013
@Mrshcom
Copy link

Mrshcom commented Jul 16, 2013

@mydavid66 age beshe beri to wp-admin va menu ro add koni khob mishe ha! :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants