okasu
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying Archive titleThis actually does the trick but I want it displayed as text only, not a link. Also, for some reason it has a bullet point in front of it. Can anyone help me out?
<?php wp_get_archives( $args ); ?>I just need the archive title by month and year (ex. march 2010) to appear once you goto that specific archive from a drop down menu.
Forum: Fixing WordPress
In reply to: Displaying Archive titleI use this to get the titles of my regular posts to display in my singles page header.. is it similar to do it for the archives?
<?php the_title(); ?>Forum: Fixing WordPress
In reply to: Displaying Archive titlePage content area. I’m actually trying to include it in the header of my page when people go into the monthly archive. So I just want it to say the title of that archive (march 2010 or what ever).
Forum: Fixing WordPress
In reply to: Count the number of posts displayed on a page<?php $count = 1; if (have_posts()) : while(have_posts()): the_post(); ?> layout of regular template file here <?php $count++; endwhile; endif; ?> <?php if((preg_match('/\/2\//',$_SERVER['REQUEST_URI']))) { $count = 51; } elseif((preg_match('/\/3\//',$_SERVER['REQUEST_URI']))) { $count = 101; } else { $count = 1; } ?>Can anyone tell me how to tell this to keep track of the count once it hits page 2,3,etc..? Looking around, I was able to find this but it doesn’t work..
Forum: Fixing WordPress
In reply to: Menu ProblemHey Shane,
Thanks for taking the time to find those plugins for me. Unfortunately, they don’t fit my needs very well.
The following script above is almost there, I just need a few minor tweaks to have it just right.
Does anyone else think they know what I could do?