WordPress.org

Ready to get started?Download WordPress

Forums

How to use WP-Cumulus-Cloud for each articles tags? (3 posts)

  1. openmedi
    Member
    Posted 5 years ago #

    Hello,

    I had this idea of using the WP-cumulus Plugin to display the list of tags for a single article under it. Since I am not very experienced in php coding I'm not sure how this could work. I don't now if wp_tag_coud is able to transport this kind of information to wp-cumulus. I looked into the theme I'm using and saw that there is a function called the_tags that seems to put the tags under my blogposts. I thought maybe I should replace the wp_tag_cloud call with a the_tags function call but I don't know how or where to do this. Could anybody give me a tip on how I could get this working?

    Thanks in advance from Germany
    Martin

  2. Roy Tanck
    Member
    Posted 5 years ago #

    Interesting. I'll look into that. I'm not quite sure how the movie would react if no tag sizes are found, but other than that the, output from the_tags('','','') should be compatible.

    The best way to do this is probably to add the flash movie to your theme, and write your own function that gets the tags and feeds them to the movie. Perhaps that function can also be in in wp-cumulus.php, but you'd need to call it within the loop.

    This would work best if you use lots of tags though, Cumulus looks a lot better with many tags in it.

  3. openmedi
    Member
    Posted 5 years ago #

    Hey,

    thanks for your answer. Sadly I'm just beginning to learn how php and wordpress are working. I'm using the standard Kubrick theme with some css tweaks. I assume that i have to change the single.php where I found this code which includes the_tags:

    <div class="entry">
    				<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'kubrick') . '</p>'); ?>
    
    				<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    				<?php the_tags( '<p>' . __('Tags:', 'kubrick') . ' ', ', ', '</p>'); ?>

    I assume I have to change this part:
    <?php the_tags( '<p>' . __('Tags:', 'kubrick') . ' ', ', ', '</p>'); ?>

    From the wp-cumulus.php I think I have to use/modify the part where the flash-code is put together. It starts with the following comment:
    // piece together the flash code

    But I don't know how to do this. Do I have to copy and paste the whole thing out of the wp-cumulus php? What do I have to change and what do I have to write into the single.php? Sorry for being such a noob, but any help would be highly appreciated.

    Martin

Topic Closed

This topic has been closed to new replies.

About this Topic