{"id":19177,"date":"2016-06-04T08:00:30","date_gmt":"2016-06-04T04:30:30","guid":{"rendered":"http:\/\/www.xn--mgbguh09aqiwi.com\/?p=19177"},"modified":"2017-05-20T17:39:40","modified_gmt":"2017-05-20T14:09:40","slug":"%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d8%af%d8%ba%d8%a7%d9%85-navbar-%d8%a8%d9%88%d8%aa-%d8%a7%d8%b3%d8%aa%d8%b1%d9%be-%d8%a8%d8%a7-%d9%88%d8%b1%d8%af%d9%be%d8%b1%d8%b3","status":"publish","type":"post","link":"https:\/\/www.xn--mgbguh09aqiwi.com\/%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d8%a7%d8%af%d8%ba%d8%a7%d9%85-navbar-%d8%a8%d9%88%d8%aa-%d8%a7%d8%b3%d8%aa%d8%b1%d9%be-%d8%a8%d8%a7-%d9%88%d8%b1%d8%af%d9%be%d8%b1%d8%b3.html","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0627\u062f\u063a\u0627\u0645 Navbar \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0628\u0627 \u0648\u0631\u062f\u067e\u0631\u0633"},"content":{"rendered":"

\u0637\u06cc \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u0632\u06cc\u0627\u062f \u0628\u0631\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0627\u062f\u063a\u0627\u0645 Navbar \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e\u062a \u0628\u0627 \u0648\u0631\u062f\u067e\u0631\u0633 , \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0633\u062a \u0642\u0635\u062f \u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 \u062f\u0627\u0631\u0645 …<\/p>\n

\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0634\u06a9\u0644\u0627\u062a \u0637\u0631\u0627\u062d\u0627\u0646 \u0648\u0628\u06cc \u06a9\u0647 \u0628\u0627 \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0648 \u0648\u0631\u062f\u067e\u0631\u0633 \u06a9\u0627\u0631 \u0645\u06cc\u06a9\u0646\u0646\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u0645\u06cc\u062a\u0648\u0627\u0646\u0646\u062f \u0645\u0646\u0648\u06cc \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0631\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u062a\u0628\u062f\u06cc\u0644 \u0628\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 \u0645\u0634\u06a9\u0644\u0627\u062a\u06cc \u0631\u0648\u0628\u0631\u0648 \u0645\u06cc\u0634\u0648\u0646\u062f .<\/p>\n

\u0627\u06cc\u0646 \u0645\u0634\u06a9\u0644 \u0628\u0647 \u0627\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0627\u0632 \u06a9\u0644\u0627\u0633 \u0647\u0627\u06cc \u0632\u06cc\u0627\u062f\u06cc \u062f\u0631 ul \u0647\u0627\u06cc \u067e\u062f\u0631 \u0648 \u0641\u0631\u0632\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u062f \u0648 \u0628\u0627\u0644\u0639\u06a9\u0633 \u0645\u0646\u0648\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0641\u0642\u0637 \u0627\u062c\u0627\u0632\u0647 \u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u06a9\u0644\u0627\u0633 \u062f\u0631 ul \u0627\u0635\u0644\u06cc \u0631\u0627 \u062f\u0627\u0631\u0627 \u0645\u06cc \u0628\u0627\u0634\u062f .<\/p>\n

\u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0647 \u0622\u0645\u0648\u0632\u0634 \u0627\u062f\u063a\u0627\u0645 \u0648 \u0647\u0645\u0627\u0647\u0646\u06af\u06cc \u0627\u06cc\u0646 \u062f\u0648 \u0645\u06cc\u067e\u0631\u062f\u0627\u0632\u06cc\u0645 …<\/p>\n

<\/p>\n

\"\u0622\u0645\u0648\u0632\u0634<\/a><\/p>\n

\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u06a9\u0627\u0641\u06cc\u0633\u062a \u0645\u0631\u0627\u062d\u0644 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u067e\u06cc\u0634 \u0628\u0631\u0648\u06cc\u062f :<\/p>\n

1 – \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0641\u0627\u06cc\u0644 wp-bootstrap-navwalker-master<\/a><\/span>\u00a0\u0631\u0627 \u062f\u0627\u0646\u0644\u0648\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644 \u062f\u0631\u0648\u0646 \u0622\u0646 \u06a9\u0647 \u0628\u0627 \u0647\u0645\u06cc\u0646 \u0646\u0627\u0645 \u0648 \u0628\u0627 \u067e\u0633\u0648\u0646\u062f php \u0645\u06cc\u0628\u0627\u0634\u062f \u0631\u0627 \u062f\u0631\u00a0\u067e\u0648\u0634\u0647 \u06cc \u067e\u0648\u0633\u062a\u0647 \u06cc \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f . ( \u062f\u0631 \u06a9\u0646\u0627\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc\u06cc \u0646\u0638\u06cc\u0631 header.php , functions.php \u0648 … )<\/p>\n

2 – \u06a9\u062f \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 functions.php \u067e\u0648\u0633\u062a\u0647 \u06cc \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f :<\/p>\n

function register_my_menu() {\r\n  register_nav_menu('Vahid-Majidi-Nav',__( 'Vahid-Majidi-Nav' ));\r\n}\r\nadd_action( 'init', 'register_my_menu' );\r\nrequire_once('wp_bootstrap_navwalker.php');<\/pre>\n

3 – \u0622\u062e\u0631\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u06a9\u062f \u0632\u06cc\u0631 \u062f\u0631 \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc\u062e\u0648\u0627\u0647\u06cc\u062f Navbar \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f . ( \u0627\u06a9\u062b\u0631 \u0627\u06cc\u0646 \u0645\u06a9\u0627\u0646 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 header.php \u067e\u0648\u0633\u062a\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc\u062f\u0647\u0646\u062f )<\/p>\n

<nav class=\"navbar navbar-default\" role=\"navigation\">\r\n  <main class=\"container\">\r\n    <section class=\"navbar-header\">\r\n      <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-1\">\r\n        <span class=\"sr-only\">Toggle navigation<\/span>\r\n        <span class=\"icon-bar\"><\/span>\r\n        <span class=\"icon-bar\"><\/span>\r\n        <span class=\"icon-bar\"><\/span>\r\n      <\/button>\r\n    <\/section>\r\n        <?php\r\n            wp_nav_menu( array(\r\n                'menu'              => 'Vahid-Majidi-Nav',\r\n                'theme_location'    => 'Vahid-Majidi-Nav',\r\n                'depth'             => 2,\r\n                'container'         => 'div',\r\n                'container_class'   => 'collapse navbar-collapse',\r\n                'container_id'      => 'bs-example-navbar-collapse-1',\r\n                'menu_class'        => 'nav navbar-nav',\r\n                'fallback_cb'       => 'WP_Bootstrap_Navwalker::fallback',\r\n                'walker'            => new WP_Bootstrap_Navwalker())\r\n            );\r\n        ?>\r\n    <\/main>\r\n<\/nav><\/pre>\n

\u0646\u06a9\u062a\u0647 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645 :<\/span> \u062f\u0631\u00a0\u06a9\u062f \u0628\u0627\u0644\u0627 \u06a9\u0647 \u0634\u0627\u0645\u0644 \u06a9\u0644\u0627\u0633 \u0647\u0627\u06cc\u06cc \u0646\u0638\u06cc\u0631 navbar-default , navbar-nav \u0648 … \u0645\u06cc\u0628\u0627\u0634\u062f , \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0644\u0627\u0633 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u0627\u0632 \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f . ( \u062a\u0631\u062c\u06cc\u062d\u0627 \u0627\u06af\u0631 \u0628\u0627 \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0646\u0627 \u0622\u0634\u0646\u0627 \u0647\u0633\u062a\u06cc\u062f , \u062a\u063a\u06cc\u06cc\u0631\u06cc \u0627\u06cc\u062c\u0627\u062f \u0646\u062f\u0647\u06cc\u062f ) .<\/p>\n

\u067e\u062e\u0634 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/p>\n

\u0622\u0645\u0648\u0632\u0634 : \u0648\u062d\u06cc\u062f \u0645\u062c\u06cc\u062f\u06cc\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

\u0637\u06cc \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u0632\u06cc\u0627\u062f \u0628\u0631\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0627\u062f\u063a\u0627\u0645 Navbar \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e\u062a \u0628\u0627 \u0648\u0631\u062f\u067e\u0631\u0633 , \u062f\u0631 \u0627\u06cc\u0646 \u067e\u0633\u062a \u0642\u0635\u062f \u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 \u062f\u0627\u0631\u0645 … \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0634\u06a9\u0644\u0627\u062a \u0637\u0631\u0627\u062d\u0627\u0646 \u0648\u0628\u06cc \u06a9\u0647 \u0628\u0627 \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0648 \u0648\u0631\u062f\u067e\u0631\u0633 \u06a9\u0627\u0631 \u0645\u06cc\u06a9\u0646\u0646\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0646\u0645\u06cc\u062a\u0648\u0627\u0646\u0646\u062f \u0645\u0646\u0648\u06cc \u0628\u0648\u062a \u0627\u0633\u062a\u0631\u067e \u0631\u0627 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u062a\u0628\u062f\u06cc\u0644 \u0628\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0627 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13158,258],"tags":[13166,20315,20309,13165,20310,20316,807,20313,20308,20312,20543,20314],"_links":{"self":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts\/19177"}],"collection":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/comments?post=19177"}],"version-history":[{"count":0,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/posts\/19177\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/media?parent=19177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/categories?post=19177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xn--mgbguh09aqiwi.com\/wp-json\/wp\/v2\/tags?post=19177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}