Design Credits

This design is based on Asteroid by ronangelo. I intend to use this for the blog rather than the old design, which I didn’t quite like.

I am still implementing the bits and pieces from my previous design into this one. I’ve already added all the shortcodes and my somewhat beefed up templating system so far. There’s a problem with the design of the commentary bit and I have not investigated it further, but merely replaced it with the “About” box from my previous theme. I thought it fits quite nicely together with this design, although some minor changes probably has to be made.

When I hacked away the commentary bit (temporarily) I did it like so:

		<!-- k0nsl_author_box -->

   <?php  if ( is_page('81') ): ?>
        <div id="respond"><p id="closed">Prr, this part hasn't been dealt with. Yet.</p></div>

    <?php elseif ( is_page('136') ): ?>
    <div id="respond"><p id="closed">Prr, this part hasn't been dealt with. Yet.</p></div>
    <?php elseif ( is_page('1745') ): ?>
    <div id="respond"><p id="closed" align="center">Forums hosted by <a href="http://devnet-software.org" target="_blank">devNET software group</a></p></div>
    <?php elseif ( is_page('1469') ): ?>
    <div id="respond"><p id="closed" align="center"><a href="http://devnet-software.org" target="_blank">devNET software group</a></p></div>
    <?php else: ?>
		<br>
		<div class='author-shortcodes'>
			<div class='author-inner'>
		<div class='author-image'>
		<img src='/static/k0nsl_57x57.jpg' alt='k0nsl' title="k0nsl" />
			<div class='author-overlay'></div>
		</div> <!-- .author-image --> 
		<div class='author-info'>
		<h3><?php _e("About k0nsl"); ?></h3>
			<?php the_author_meta('description'); ?>
		</div> <!-- .author-info -->
			</div> <!-- .author-inner -->
		</div>
		<!-- end k0nsl_author_box -->
		
                <!-- start: k0nsl_flatter -->
                <center>
                <a href="https://flattr.com/profile/k0nsl" target="_blank">
                <img src="/static/flattr_k0nsl.png" alt="Flattr this" title="Flattr this" border="0" /></a>
                </center>
                <!-- end: k0nsl_flatter -->

	<div id="comments-wrap">
		<h3>React with a comment:</h3>
		<?php wp_list_comments( 'avatar_size=48' ); ?>
		<div class="pagination"><?php paginate_comments_links(); ?></div>
	</div>

     <div id="comments-respond"><?php comment_form( 'comment_notes_before=&comment_notes_after=' ); ?>
                
    <?php endif; ?>

Perhaps not the most glamorous way of doing it, but it works for me hehe.

[UPDATE: I’ve fixed so that the commentary bit works.]

Leave a Reply

Your email address will not be published. Required fields are marked *