コード例 #1
0
ファイル: open.php プロジェクト: gp6shc/aok
"><?php 
    the_title();
    ?>
</a></h2>
<ul class="questionmeta">
<li><?php 
    _e('Asked in:', 'wp-answers');
    ?>
 <?php 
    echo get_the_term_list(get_the_id(), 'question_category');
    ?>
</li>
<li><?php 
    _e('Asked By', 'wp-answers');
    ?>
 <a class="url fn n" href="<?php 
    echo get_author_posts_url(get_the_author_meta('ID'));
    ?>
"><?php 
    the_author();
    ?>
</a></li>
<li>Asked on <?php 
    the_time('F j, Y');
    ?>
</li>
</div>
</ul>
</div><!-- End Question-->
<?php 
}
コード例 #2
0
ファイル: popular.php プロジェクト: gp6shc/aok
"><?php 
    the_title();
    ?>
</a></h2>
<ul class="questionmeta">
<li><?php 
    _e('Asked in:', 'wp-answers');
    ?>
 <?php 
    echo get_the_term_list(get_the_id(), 'question_category');
    ?>
</li>
<li><?php 
    _e('Asked By', 'wp-answers');
    ?>
 <a class="url fn n" href="<?php 
    echo get_author_posts_url(get_the_author_meta('ID'));
    ?>
"><?php 
    the_author();
    ?>
</a></li>
<li>Asked on <?php 
    the_time('F j, Y');
    ?>
</li>
</div>
</ul>
</div><!-- End Question-->
<?php 
}
コード例 #3
0
ファイル: edit-profile.php プロジェクト: gp6shc/aok
_e('Location:', 'wp-answers');
?>
</label><br />
<input name="location" size="30" maxlength="140" id="from" value="<?php 
echo $location;
?>
" type="text" class="input">
</p>

<p>
<label class="formlabel"><?php 
_e('Occupation:', 'wp-answers');
?>
</label><br />
<input name="occupation" size="30" maxlength="140" id="occ" value="<?php 
echo $occupation;
?>
" type="text" class="input">
</p>

<p>
<label class="formlabel"><?php 
_e('Interests:', 'wp-answers');
?>
</label><br />
<input name="interests" size="30" maxlength="140" id="interests" value="<?php 
echo $interests;
?>
" type="text" class="input">
</p>