Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #24818

    Hi,

    I am using a third party tag cloud widget, because I wanted to have a real cloud instead of the default layout that comes wit the theme.

    But the appearence is just the same, so I guess the theme overrules the style by default.

    How can that be changed?

    How it looks now: http://www.hebammenblog.de/

    How it should look: http://wordpress.org/plugins/ultimate-tag-cloud-widget/screenshots/

    Best Boris

    #124850

    Hi Boris,

    Go into the css>layout.css file and on line 1742 delete the font size declaration so that its just:

    .tagcloud a{
    padding:2px 8px;
    margin:0 1px 1px 0;
    display:block;
    float:left;
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
    }

    Regards,

    Devin

    #124851

    Hi Devin,

    super! And how do I get rid of the rectangles around each tag? I just want the words without any boarders around.

    Thanks in advance! ;-)

    Best Boris

    #124852

    Hi!

    Use following css code:

    .sidebar .tagcloud a {
    background-color: transparent;
    }

    Best regards,

    Peter

    #124853

    Thank you! perfect support, like always! ;-)

    #124854

    Ah one more: And how can this be done in the extra widget, that comes with the theme? (The one with latest comments, tags an so on)

    Best would be to integrate the output of that plugin I am using in the tag-section of the widget, too. If possible.

    If not, I just would like to have it appear just the same (cloudy and no boarders)

    What do you think?

    Best

    Boris

    #124855

    The tag cloud code can be found in wp-contentthemesenfoldframeworkphpclass-framework-widgets.php – search for

    wp_tag_cloud('smallest=12&largest=12&unit=px');

    - you can replace it with any other tag cloud function…

    #124856

    ok I try. same thing in sentence?

    And do I replace it just with the codesnippets from above?

    B.

    #124857

    Hi Boris,

    No, you would be replacing that line of code with your own plugins php call to display the tag cloud. So in effect, you are telling the theme to use your plugins tag cloud function and not its won.

    Regards,

    Devin

    #124858

    Hi Devin,

    sorry guys for asking so much. I am just not into it enough.

    Step 1 worked (deleting that line)

    Step 2 did not work (inserting the function call.) The site crashes totally.

    This is what I inserted:

    <?php do_utcw($args); ?>

    as described here: http://wordpress.org/plugins/ultimate-tag-cloud-widget/other_notes/#Theme-integration-/-Shortcode

    This also did not work.

    What did I do wrong?

    Here is the whole snipped which crashed:

    echo ‘<div class=”tab last_tab widget_tab_tags”><span>’.__(‘Tags’, ‘avia_framework’).'</span></div>';

    echo “<div class=’tab_content tagcloud’>”;

    <?php

    $args = array( “title” => “Most awesome title ever” );

    do_utcw( $args );

    echo “</div>”;

    echo “</div>”;

    echo $after_widget;

    Can you help again?

    #124859

    Hi,

    Replace

    wp_tag_cloud('smallest=12&largest=12&unit=px');

    with this

    $args = array( "title" => "Most awesome title ever" );
    do_utcw( $args );

    The extra <?php tag is the culprit, I guess.

    Regards,

    Ismael

    #124860

    Great! Thanks Samuel!

    Please have a look. It says Tag Cloud and I dont know where that is coming from. Any idea where I could change that?

    thx

    Boris

    #124861

    Hi,

    Instead of this code:

    $args = array( "title" => "Most awesome title ever" );
    do_utcw( $args );

    Please try this:

    echo do_shortcode('[utcw title="YOUR TITLE HERE"]');

    If the above doesn’t work, try this:

    $utcw_args = array( "title" => "YOUR TITLE HERE" );
    do_utcw( $utcw_args );

    Regards,

    Ismael

    #124862

    Hi,

    thanks.

    This worked:

    ‘show_title_text’ => false

    Boris

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘How to change tag cloud design’ is closed to new replies.