inform
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to get the name of posting authors to appear on the blog?@ hungnguyen84
This should display your author:
<?php the_author(); ?>Forum: Fixing WordPress
In reply to: Tag list with number of post related to tags@ zbrix
See code below:
'(' . $tag->count . ')'Forum: Fixing WordPress
In reply to: Tag list with number of post related to tagsNevermind. Figured it out.
Forum: Fixing WordPress
In reply to: Tag list with number of post related to tagsOtt042,
This is great.
Is there a way to have the numbers display in () as I have it setup? Currently the numbers are running into the tag name.
You can see the action here:
http://www.inform-ventures.com/blog/This is the code I am using from above:
<?php $tags = get_tags(array( 'orderby' => 'count', 'order' => 'DESC', 'number' => 30, ) ); foreach ($tags as $tag) { echo '<li><a href="' . get_tag_link($tag->term_id) . '" rel="tag">' . $tag->name . $tag->count . '</a></li>';}; ?>Forum: Themes and Templates
In reply to: New MODERN theme KATEGORIKA 2.0 – super clean – minimalLooks great – when is this being released?
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksThere are 26 posts.
Thanks for the help.
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksChanged it to month and name and problem still is still there.
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksSame result:
I am editiing code with “Main Index Template” index.php
<?php get_header(); ?> <div id="primary" class="onecol-stories"> <div class="inside"> <?php // Here is the call to only make two posts show up on the homepage REGARDLESS of your options in the control panel query_posts('showposts=5'); ?> <?php if (have_posts()) : ?> <?php $first = true; ?> <?php while (have_posts()) : the_post(); ?> <div class="story<?php if($first == true) echo " first" ?>"> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php $hemingway->excerpt() ?> <div class="details"> <?= _('Posted at') ?> <?php the_time('ga \o\n ' . $hemingway->date_format(true) . '/y') ?> | <?php comments_popup_link('no comments', '1 comment', '% comments'); ?> | Filed Under: <?php the_category(', ') ?> <span class="read-on"><a href="<?php the_permalink() ?>">read on</a></span> </div> </div> <?php $first = false; ?> <?php endwhile; ?> <h1><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></h1> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here. <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> <div class="clear"></div> </div> <!-- [END] #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>Maybe my placement of the code is incorrect?
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksYes – the link shows up – and no – it does not navigate througth all the posts correctly. It keeps linking to the same page?
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksCheck it out:
Forum: Themes and Templates
In reply to: Hemingway Theme – Previous Next linksdrewactual
They are not there and want to add them in. Just tried the code from the classic theme:
<?php posts_nav_link(‘ — ‘, __(‘« Older Posts’), __(‘Newer Posts »’)); ?>
But – it did not take me anywhere. Suggestions?