Ejemplo n.º 1
0
    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_link_to_profile(get_the_author_meta('user_login'));
    ?>
"><?php 
    the_author();
    ?>
</a></li>
<li>Asked on <?php 
    the_time('F j, Y');
    ?>
</li>
</div>
</ul>
</div><!-- End Question-->
<?php 
}
?>
Ejemplo n.º 2
0
get_header();
?>

<div class="content">

<h1 class="questiontitle"><?php 
the_title();
?>
</h1>
<ul class="questionmeta">
<!--<li><?php 
_e('Posted in:', 'wp-answers');
?>
 <?php 
echo get_the_term_list(get_the_id(), 'question_category');
?>
</li>
<li><?php 
_e('Posted By', 'wp-answers');
?>
 <a class="url fn n" href="<?php 
echo get_link_to_profile(get_the_author_meta('user_login', $post->post_author));
?>
"><?php 
echo get_the_author_meta('display_name', $post->post_author);
?>
</a></li>-->
</ul>
<?php 
the_post();
?>
Ejemplo n.º 3
0
    $return .= '</p>';
    $return .= '<div class="errors">';
    if (!empty($_SESSION['_errors'])) {
        $return .= implode('<br/>', $_SESSION['_errors']);
        unset($_SESSION['_errors']);
    }
    $return .= '</div>';
    $return .= '<form name="userinfo" id="userreg" class="userinfo" method="POST" action="' . get_option('home') . "/?page_id=" . get_option('thankyou_id') . '&?l=sf' . '">

    <p>
    <label class="formlabel">' . __('Username:'******'wp-answers') . '</label><br />
    <input name="log" size="30" maxlength="140" id="user_name" placeholder="Username" type="text" class="input">
    </p>
    
    <p>
    <label class="formlabel">' . __('Email:', 'wp-answers') . '</label><br />
        <input name="email" size="30" maxlength="140" id="user_email" placeholder="*****@*****.**" type="text" class="input">