go41

Set font size range for hot tags in bb_tag_heat_map

von Joern am 3. Mai. 2009 | Keine Kommentare

As long tags got truncated in by overflow hidden in my hot tags display, I looked for a way to adjust the size for biggest and smallest tags in this BBPress 0.9.0.4 heatmap.
That’s by far not as easy as in WordPress itself, not just an option or a matter of style.css.
In BBPress 0.9.0.4 you have to pass a parameter to <?php bb_tag_heat_map(); ?>

You find this call in front-page.php of your template (theme)
Default on my forum was 8pt and 22pt for smallest and largest, to change this I succeeded by changing <?php bb_tag_heat_map(); ?> to

<?php bb_tag_heat_map(array( ’smallest‘ => 10, ‚largest‘ => 30, ‚unit‘ => ‚px‘, ‚limit‘ => 40 )); ?>
or to get points pt again another parameter:

<?php bb_tag_heat_map(array( ’smallest‘ => 8, ‚largest‘ => 18, ‚unit‘ => ‚pt‘, ‚limit‘ => 40 )); ?>
Just try if that works for you to change the size of your tag cloud in BBPress.
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 31 weitere Ergebnisse dieses Threads:

Multipe Authors on my arthemia free

10. Jan. 2011 (von: Lucky500)

Hello Folks,I recently found a nice piece of code to add multiple authors, but I delete by accident!!! and perhaps you can help me...I downloaded Custom Field template...The author value is already set on the pluginthe only thing that I…

Re: Multipe Authors on my arthemia free :: Reply by master

10. Jan. 2011 (von: master)

there is a readme.txt file in the plugin folderit says:Use the cft shortcode. In the edit post, write down just '[cft]'.and:Auto Hook of the_content() in the option page of this plugin____________________you find me on Google+, Twitter and Facebook Weiterlesen →

remove lines from your wp_head() function with a plugin

15. Jan. 2011 (von: Joern)

Switching themes and editing functions.php in each theme I didn't like. There are always some lines in the WordPress header inside the 'head' tag I do not want to display.This is stuff like therel='prev' and rel='next' to display relational links…

Where to put mega tags and description in blog’s template?

18. Jan. 2011 (von: omerkhan01)

Hi there, my site is hereI was told you need to put meta tags and description in the header.php fileSo I did thatCode:<meta name="keywords" content="their keywords will be written here" /><meta name="description" content="text">and as you can see my site was…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

18. Jan. 2011 (von: Joern)

