Skip to content

Commit

Permalink
init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtabafallah committed Jan 11, 2021
1 parent b21a5ab commit 33540c8
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor
14 changes: 8 additions & 6 deletions app/views/part/description.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php use app\controllers\Assets;
$des_1 = ot_get_option('section_1_des', false);
$des_2 = ot_get_option('section_2_des', false);
$des_3 = ot_get_option('section_3_des', false);

?>
<div class="col-12" style="padding: 0;">
<div class="gold_description">
Expand All @@ -9,16 +13,14 @@
<img src="<?php echo Assets::image('logo2.png')?>" alt="">
</div>
<div class="welcom_sentence">
<h4> به وب سایت رسمی شرکت <span>اکسیس گلد</span> خوش امدید.</h4>
<?php echo $des_1?>
</div>
<div class="gland_proud">
<h4><span>اکسیس گلد</span> برند برتر لوازم یدکی خودرو می باشد.</h4>
</div>
<div class="quality_custom">
<h4>کیفیت واقعی و قیمت مناسب این لقب را به <span>اکسیس گلد</span> اختصاص داده است.</h4>
<?php echo $des_2?>
</div>

<div class="aksis_desctiption">
<p> براس سفارش محصولات از منو سایت میتوانید وارد لیست کالا های مربوط به هر خودرو شوید و عکس ها و مشخصات کالا را مشاهده کنید. برای سفارش نیز کارشناسان اکسیس گلد در خدمتش ما عزیزان هستند.</p>
<?php echo $des_3?>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions app/views/part/moreinfo.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php $picture_1 = ot_get_option('picture_1', false);?>
<div class="col-12" style="padding: 0;">
<div class="Contact_Us_For_more_Info">
<h1>برای انتخاب دقیق کالا و مشاوره رایگان با ما در ارتباط باشید</h1>
Expand Down
31 changes: 11 additions & 20 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,24 @@


<div class="col-12 col-sm-4 col-lg-3">
<ul>
<li><a href="#">منوی اصلی </a></li>
<li><a href="#">پراید </a></li>
<li><a href="#">تیبا </a></li>
<li><a href="#">پژو 206 (رانا) </a></li>
<li><a href="#">سمند</a></li>
<li><a href="#">ال 90 </a></li>
<li><a href="#">نیسان</a></li>
</ul>
<?php
wp_nav_menu( array(
'theme_location' => 'footer_menu',
'container_class' => 'custom-menu-class' ) );
?>

</div>
<div class="col-12 col-sm-4 col-lg-3">
<ul>
<li><a href="#">ریو </a></li>
<li><a href="#">پژو 405 </a></li>
<li><a href="#">تیبا </a></li>
<li><a href="#">لوازم جانبی </a></li>
<li><a href="#">سمند</a></li>
<li><a href="#">منوی فرعی </a></li>
<?php $posts_query = new WP_Query('posts_per_page=5');
while ($posts_query->have_posts()) : $posts_query->the_post();
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
<div class="col-12 col-sm-4 col-lg-3">
<div class="article">
<ul>
<li><a href="#">مقالات</a></li>
</ul>
</div>

<div class="work_time">
<span>ساعت کاری :</span>
<span>شنبه تا چهارشنبه ۹ الی ۱۸</span>
Expand Down
7 changes: 7 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ function wpb_custom_new_menu() {
}

add_action( 'init', 'wpb_custom_new_menu' );

function wpb_custom_footer() {
register_nav_menu('footer_menu',__( 'پایین در سر پا صفحه' ));
}

add_action( 'init', 'wpb_custom_footer' );

add_theme_support( 'post-thumbnails' );


Expand Down

0 comments on commit 33540c8

Please sign in to comment.