quasi
Forum Replies Created
-
Yes; I reverted to WordPress 3.0.5 and almost works very fine. I just have this “@ en” & “@ ca” when I use
<?php echo get_cat_name( $catID ); ?>
.
But I will open a new topic if I can’t solve it soonso I need to downgrade my WordPress or buy a license for WPML 2.1.2?
Forum: Fixing WordPress
In reply to: Custom Search Linkps: FOr sure you must think I crazy to speak to myself overhere, but I think this could serve someone else and avoid her/him the hours I’ve spend on it.
Forum: Fixing WordPress
In reply to: Custom Search LinkHi, me again.
At the end I found a round about. Here is the code.
<?php $myTag = aTag; // Here comes the tag you need ?> <?php $display_categories = array(1,2,3,4,5); // Here you put your Category IDs foreach ($display_categories as $frontcats) { ?> <?php $tagposts = get_posts("showposts=1&tag=$primez&cat=$frontcats"); foreach($tagposts as $post) : setup_postdata($post); ?> <a href="<?php echo get_category_link($frontcats) . '&tag='. $myTag;?>"><?php $this_category = get_category($frontcats); ?><?php echo $this_category->cat_name; ?></a></h4> <?php endforeach; ?> <?php } ?>For sure there must be a more server friendly code, bu tit’s all I could find/make up.
It is using the category.php to render the results.
have a nice day
Forum: Fixing WordPress
In reply to: Custom Search Linkmaybe someone could explain me how the category page is generated on the server side so I could do a “tag in category” page…