WordPress.org

Forums

NextGEN Gallery
Tag name displayed on tagcloud results (3 posts)

  1. aje_gordon
    Member
    Posted 1 year ago #

    I have a tagcloud displayed in a widget in my footer using:

    <div class="widget tags" style="line-height:20px; word-spacing:8px;">
                <?php $args = array(
    	    'smallest'  => 8,
    	    'largest'   => 18,
    	    'unit'      => 'pt',
    	    'number'    => 45,
    	    'separator' => '  ',
    	    'orderby'   => 'name',
    	    'format'    => 'flat',
    	    'order'     => 'RAND',
    	    'exclude'   => '',
    	    'include'   => '',
    	    'link'      => 'view',
    	    'taxonomy'  => 'ngg_tag',
    	    'echo'      => true ); ?>
    <?php echo ng_tag_cloud($args); ?>
    </div>

    I have a page that displays the results using:

    [tagcloud]

    The functionality works perfectly with tagged photos displaying in a table gallery layout. However, above the thumbnails I would like to add the title of the tag in question in a sentence "Photos tagged as: <tag name>:".

    Can anyone offer some advice?
    My site is http://www.agordonphotography.com/ - in addition to the above, any general comments on this new site would be great!

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. aje_gordon
    Member
    Posted 1 year ago #

    Hi. Is anyone able to help out?

  3. anisaluk
    Member
    Posted 1 year ago #

    hi, I do not have the direct answer but maybe editing the template file can help?

    Actually I am new to wordpress and I want to use tagcloud similiar to the way you do as well, I have been searching through the site but I failed in achieving the result you have, do you mind telling me how to display tag cloud in a sidebar widget? I am using Linkable Title Html and Php Widget for various code I found online but none of those work. It will be greatly appreciated if you can give me some advice.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.