coroijo
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Requests and Feedback
In reply to: write page sub-categories similar to dtree ?maybe this
KaccordionForum: Fixing WordPress
In reply to: Spacing and text sizing: Please HelpLearn Basic CSS.. then modify your theme
style.css
for paragraph try putp {margin-bottom:12px;}in yourstyle.cssForum: Fixing WordPress
In reply to: Disabling TooltipsMe Too!! Somebody??
Forum: Fixing WordPress
In reply to: Category Title Tagnever mind the updated kubric template solve it for me 😀
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1><?php single_cat_title(); ?></h1> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h1><?php single_tag_title(); ?></h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1>Archive for <?php the_time('F jS, Y'); ?></h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1>Archive for <?php the_time('F, Y'); ?></h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1>Archive for <?php the_time('Y'); ?></h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1>Archives</h1> <?php } ?>Forum: Fixing WordPress
In reply to: Category Title Tagi got this
<h1><?php single_cat_title(''); ?></h1>
on my page.
How to combine it with<h1><?php single_tag_title(''); ?></h1>?
so the “currently browsing <h1>” is
flexible between those 2 tags.
My guess is using “if else condition” but I don’t know how to write these.. 🙁
please help..
Viewing 5 replies - 1 through 5 (of 5 total)