you should put these lines into the head /head tag which is already there.your header.php should start like this:<!DOCTYPE html PUBLIC "-//W3C//DTD X ...<html xmlns=....<head ....<meta http-equiv="....<title>....PUT YOUR META TAGS HERE (without head /head around as you are in there…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

If I replace that part with my meta content and description my site gets pushed down and there is a big black gap between the top margin and my site. How do I make my site's top edge touch the…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

19. Jan. 2011 (von: Joern)

okay, this is the first half of arthemia header.phpCode:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>><head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

There is no space before DOCTYPE.I did add the keywords in that spot and the space didn't increase thanks. But do you see the black space between the top of the screen and the white container. How do I move…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

19. Jan. 2011 (von: Joern)

this position of keywords and description is better now, just one thing:in here:meta name="description" content="...the "Maaximum ..."you have to remove this one " (double quotation mark) as this is the pair of opening and closing marks for the content.this two…

Hide post archive from non members

24. Jan. 2011 (von: kinyofu)

Greetings,My website is www.empoweringwomenslives.com. I am using Artemia theme and Memberwingx plugin for membership. I would like to block non members from seeing the archive of "Kinyofu's Thoughts of The Day". Please help me understand how to do this.Kinyofu Weiterlesen…

Placing Other Categories in the Featured-Section

26. Jan. 2011 (von: raf_79)

Please forgive me if this has already been addressed in the forum.By following instructions here in the forum, I've been able to get 2 featured sections functioning correctly side-by-side on my site. However, I would like to be able to…

Re: Placing Other Categories in the Featured-Section :: Reply by Joern

27. Jan. 2011 (von: Joern)

in Arthemia the query for category Headline is like this:Code:<?php query_posts("showposts=1&category_name=Headline"); ?>If you know the ID of this category (here as sample ID=4) you could use:Code:<?php query_posts("showposts=1&cat=4"); ?>Coming to Featured section, normally like this:Code:<?php query_posts("showposts=4&category_name=Featured"); $i = 1; ?>this you…

Re: Placing Other Categories in the Featured-Section :: Reply by raf_79

27. Jan. 2011 (von: raf_79)

Yes it did. Thank you! What would I have to do additionally to select which posts to display in a category as opposed to the most recent post as it displays now? Weiterlesen →

how to add link to Flash

28. Jan. 2011 (von: niiki)

I have a Flash image here http://www.mcbarronwood.com/ i want to hyperlink it, its possible i have tried alot, but not clear! Weiterlesen →

Re: Placing Other Categories in the Featured-Section :: Reply by Joern

28. Jan. 2011 (von: Joern)

check the WordPress Support Forum link I gave you above.you could query by another parameter like author, tag etc, you could just query one or two posts exactly (Post & Page Parameters)you could change the sort order (Order & Orderby…

Re: how to add link to Flash :: Reply by Joern

28. Jan. 2011 (von: Joern)

I think the link has to be in the flash .swf file itself.____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Need a fix for Navbar Tabs

29. Jan. 2011 (von: raf_79)

The tabs on my navbar with sub-categories all open when I hover over the parent tab instead of waiting until I hover over them individually to open. Please watch this Jingcast for a better explanation: http://screencast.com/t/n2Yv4YkP4EG1.Also, how ca... Weiterlesen →

Re: Need a fix for Navbar Tabs :: Reply by Joern

29. Jan. 2011 (von: Joern)

this is just about style.csssome months ago I recommended to add#page-bar li ul ul {margin:-22px 0 0 154px;}in the last post here:viewtopic.php?f=2&t=121&p=410in one of my themesI added:#page-bar li ul ul { margin: -22px 0 0 168px; }#page-bar l... Weiterlesen →

Site Breaks Apart in IE

30. Jan. 2011 (von: raf_79)

I use FireFox as my browser of choice and when I view my site everything looks good. However, the front page of my site breaks apart when I check it in Internet Explorer and I can't figure out why. Please…

Image uploading to profile fails in mozilla

31. Jan. 2011 (von: mareaa)

hi all,When is use to change my profile Picture in MY social networking Profile like in Facebook, Orkut, the uploading fails in Specially mozilla, where as in other browsers it works good.Why it happens in mozilla only..i use is as…

Re: how to add link to Flash :: Reply by mareaa

31. Jan. 2011 (von: mareaa)

1. Go to File -> Publish settings and set ActionScript version to ActionScript 2.0 2. Insert new layer 3. Create a square with Rectangle tool, that is larger than banner 4. Right click on square and chose Convert to symbol...…

Re: Site Breaks Apart in IE :: Reply by Joern

31. Jan. 2011 (von: Joern)

now this is almost not to find out without seeing the site 'live'As I can see you made the middle section smaller to fit beside the sidebar. How did you get the sidebar align beside middle?As the frontlist is moving…

Re: Image uploading to profile fails in mozilla :: Reply by Joern

31. Jan. 2011 (von: Joern)

You should ask your social network for help or use another browser. It will not be a daily task to change your profile image, right?____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Re: how to add link to Flash :: Reply by niiki

31. Jan. 2011 (von: niiki)

thanks for your replies, very informative and helped alot. Weiterlesen →

Re: Site Breaks Apart in IE :: Reply by raf_79

31. Jan. 2011 (von: raf_79)

I have sent you the site link via your email. Did not post here as site is not yet live. Thank you again for taking a look at this. Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: