انجمن


مشکل در سِت کردن افزونه Contact form 7 با تم i3Theme  (۱ نوشته)

  • emadrahimi

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۶
    تشکر شده: ۲ بار
    # نوشته شده: ۱۲ سال پیش
    ۱۲ آبان ۱۳۹۰ - ۰۹:۲۸

    من افزونه Contact form 7 رو روی هاستم آپ کردم ولی هر کاری میکنم نمیتونم با تمم ستش کنم
    تمم اینه
    i3Theme 1.6 Midnight Blue (Center Edition) 1.6
    ادرس سایتم هم اینه http://www.hd4you.org

    تو قسمت تنظیمات افزونه تماس نوشته کد زیر رو تو (این کد را کپی نموده و در نوشته، برگه یا ابزارک خود بچسبانید.)
    [contact-form 6 "تماس با ما"]

    یک صفحه هم ساختم به این آدرس
    http://hd4you.org/contactus/

    توی تم های اورجینال وردپرس میدونم اگر کد رو تو برگه کپی کنی اجرا میشه
    ولی نمیدونم چرا تو این تو این تم اجرا نمیشه

    اینم میدونم که کد بالا رو باید توی کد های سایت کپی کنم ولی نمیدونم کجا

    کد header سایتم اینه از دوستانی که میتونان کمکم کنن

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php load_theme_textdomain('i3theme'); ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title>فروشگاه فیلم های بلوری و اچ دی</title>
    
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" />
    
    <!-- Sidebar docking boxes (dbx) by Brothercake - http://www.brothercake.com/ -->
    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx.js"></script>
    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js"></script>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/dbx.css" media="screen, projection" />
    
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css" type="text/css" />
    <![endif]-->
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="page">
      <div id="wrapper">
        <div id="header">
          <h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
          <div class="description"><?php bloginfo('description'); ?></div>
          <?php include (TEMPLATEPATH . '/searchform.php'); ?>
        </div><!-- /header -->
    
    	<?php
    	$current_page = $post->ID; // Hack to prevent the no sidebar error
    	include_once("sidebar-left.php");
    	$post->ID = $current_page;
    	?>
    
        <div id="left-col">
          <div id="nav">
            <ul>
              <li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home"><?php _e('Home','i3theme'); ?></a></li>
    		  <?php $children = wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
            </ul>
          </div><!-- /nav -->
    
        <?php /* Menu for subpages of current page (thanks to K2 theme for this code) */
        global $notfound;
        if (is_page() and ($notfound != '1')) {
            // Code Remove: to prevent the no sidebar error.
            while($current_page) {
                $page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'");
                $current_page = $page_query->post_parent;
            }
            $parent_id = $page_query->ID;
            $parent_title = $page_query->post_title;
    
    				// if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) {
            if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'")) {
    
        ?>
    
        <div id="subnav">
          <ul>
          	<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&child_of='. $parent_id); ?>
          </ul>
        </div><!-- /sub nav -->
    
        <?php } } ?>

    الان تو ای صفحه تماس با ما اگر این افزونه تماس کار بکنه هم فرم تماس هستش هم نظر دهی پایی صفحه
    این نظر دهی هم اگر بخوام حذف بشه باید چی کار بکنم

    rahimi74.emad@gmail.com

درباره‌ی این موضوع



برچسب‌ها

هیچ برچسبی نیست.