4 Comments, 0 Tweets, why not add one?
If you post about this on Twitter, please use the hashtag #silly533.
It is custom code that isn’t using the_content() to echo out the post text. It is the same code that is running in K2 if I remember correctly.
The code that is in K2 that displays the post is this:
<?php the_content("Continue reading '" . the_title('', '', false) . "'"); ?>
I’m not a full fledged PHP coder, so I don’t get the code above. All I know is that the paragraph tags seems to be included in the_content. I have this in my code:
<?php /* Displays content */ the_content("Continue reading '" . the_title('', '', false) . "'"); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title='Permanent Link to "<?php the_title(); ?>"'>#</a>
<span class="metalink"><?php comments_popup_link('0<span> comments</span>', '1<span> comment</span>', '%<span> comments</span>', '', ' '); ?>
<img src="<?php bloginfo('template_url'); ?>/images/comment.gif" class="icon" />
<?php edit_post_link('edit','',''); ?>
However, the above code results in the permalink on the next line as the paragraph tags are padded. Would it be too much to ask if you could show me how you do it on your site?
P/S: Apologies if this is not the appropriate medium for asking questions. Perhaps I should post this on your forum?
Thanks Chris!
Hi Chris!
Will there be an abstract of your speech at ApacheCon US?
I try to serve basic XML/XSLT knowledge on my personal website. And while searching feeds for this topic I reached here.
I’m a designer, but I use XSLT to for various occasions. Saying you where talking about XSLT made me curious.
Hi Chris, this is totally non-post related comment but rather I just like to know how do you add the permalink and comment link right after the aside post. Currently WP automatically pads the_content with opening and closing paragraph tags which makes it impossible to do what you do. Can you let me in on your secret? Thanks!