<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: plugin</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Mon, 20 May 2013 06:29:49 +0000</pubDate>

<item>
<title>initialsbr on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-26912</link>
<pubDate>Wed, 09 May 2012 18:13:53 +0000</pubDate>
<dc:creator>initialsbr</dc:creator>
<guid isPermaLink="false">26912@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Gotcha! That's what I thought you were saying, but I was stupidly trying &#34;get_the_permalink&#34; and it was breaking the site. Thanks helgatheviking!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-26907</link>
<pubDate>Wed, 09 May 2012 17:54:15 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26907@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;it's the same code probably except following my advice to replace the_title() with get_the_title() and replacing the_permalink() with get_permalink()
&#60;/p&#62;</description>
</item>
<item>
<title>initialsbr on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-26905</link>
<pubDate>Wed, 09 May 2012 17:47:08 +0000</pubDate>
<dc:creator>initialsbr</dc:creator>
<guid isPermaLink="false">26905@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm trying to do this same thing and was wondering what the final code looked like for you, goboygodesign. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>bigdanprice on "Ad Management - Where to begin"</title>
<link>http://themeshaper.com/forums/topic/ad-management-where-to-begin#post-25427</link>
<pubDate>Fri, 17 Feb 2012 10:40:47 +0000</pubDate>
<dc:creator>bigdanprice</dc:creator>
<guid isPermaLink="false">25427@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for the help!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Ad Management - Where to begin"</title>
<link>http://themeshaper.com/forums/topic/ad-management-where-to-begin#post-25416</link>
<pubDate>Thu, 16 Feb 2012 14:31:06 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25416@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/adrotate/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/adrotate/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bigdanprice on "Ad Management - Where to begin"</title>
<link>http://themeshaper.com/forums/topic/ad-management-where-to-begin#post-25415</link>
<pubDate>Thu, 16 Feb 2012 11:26:47 +0000</pubDate>
<dc:creator>bigdanprice</dc:creator>
<guid isPermaLink="false">25415@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Whilst this isnt strictly Thematic related, Im looking for a simple ad manager plugin. &#60;/p&#62;
&#60;p&#62;Something that just displays ads and tracks the clicks. Im not looking for any special advertising model or anything, what I need is just a tenancy based model (ie someone pays for that spot for a fixed period, no rotating or anything fancy at all)... &#60;/p&#62;
&#60;p&#62;Im sure I could just add the image into my theme and track but thought I would see if anyone had any experience with this...&#60;/p&#62;
&#60;p&#62;My google searching has only found stuff that is much more complicated than I need.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Dan
&#60;/p&#62;</description>
</item>
<item>
<title>bigdanprice on "Need some help, Im looking for a plugin."</title>
<link>http://themeshaper.com/forums/topic/need-some-help-im-looking-for-a-plugin#post-25171</link>
<pubDate>Fri, 03 Feb 2012 15:15:22 +0000</pubDate>
<dc:creator>bigdanprice</dc:creator>
<guid isPermaLink="false">25171@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks so much! Fantastic and full reply!&#60;/p&#62;
&#60;p&#62;I feared I would have to code it myself! I will post back here the solution Ive come up with, for now I will mark it as a resolved.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Dan
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Need some help, Im looking for a plugin."</title>
<link>http://themeshaper.com/forums/topic/need-some-help-im-looking-for-a-plugin#post-25164</link>
<pubDate>Fri, 03 Feb 2012 13:49:38 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25164@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;gotta love it when the clients insist on terrible ideas.  i've never seen anything that does this and have seen my fair share of jquery plugins, so my guess is you will have to do scripting yourself.  i'd probably try to find a slider that has events/callbacks (my scripting vocab isn't the top) and run a function that fires the sound on the change slide event.  &#60;/p&#62;
&#60;p&#62;for instance, if you take a look at nivo slider&#60;br /&#62;
&#60;a href=&#34;http://nivo.dev7studios.com/support/jquery-plugin-usage/&#34; rel=&#34;nofollow&#34;&#62;http://nivo.dev7studios.com/support/jquery-plugin-usage/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;the plugin comes w/ some options that would be relevant&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;beforeChange: function(){}, // Triggers before a slide transition
afterChange: function(){}, // Triggers after a slide transition
slideshowEnd: function(){}, // Triggers after all slides have been shown
lastSlide: function(){}, // Triggers when last slide is shown
afterLoad: function(){} // Triggers when slider has loaded
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you could hook up the sound playing function to before or afterChange, wrapped in conditional logic that tests for a variable.  change that &#34;flag&#34; variable in slideshowEnd or lastSlide so that the next time around the sound function isn't triggered.  &#60;/p&#62;
&#60;p&#62;never tried this, but it might be adaptable to your needs:&#60;br /&#62;
&#60;a href=&#34;http://css-tricks.com/play-sound-on-hover/&#34; rel=&#34;nofollow&#34;&#62;http://css-tricks.com/play-sound-on-hover/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;also, i loathe unanticipated sound on the web.  roar.
&#60;/p&#62;</description>
</item>
<item>
<title>bigdanprice on "Need some help, Im looking for a plugin."</title>
<link>http://themeshaper.com/forums/topic/need-some-help-im-looking-for-a-plugin#post-25162</link>
<pubDate>Fri, 03 Feb 2012 12:43:55 +0000</pubDate>
<dc:creator>bigdanprice</dc:creator>
<guid isPermaLink="false">25162@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi All,&#60;br /&#62;
Ive got a client that wants an image slider with an audio clip on the image change, but only for the first round of images... anyone got any thoughts on this? There must be a plugin out there that can do it, but Im at a loss after trawling through hundreds of offerings! (Im trying to avoid flash if possible)&#60;/p&#62;
&#60;p&#62;I was thinking as an ugly hack I could go back to the 1997 web and play the audio clip timed to the image change but want to avoid this...&#60;/p&#62;
&#60;p&#62;Ive even tried explaining that noises on websites are annoying, but they're adamant!&#60;/p&#62;
&#60;p&#62;Can you help me Themeshaper forums? Your my only hope!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24882</link>
<pubDate>Fri, 13 Jan 2012 23:20:54 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24882@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i guess it makes sense (not really), but i don't see how the 'map' any different from a taxonomy archive?  if you are on the bacon tag archive you'll only see posts that are tagged w/ the term 'bacon'.
&#60;/p&#62;</description>
</item>
<item>
<title>WebInk on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24881</link>
<pubDate>Fri, 13 Jan 2012 22:53:26 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">24881@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The &#34;Tag Map&#34; Basically is for user who wants to browser articles that has that tag. eg, they only want to browser articles that has a tag of &#34;DIY&#34; &#60;/p&#62;
&#60;p&#62;I'm building a mini online library of articles. Now I created a custom post type so I/We can create pages/post of books (separate to other post/pages).  Now book has it's own custom taxonomy like &#34;Writer/Author&#34; and &#34;Tags&#34;. Tags will be use to categorize or identify the book or article. I use Tags over Category since, I don't need to have a child category or parent category. A one level would work for me  and Tags suits to it.&#60;/p&#62;
&#60;p&#62;I hope this make sense. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24880</link>
<pubDate>Fri, 13 Jan 2012 22:33:08 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24880@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i'd create a custom template. either a page template if you want to be able to edit some text in it from the backend of WP.  or as the taxonomy archive.  taxonomy-writers.php or taxonomy-tags.php or taxonomy.php to have it apply to all custom taxonomies.  then paste this in where you'd like it to display.  &#60;/p&#62;
&#60;p&#62;i still don't understand what the tag maps are so can't help there.
&#60;/p&#62;</description>
</item>
<item>
<title>WebInk on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24879</link>
<pubDate>Fri, 13 Jan 2012 22:14:57 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">24879@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Helga,&#60;/p&#62;
&#60;p&#62;Thank your again the solution. Apologize for my stupid question, How can this be implemented/test? do I need to create a custom template? or insert in my function.php? -- how do i link it to my page 'Tags Map' or should I install a plugin where i can run php on specific page?&#60;/p&#62;
&#60;p&#62;thanks in advance!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24878</link>
<pubDate>Fri, 13 Jan 2012 21:53:14 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24878@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;now that your question is clearer, no thematic doesn't support that natively.  but can't you just do a loop with the results from get_terms() , which can sort terms alphabetically.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/get_terms&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/get_terms&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;in your loop you can use a little conditional logic to control how often you trigger the grouping.  i'm using categories b/c i don't have enough useful terms in another other taxonomy.  obviously, change to suit.  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$terms = get_terms( &#38;#39;category&#38;#39;, array(&#38;#39;orderby&#38;#39;=&#38;gt;&#38;#39;slug&#38;#39;,&#38;#39;order&#38;#39;=&#38;gt;&#38;#39;DSC&#38;#39;));

$xletter = NULL;

foreach($terms as $term){

   $letter = substr($term-&#38;gt;slug, 0, 1); //gets first letter of slug

   if($letter != $xletter){  //if the letter has  changed then print it out
	echo &#38;#39;&#38;lt;h2&#38;gt;&#38;#39; .$letter . &#38;#39;&#38;lt;/h2&#38;gt;&#38;#39;;
}

$xletter = substr($term-&#38;gt;slug, 0, 1); //gets first letter of slug

echo $term-&#38;gt;name . &#38;#39;&#38;#39;;  //echo the term name

}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>WebInk on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24877</link>
<pubDate>Fri, 13 Jan 2012 20:38:46 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">24877@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Helga, Thank You again. :) I've already posted this in wordpress.stackexchange.com. I also posted here because I'm hoping some of you guys here knows some solution.&#60;/p&#62;
&#60;p&#62;I'm trying to create an index page of tags that is sort alphabetically. example all tags that begins in 'A' should be in 'A' section or all tags that begins with 'G' should be placed in 'G' section. &#60;/p&#62;
&#60;p&#62;I'm doubt Thematic support it natively. -- but it's just me. I'm not sure.&#60;/p&#62;
&#60;p&#62;Any ideas or alternative to this?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24875</link>
<pubDate>Fri, 13 Jan 2012 20:31:29 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">24875@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;in future, please use backticks to display code....on a US keyboard it is next to the 1 on the top left.  i've edited your post b/c it broke the site layout.  &#60;/p&#62;
&#60;p&#62;this question is sort of way beyond a thematic question.  you might want to post it at wordpress.stackexchange.com or wordpress.org/support&#60;/p&#62;
&#60;p&#62;doesn't the latest thematic display tags from taxonomies now anyway?
&#60;/p&#62;</description>
</item>
<item>
<title>WebInk on "Customize Multi-Column Tag Map to fetch specific post-type"</title>
<link>http://themeshaper.com/forums/topic/customize-multi-column-tag-map-to-fetch-specific-post-type#post-24874</link>
<pubDate>Fri, 13 Jan 2012 19:46:59 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">24874@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm using a plugin called &#34;Multi-Column Tag Map&#34; that lets you display all tags that were used and arrange them in a alphabetical order. This plugin works fine in a regular post-type but It's not working on a custom post-type that I created. I created a new post-type called 'books' and has an additional taxonomy(Tags) of 'Writers' and 'Tags'.&#60;/p&#62;
&#60;p&#62;I followed this to create my custom post type: &#60;a href=&#34;http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress&#34; rel=&#34;nofollow&#34;&#62;http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How do i customize this to fetch my tags from my custom post-type?&#60;/p&#62;
&#60;p&#62;This is the plugin code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: Multi-column Tag Map
Plugin URI: &#60;a href=&#34;http://tugbucket.net/wordpress/wordpress-plugin-multi-column-tag-map/&#34; rel=&#34;nofollow&#34;&#62;http://tugbucket.net/wordpress/wordpress-plugin-multi-column-tag-map/&#60;/a&#62;
Description: Multi-column Tag Map displays a columnized  and alphabetical (English) listing of all tags used in your site similar to the index pages of a book.
Version: 8.0
Author: Alan Jackson
Author URI: &#60;a href=&#34;http://tugbucket.net&#34; rel=&#34;nofollow&#34;&#62;http://tugbucket.net&#60;/a&#62;
*/

/*  Copyright 2009-2011  Alan Jackson (alan[at]tugbucket.net)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

function wp_mcTagMap($options=&#38;#39;&#38;#39;) {

    $ns_options = array(
                    &#38;quot;columns&#38;quot; =&#38;gt; &#38;quot;2&#38;quot;,
                    &#38;quot;more&#38;quot; =&#38;gt; &#38;quot;View More&#38;quot;,
                    &#38;quot;hide&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;num_show&#38;quot; =&#38;gt; &#38;quot;5&#38;quot;,
                    &#38;quot;toggle&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;show_empty&#38;quot; =&#38;gt; &#38;quot;yes&#38;quot;,
                   );

    if(strpos($options, &#38;#39;&#124;&#38;#39;)) {
    $options = explode(&#38;quot;&#124;&#38;quot;,$options);
    } else {
    $options = explode(&#38;quot;&#38;#38;&#38;quot;,$options);
    }

    foreach ($options as $option) {

        $parts = explode(&#38;quot;=&#38;quot;,$option);
        $options[$parts[0]] = $parts[1];

    }

    if ($options[&#38;#39;columns&#38;#39;]) {
    $ns_options[&#38;#39;columns&#38;#39;] = $options[&#38;#39;columns&#38;#39;];
    } else {
    $options[&#38;#39;columns&#38;#39;] = 2;
    }

    if ($options[&#38;#39;more&#38;#39;]) {
    $ns_options[&#38;#39;more&#38;#39;] = htmlentities($options[&#38;#39;more&#38;#39;], ENT_QUOTES);
    } else {
    $options[&#38;#39;more&#38;#39;] = &#38;quot;View more&#38;quot;;
    }

    if ($options[&#38;#39;hide&#38;#39;]) {
    $ns_options[&#38;#39;hide&#38;#39;] = $options[&#38;#39;hide&#38;#39;];
    } else {
    $options[&#38;#39;hide&#38;#39;] = &#38;quot;no&#38;quot;;
    }

    if ($options[&#38;#39;num_show&#38;#39;]) {
    $ns_options[&#38;#39;num_show&#38;#39;] = $options[&#38;#39;num_show&#38;#39;];
    } else {
    $options[&#38;#39;num_show&#38;#39;] = 5;
    }

    if ($options[&#38;#39;toggle&#38;#39;]) {
    $ns_options[&#38;#39;toggle&#38;#39;] = $options[&#38;#39;toggle&#38;#39;];
    } else {
    $options[&#38;#39;toggle&#38;#39;] = &#38;quot;no&#38;quot;;
    }

    if ($options[&#38;#39;show_empty&#38;#39;]) {
    $ns_options[&#38;#39;show_empty&#38;#39;] = $options[&#38;#39;show_empty&#38;#39;];
    } else {
    $options[&#38;#39;show_empty&#38;#39;] = &#38;quot;yes&#38;quot;;
    }

    $show_empty = $options[&#38;#39;show_empty&#38;#39;];
    if($show_empty == &#38;quot;yes&#38;quot;){
        $show_empty = &#38;quot;0&#38;quot;;
    }
    if($show_empty == &#38;quot;no&#38;quot;){
        $show_empty = &#38;quot;1&#38;quot;;
    }
    $list = &#38;#39;&#38;lt;!-- begin list --&#38;gt;&#38;lt;div id=&#38;quot;mcTagMap&#38;quot;&#38;gt;&#38;#39;;
    $tags = get_terms(&#38;#39;post_tag&#38;#39;, &#38;#39;order=ASC&#38;#38;hide_empty=&#38;#39;.$show_empty.&#38;#39;&#38;#39;); // new code!
    $groups = array();

    if( $tags &#38;#38;&#38;#38; is_array( $tags ) ) {
        foreach( $tags as $tag ) {
            $first_letter = strtoupper( $tag-&#38;gt;name[0] );
            $groups[ $first_letter ][] = $tag;
        }
    if( !empty ( $groups ) ) {
        $count = 0;
        $howmany = count($groups);

        // this makes 2 columns
        if ($options[&#38;#39;columns&#38;#39;] == 2){
        $firstrow = ceil($howmany * 0.5);
        $secondrow = ceil($howmany * 1);
        $firstrown1 = ceil(($howmany * 0.5)-1);
        $secondrown1 = ceil(($howmany * 1)-0);
        }

        //this makes 3 columns
        if ($options[&#38;#39;columns&#38;#39;] == 3){
        $firstrow = ceil($howmany * 0.33);
        $secondrow = ceil($howmany * 0.66);
        $firstrown1 = ceil(($howmany * 0.33)-1);
        $secondrown1 = ceil(($howmany * 0.66)-1);
        }

        //this makes 4 columns
        if ($options[&#38;#39;columns&#38;#39;] == 4){
        $firstrow = ceil($howmany * 0.25);
        $secondrow = ceil(($howmany * 0.5)+1);
        $firstrown1 = ceil(($howmany * 0.25)-1);
        $secondrown1 = ceil(($howmany * 0.5)-0);
        $thirdrow = ceil(($howmany * 0.75)-0);
        $thirdrow1 = ceil(($howmany * 0.75)-1);
        }

        //this makes 5 columns
        if ($options[&#38;#39;columns&#38;#39;] == 5){
        $firstrow = ceil($howmany * 0.2);
        $firstrown1 = ceil(($howmany * 0.2)-1);
        $secondrow = ceil(($howmany * 0.4));
        $secondrown1 = ceil(($howmany * 0.4)-1);
        $thirdrow = ceil(($howmany * 0.6)-0);
        $thirdrow1 = ceil(($howmany * 0.6)-1);
        $fourthrow = ceil(($howmany * 0.8)-0);
        $fourthrow1 = ceil(($howmany * 0.8)-1);
        }

        foreach( $groups as $letter =&#38;gt; $tags ) {
            if ($options[&#38;#39;columns&#38;#39;] == 2){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow) {
                if ($count == $firstrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($options[&#38;#39;columns&#38;#39;] == 3){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow) {
                if ($count == $secondrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($options[&#38;#39;columns&#38;#39;] == 4){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow &#124;&#124; $count == $thirdrow) {
                if ($count == $thirdrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($options[&#38;#39;columns&#38;#39;] == 5){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow &#124;&#124; $count == $thirdrow &#124;&#124; $count == $fourthrow ) {
                if ($count == $fourthrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }

    $list .= &#38;#39;&#38;lt;div class=&#38;quot;tagindex&#38;quot;&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .=&#38;#39;&#38;lt;h4&#38;gt;&#38;#39; . apply_filters( &#38;#39;the_title&#38;#39;, $letter ) . &#38;#39;&#38;lt;/h4&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .= &#38;#39;&#38;lt;ul class=&#38;quot;links&#38;quot;&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $i = 0;
    foreach( $tags as $tag ) {
        $url = attribute_escape( get_tag_link( $tag-&#38;gt;term_id ) );
        $name = apply_filters( &#38;#39;the_title&#38;#39;, $tag-&#38;gt;name );
    //  $name = ucfirst($name);
        $i++;
        $counti = $i;
        if ($options[&#38;#39;hide&#38;#39;] == &#38;quot;yes&#38;quot;){
        $num2show = $options[&#38;#39;num_show&#38;#39;];
        $num2show1 = ($options[&#38;#39;num_show&#38;#39;] +1);
        $toggle = ($options[&#38;#39;toggle&#38;#39;]);

        if ($i != 0 and $i &#38;lt;= $num2show) {
            $list .= &#38;#39;
&#38;lt;li&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;#39;;
            $list .=&#38;quot;\n&#38;quot;;
            }
        if ($i &#38;gt; $num2show &#38;#38;&#38;#38; $i == $num2show1 &#38;#38;&#38;#38; $toggle == &#38;quot;no&#38;quot;) {
            $list .=  &#38;quot;&#38;lt;li class=\&#38;quot;morelink\&#38;quot;&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$options[&#38;#39;more&#38;#39;].&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;quot;.&#38;quot;\n&#38;quot;;
            }
        if ($i &#38;gt;= $num2show1){
               $list .= &#38;#39;&#38;lt;li class=&#38;quot;hideli&#38;quot;&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
               $list .=&#38;quot;\n&#38;quot;;
        }
        } else {
            $list .= &#38;#39;
&#38;lt;li&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;#39;;
            $list .=&#38;quot;\n&#38;quot;;
        }   

    }
        if ($options[&#38;#39;hide&#38;#39;] == &#38;quot;yes&#38;quot; &#38;#38;&#38;#38; $toggle != &#38;quot;no&#38;quot; &#38;#38;&#38;#38; $i == $counti &#38;#38;&#38;#38; $i &#38;gt; $num2show) {
            $list .=  &#38;quot;&#38;lt;li class=\&#38;quot;morelink\&#38;quot;&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$options[&#38;#39;more&#38;#39;].&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$options[&#38;#39;toggle&#38;#39;].&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;quot;.&#38;quot;\n&#38;quot;;
        }
    $list .= &#38;#39;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .= &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n\n&#38;quot;;
        if ($options[&#38;#39;columns&#38;#39;] == 3 &#124;&#124; $options[&#38;#39;columns&#38;#39;] == 2){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }
        if ($options[&#38;#39;columns&#38;#39;] == 4){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1 &#124;&#124; $count == $thirdrow1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }
        if ($options[&#38;#39;columns&#38;#39;] == 5){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1 &#124;&#124; $count == $thirdrow1 &#124;&#124; $count == $fourthrow1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }

        $count++;
            }
        }
    $list .=&#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
    $list .= &#38;quot;&#38;lt;div style=&#38;#39;clear: both;&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;!-- end list --&#38;gt;&#38;quot;;
        }
    else $list .= &#38;#39;&#38;lt;p&#38;gt;Sorry, but no tags were found&#38;lt;/p&#38;gt;&#38;#39;;

print $list ;

}
// end long code

// short code begins
function sc_mcTagMap($atts, $content = null) {
        extract(shortcode_atts(array(
                    &#38;quot;columns&#38;quot; =&#38;gt; &#38;quot;2&#38;quot;,
                    &#38;quot;more&#38;quot; =&#38;gt; &#38;quot;View More&#38;quot;,
                    &#38;quot;hide&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;num_show&#38;quot; =&#38;gt; &#38;quot;5&#38;quot;,
                    &#38;quot;toggle&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;show_empty&#38;quot; =&#38;gt; &#38;quot;yes&#38;quot;,
                    &#38;quot;name_divider&#38;quot; =&#38;gt; &#38;quot;&#124;&#38;quot;, // added 09.02.11
                    &#38;quot;tag_count&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;exclude&#38;quot; =&#38;gt; &#38;quot;&#38;quot;,
                    &#38;quot;descriptions&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
                    &#38;quot;width&#38;quot; =&#38;gt; &#38;quot;&#38;quot;,
                    &#38;quot;equal&#38;quot; =&#38;gt; &#38;quot;no&#38;quot;,
        ), $atts));

    if($show_empty == &#38;quot;yes&#38;quot;){
        $show_empty = &#38;quot;0&#38;quot;;
    }
    if($show_empty == &#38;quot;no&#38;quot;){
        $show_empty = &#38;quot;1&#38;quot;;
    }

    if($width){
        $tug_width = &#38;quot;style=\&#38;quot;width: &#38;quot;. $width .&#38;quot;px;\&#38;quot;&#38;quot;;
    }
    if($equal == &#38;quot;yes&#38;quot; &#38;#38;&#38;#38; $columns != &#38;quot;1&#38;quot;){
        $equalize = &#38;#39;mcEqualize&#38;#39;;
    }
    if($toggle != &#38;quot;no&#38;quot;){
        $toggable = &#38;quot;toggleYes&#38;quot;;
    } else {
        $toggable = &#38;quot;toggleNo&#38;quot;;
    }
    $list = &#38;#39;&#38;lt;!-- begin list --&#38;gt;&#38;lt;div id=&#38;quot;mcTagMap&#38;quot; class=&#38;quot;&#38;#39;.$equalize.&#38;#39; &#38;#39;.$toggable.&#38;#39;&#38;quot;&#38;gt;&#38;#39;;
    $tags = get_terms(&#38;#39;post_tag&#38;#39;, &#38;#39;order=ASC&#38;#38;hide_empty=&#38;#39;.$show_empty.&#38;#39;&#38;#39;); // new code!

    /* exclude tags */
    foreach($tags as $tag){
        $fl = mb_substr($tag-&#38;gt;name,0,1);
        $ll = mb_substr($tag-&#38;gt;name,1);
        $tag-&#38;gt;name = $fl.$ll;
        if (preg_match(&#38;#39;/(?&#38;lt;=^&#124;[^\p{L}])&#38;#39; . preg_quote($tag-&#38;gt;name,&#38;#39;/&#38;#39;) . &#38;#39;(?=[^\p{L}]&#124;$)/ui&#38;#39;, $exclude)) {
            unset($tag-&#38;gt;name);
        }
    }

    $groups = array();
    if( $tags &#38;#38;&#38;#38; is_array( $tags ) ) {
        foreach( $tags as $tag ) {
        /* exclude tags */
        if(isset($tag-&#38;gt;name)){
            // added 09.02.11
            if (strlen(strstr($tag-&#38;gt;name, $name_divider))&#38;gt;0) {
                $tag-&#38;gt;name = preg_replace(&#38;quot;/\s*([\\&#38;quot;.$name_divider.&#38;quot;])\s*/&#38;quot;, &#38;quot;$1&#38;quot;, $tag-&#38;gt;name);
                $tagParts = explode($name_divider, $tag-&#38;gt;name);
                $tag-&#38;gt;name = $tagParts[1].&#38;#39;, &#38;#39;.$tagParts[0];
            }

            $first_letter = mb_strtoupper( mb_substr($tag-&#38;gt;name,0,1) ); /* Thanks to Birgir Erlendsson */
            $groups[ $first_letter ][] = $tag;
            ksort($groups);
        }
        }
    if( !empty ( $groups ) ) {
        $count = 0;
        $howmany = count($groups);

        // this makes 2 columns
        if ($columns == 2){
        $firstrow = ceil($howmany * 0.5);
        $secondrow = ceil($howmany * 1);
        $firstrown1 = ceil(($howmany * 0.5)-1);
        $secondrown1 = ceil(($howmany * 1)-0);
        }

        //this makes 3 columns
        if ($columns == 3){
        $firstrow = ceil($howmany * 0.33);
        $secondrow = ceil($howmany * 0.66);
        $firstrown1 = ceil(($howmany * 0.33)-1);
        $secondrown1 = ceil(($howmany * 0.66)-1);
        }

        //this makes 4 columns
        if ($columns == 4){
        $firstrow = ceil($howmany * 0.25);
        $secondrow = ceil(($howmany * 0.5)+1);
        $firstrown1 = ceil(($howmany * 0.25)-1);
        $secondrown1 = ceil(($howmany * 0.5)-0);
        $thirdrow = ceil(($howmany * 0.75)-0);
        $thirdrow1 = ceil(($howmany * 0.75)-1);
        }

        //this makes 5 columns
        if ($columns == 5){
        $firstrow = ceil($howmany * 0.2);
        $firstrown1 = ceil(($howmany * 0.2)-1);
        $secondrow = ceil(($howmany * 0.4));
        $secondrown1 = ceil(($howmany * 0.4)-1);
        $thirdrow = ceil(($howmany * 0.6)-0);
        $thirdrow1 = ceil(($howmany * 0.6)-1);
        $fourthrow = ceil(($howmany * 0.8)-0);
        $fourthrow1 = ceil(($howmany * 0.8)-1);
        }

        foreach( $groups as $letter =&#38;gt; $tags ) {
            if ($columns == 2){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow) {
                if ($count == $firstrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($columns == 3){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow) {
                if ($count == $secondrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($columns == 4){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow &#124;&#124; $count == $thirdrow) {
                if ($count == $thirdrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }
            if ($columns == 5){
            if ($count == 0 &#124;&#124; $count == $firstrow &#124;&#124; $count ==  $secondrow &#124;&#124; $count == $thirdrow &#124;&#124; $count == $fourthrow ) {
                if ($count == $fourthrow){
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft noMargin&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                } else {
                $list .= &#38;quot;\n&#38;lt;div class=&#38;#39;holdleft&#38;#39; &#38;quot;. $tug_width .&#38;quot;&#38;gt;\n&#38;quot;;
                $list .=&#38;quot;\n&#38;quot;;
                }
                }
                }

    $list .= &#38;#39;&#38;lt;div class=&#38;quot;tagindex&#38;quot;&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .=&#38;#39;&#38;lt;h4&#38;gt;&#38;#39; . apply_filters( &#38;#39;the_title&#38;#39;, $letter ) . &#38;#39;&#38;lt;/h4&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .= &#38;#39;&#38;lt;ul class=&#38;quot;links&#38;quot;&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $i = 0;

    uasort( $tags, create_function(&#38;#39;$a, $b&#38;#39;, &#38;#39;return strnatcasecmp($a-&#38;gt;name, $b-&#38;gt;name);&#38;#39;) ); // addded 09.02.11

    foreach( $tags as $tag ) {
        /* exclude tags */
        if(isset($tag-&#38;gt;name)){
        // added 9.28.11
        if($tag_count == &#38;quot;yes&#38;quot;){
            $mctagmap_count = &#38;#39; &#38;lt;span class=&#38;quot;mctagmap_count&#38;quot;&#38;gt;(&#38;#39;.$tag-&#38;gt;count.&#38;#39;)&#38;lt;/span&#38;gt;&#38;#39;;
        }

        $url = attribute_escape( get_tag_link( $tag-&#38;gt;term_id ) );
        $name = apply_filters( &#38;#39;the_title&#38;#39;, $tag-&#38;gt;name );
        if($descriptions == &#38;quot;yes&#38;quot;){
            $mctagmap_description = &#38;#39;&#38;lt;span class=&#38;quot;tagDescription&#38;quot;&#38;gt;&#38;#39; . $tag-&#38;gt;description . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
        }
        //$name = ucfirst($name);
        $i++;
        $counti = $i;
        if ($hide == &#38;quot;yes&#38;quot;){
        $num2show = $num_show;
        $num2show1 = ($num_show +1);
        //$toggle = ($options[&#38;#39;toggle&#38;#39;]);

        if ($i != 0 and $i &#38;lt;= $num2show) {
            $list .= &#38;#39;
&#38;lt;li&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;. $mctagmap_count . $mctagmap_description . &#38;#39;&#38;lt;/li&#38;gt;
&#38;#39;;
            $list .=&#38;quot;\n&#38;quot;;
            }
        if ($i &#38;gt; $num2show &#38;#38;&#38;#38; $i == $num2show1 &#38;#38;&#38;#38; $toggle == &#38;quot;no&#38;quot;) {
            $list .=  &#38;quot;&#38;lt;li class=\&#38;quot;morelink\&#38;quot;&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$more.&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;quot;.&#38;quot;\n&#38;quot;;
            }
        if ($i &#38;gt;= $num2show1){
               $list .= &#38;#39;&#38;lt;li class=&#38;quot;hideli&#38;quot;&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39; . $mctagmap_count . $mctagmap_description . &#38;#39;&#38;#39;;
               $list .=&#38;quot;\n&#38;quot;;
        }
        } else {
            $list .= &#38;#39;
&#38;lt;li&#38;gt;&#38;lt;a title=&#38;quot;&#38;#39; . $name . &#38;#39;&#38;quot; href=&#38;quot;&#38;#39; . $url . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $name . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39; . $mctagmap_count . $mctagmap_description . &#38;#39;&#38;lt;/li&#38;gt;
&#38;#39;;
            $list .=&#38;quot;\n&#38;quot;;
        }
        }   

    }
        if ($hide == &#38;quot;yes&#38;quot; &#38;#38;&#38;#38; $toggle != &#38;quot;no&#38;quot; &#38;#38;&#38;#38; $i == $counti &#38;#38;&#38;#38; $i &#38;gt; $num2show) {
            $list .=  &#38;quot;&#38;lt;li class=\&#38;quot;morelink\&#38;quot;&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$more.&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;lt;a&#38;gt;&#38;quot;.$toggle.&#38;quot;&#38;lt;/a&#38;gt;&#38;quot;.&#38;quot;&#38;quot;.&#38;quot;\n&#38;quot;;
        }    

    $list .= &#38;#39;&#38;#39;;
    $list .=&#38;quot;\n&#38;quot;;
    $list .= &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
    $list .=&#38;quot;\n\n&#38;quot;;
        if ($columns == 3 &#124;&#124; $columns == 2){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }
        if ($columns == 4){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1 &#124;&#124; $count == $thirdrow1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }
        if ($columns == 5){
        if ( $count == $firstrown1 &#124;&#124; $count == $secondrown1 &#124;&#124; $count == $thirdrow1 &#124;&#124; $count == $fourthrow1) {
            $list .= &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
            }
            }

        $count++;
            }
        }
    $list .=&#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
    $list .= &#38;quot;&#38;lt;div style=&#38;#39;clear: both;&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;!-- end list --&#38;gt;&#38;quot;;
        }
    else $list .= &#38;#39;&#38;lt;p&#38;gt;Sorry, but no tags were found&#38;lt;/p&#38;gt;&#38;#39;;

return $list;

}

add_shortcode(&#38;quot;mctagmap&#38;quot;, &#38;quot;sc_mcTagMap&#38;quot;);
// end shortcode

function mctagmap_donate($links, $file) {
$plugin = plugin_basename(__FILE__);
// create link
if ($file == $plugin) {
return array_merge( $links, array( sprintf( &#38;#39;&#38;lt;a href=&#38;quot;https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#38;#38;hosted_button_id=GX8RH7F2LR74J&#38;quot;&#38;gt;Donate to mctagmap development&#38;lt;/a&#38;gt;&#38;#39;, $plugin, __(&#38;#39;Donate&#38;#39;) ) ));
}
return $links;
}
add_filter( &#38;#39;plugin_row_meta&#38;#39;, &#38;#39;mctagmap_donate&#38;#39;, 10, 2 );

// the JS and CSS
add_action(&#38;#39;wp_head&#38;#39;, &#38;#39;mcTagMapCSSandJS&#38;#39;);
function mcTagMapCSSandJS(){
$mctagmapVersionNumber = &#38;quot;8.0&#38;quot;;
$mctagmapCSSpath = &#38;#39;./wp-content/themes/&#38;#39;.get_template().&#38;#39;/multi-column-tag-map/mctagmap.css&#38;#39;;
    echo &#38;quot;\n&#38;quot;;
    if(file_exists($mctagmapCSSpath)){
        echo &#38;#39;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; href=&#38;quot;&#38;#39;.$mctagmapCSSpath.&#38;#39;?ver=&#38;#39;.$mctagmapVersionNumber.&#38;#39;&#38;quot; type=&#38;quot;text/css&#38;quot; media=&#38;quot;screen&#38;quot; /&#38;gt;&#38;#39;;
    } else {
        echo &#38;#39;&#38;lt;link rel=&#38;quot;stylesheet&#38;quot; href=&#38;quot;&#38;#39;.WP_PLUGIN_URL.&#38;#39;/multi-column-tag-map/mctagmap.css?ver=&#38;#39;.$mctagmapVersionNumber.&#38;#39;&#38;quot; type=&#38;quot;text/css&#38;quot; media=&#38;quot;screen&#38;quot; /&#38;gt;&#38;#39;;
    }
    echo &#38;quot;\n&#38;quot;;
    echo &#38;#39;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;&#38;#39;.WP_PLUGIN_URL.&#38;#39;/multi-column-tag-map/mctagmap.js?ver=&#38;#39;.$mctagmapVersionNumber.&#38;#39;&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#38;#39;;
    echo &#38;quot;\n\n&#38;quot;;
}

// overwrite single_tag_title()
add_filter(&#38;#39;single_tag_title&#38;#39;, &#38;#39;mctagmap_single_tag_title&#38;#39;, 1, 2);
function mctagmap_single_tag_title($prefix = &#38;#39;&#38;#39;) {
    global $wp_query;
    if ( !is_tag() )
        return;

    $tag = $wp_query-&#38;gt;get_queried_object();

    if ( ! $tag )
        return;

    $my_tag_name = str_replace(&#38;#39;&#124;&#38;#39;, &#38;#39;&#38;#39;, $tag-&#38;gt;name);
    if ( !empty($my_tag_name) ) {
        if ( $display )
            echo $prefix . $my_tag_name;
        else
            return $my_tag_name;
    }
}

?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>goboygodesign on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-23006</link>
<pubDate>Wed, 07 Sep 2011 16:26:33 +0000</pubDate>
<dc:creator>goboygodesign</dc:creator>
<guid isPermaLink="false">23006@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Amazing! Thank you I've been racking my brain trying to figure that one out. The only reason I split all those functions off was to try to trace the issue (with no luck). Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-22971</link>
<pubDate>Mon, 05 Sep 2011 03:39:27 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">22971@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;b/c the_title() and the_permalink() ECHO out their values by default... so they spit out titles and permalinks as soon as those functions are encountered.  you need to RETURN values instead using&#60;/p&#62;
&#60;p&#62;get_the_title() and i think, get_permalink()&#60;/p&#62;
&#60;p&#62;also i can't think of a reason why you need to separate out the my_sharefb() function.  just roll it into my_postmeta()
&#60;/p&#62;</description>
</item>
<item>
<title>goboygodesign on "ShareThis in the thematic_postheader_postmeta issue"</title>
<link>http://themeshaper.com/forums/topic/sharethis-in-the-thematic_postheader_postmeta-issue#post-22966</link>
<pubDate>Sun, 04 Sep 2011 18:08:57 +0000</pubDate>
<dc:creator>goboygodesign</dc:creator>
<guid isPermaLink="false">22966@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;So I am having a strange issue - I added a custom function to append the sharethis buttons to the post-header meta and it puts it there without any problem, but it somehow also adds a random title and permalink above the post content as well and I can't figure out why it would do that. I'm using the latest version of the sharethis plugin with auto-add turned off and this code to add the buttons to my postheader:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_sharefb() {
	$postmeta = &#38;#39;&#38;lt;span class=&#38;quot;st_facebook&#38;quot; st_title=&#38;quot;&#38;#39; . the_title() . &#38;#39;&#38;quot; st_url=&#38;quot;&#38;#39; . the_permalink() . &#38;#39;&#38;quot; &#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
	return $postmeta;
}

function my_sharetw() {
	$postmeta = &#38;#39;&#38;lt;span class=&#38;quot;st_twitter&#38;quot; st_title=&#38;quot;&#38;#39; . the_title() . &#38;#39;&#38;quot; st_url=&#38;quot;&#38;#39; . the_permalink() . &#38;#39;&#38;quot; &#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
	return $postmeta;
}

function my_shareem() {
	 $postmeta = &#38;#39;&#38;lt;span class=&#38;quot;st_email&#38;quot; st_title=&#38;quot;&#38;#39; . the_title() . &#38;#39;&#38;quot; st_url=&#38;quot;&#38;#39; . the_permalink() . &#38;#39;&#38;quot; &#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
	 return $postmeta;
}

function my_sharethis() {
	$postmeta = &#38;#39;&#38;lt;span class=&#38;quot;st_sharethis&#38;quot; st_title=&#38;quot;&#38;#39; . the_title() . &#38;#39;&#38;quot; st_url=&#38;quot;&#38;#39; . the_permalink() . &#38;#39;&#38;quot; &#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;
	return $postmeta;
}

function my_postmeta() {
    $postmeta = &#38;#39;&#38;lt;div class=&#38;quot;entry-meta&#38;quot;&#38;gt;&#38;#39;;
    $postmeta .= thematic_postmeta_authorlink();
    $postmeta .= &#38;#39;&#38;lt;span class=&#38;quot;meta-sep meta-sep-entry-date&#38;quot;&#38;gt; &#124; &#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= thematic_postmeta_entrydate();
	$postmeta .= &#38;#39; &#38;lt;span class=&#38;quot;meta-sep meta-sep-tweetmeme&#38;quot;&#38;gt;&#124;&#38;lt;/span&#38;gt; &#38;#39;;
	$postmeta .= my_sharefb();
	$postmeta .= my_sharetw();
	$postmeta .= my_shareem();
	$postmeta .= my_sharethis();
	$postmeta .= &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
    $postmeta .= thematic_postmeta_editlink();
    $postmeta .= &#38;quot;&#38;lt;/div&#38;gt;&#38;lt;!-- .entry-meta --&#38;gt;\n&#38;quot;;

    return $postmeta;
}
add_filter(&#38;#39;thematic_postheader_postmeta&#38;#39;, &#38;#39;my_postmeta&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Take a look at the output:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.polariscounseling.com/2011/08/five-great-ways-to-show-your-spouse-you-love-them/&#34; rel=&#34;nofollow&#34;&#62;http://www.polariscounseling.com/2011/08/five-great-ways-to-show-your-spouse-you-love-them/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Thematic Pages Menu &#038; wp_page_menu filter"</title>
<link>http://themeshaper.com/forums/topic/thematic-pages-menu-038-wp_page_menu-filter#post-22634</link>
<pubDate>Thu, 11 Aug 2011 17:31:09 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">22634@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;huh?  why would you remove thematic_access in the first place?  just don't put a custom menu in the &#34;primary&#34; location and it will fall back to wp_page_menu by default.  if you are really opposed to the sweetness of custom menus, then there is probably a way to unregister it, but i can't figure that out right now.  but if you're using some super outdated version of thematic you might not even have custom menus. &#60;/p&#62;
&#60;p&#62;this works just fine for me in terms of passing args to the page menu&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_menu_args($args) {
   $args = array(
       &#38;#39;show_home&#38;#39; =&#38;gt; &#38;#39;Home&#38;#39;,
       &#38;#39;echo&#38;#39; =&#38;gt; false
   );
	return $args;
}
//add_filter(&#38;#39;wp_page_menu_args&#38;#39;,&#38;#39;childtheme_menu_args&#38;#39;);
add_filter(&#38;#39;thematic_page_menu_args&#38;#39;,&#38;#39;childtheme_menu_args&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;i commented out the first filter, but i left it b/c it also worked- just uses default WP filter versus the thematic one.  &#60;/p&#62;
&#60;p&#62;i'm not 100% sure why i have to maintain the echo=&#38;gt;FALSE; in this filter when it is the new thematic default arg, but there ya go.  it doesn't even lose the menu entirely, it just loses the styling as it must not get to the little preg_replace function that adds the sf-class to the page menu UL element.  &#60;/p&#62;
&#60;p&#62;the switch from echo=&#38;gt;true to echo=&#38;gt;false was well-documented a year ago when it actually happened.  it did cause some issues for a lot of people, and could be contributing to your trouble.  i think the new way thematic handles menus is pretty sweet and i've never had an issue w/ it.  &#60;/p&#62;
&#60;p&#62;but you should be able to put &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$my_args = array();
wp_nav_menu($my_args);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;anywhere you like.  &#60;/p&#62;
&#60;p&#62;&#34;this is why I try to never update thematic&#34;&#60;/p&#62;
&#60;p&#62;i don't understand this at all.  why wouldn't you update?  thematic 0.9.8 (which is available here: &#60;a href=&#34;http://developing.thematic4you.com/thematic-development-release/&#34; rel=&#34;nofollow&#34;&#62;http://developing.thematic4you.com/thematic-development-release/&#60;/a&#62; ) has quite a few improvements and bug fixes.  and it is really hard for the limited, volunteer community to provide support on old versions.
&#60;/p&#62;</description>
</item>
<item>
<title>WraithKenny on "Thematic Pages Menu &#038; wp_page_menu filter"</title>
<link>http://themeshaper.com/forums/topic/thematic-pages-menu-038-wp_page_menu-filter#post-22633</link>
<pubDate>Thu, 11 Aug 2011 17:11:22 +0000</pubDate>
<dc:creator>WraithKenny</dc:creator>
<guid isPermaLink="false">22633@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;sorry, steveblamey code chunks
&#60;/p&#62;</description>
</item>
<item>
<title>WraithKenny on "Thematic Pages Menu &#038; wp_page_menu filter"</title>
<link>http://themeshaper.com/forums/topic/thematic-pages-menu-038-wp_page_menu-filter#post-22632</link>
<pubDate>Thu, 11 Aug 2011 17:10:24 +0000</pubDate>
<dc:creator>WraithKenny</dc:creator>
<guid isPermaLink="false">22632@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;adding &#60;code&#62;remove_filter(&#38;#39;wp_page_menu_args&#38;#39;,&#38;#39;thematic_page_menu_args&#38;#39;);&#60;/code&#62; to chris' code chunk solved for me.
&#60;/p&#62;</description>
</item>
<item>
<title>WraithKenny on "Thematic Pages Menu &#038; wp_page_menu filter"</title>
<link>http://themeshaper.com/forums/topic/thematic-pages-menu-038-wp_page_menu-filter#post-22631</link>
<pubDate>Thu, 11 Aug 2011 16:17:22 +0000</pubDate>
<dc:creator>WraithKenny</dc:creator>
<guid isPermaLink="false">22631@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;the problem is thematic completely ignores all args past to wp_page_menu in favor of its own. since whenever thematic_page_menu_args was added. this is why I try to never update thematic. This should be a *filter*. pass-thru should be possible.
&#60;/p&#62;</description>
</item>
<item>
<title>WraithKenny on "Thematic Pages Menu &#038; wp_page_menu filter"</title>
<link>http://themeshaper.com/forums/topic/thematic-pages-menu-038-wp_page_menu-filter#post-22629</link>
<pubDate>Thu, 11 Aug 2011 15:45:18 +0000</pubDate>
<dc:creator>WraithKenny</dc:creator>
<guid isPermaLink="false">22629@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;We've removed 'thematic_access' on 'thematic_header' at priority 9. At priority 10 we've added to 'thematic_header' a simple call to wp_page_menu. This call breaks on recent versions of thematic, and outputs nothing. Any workarounds? My client hit update, and now has no menu.
&#60;/p&#62;</description>
</item>
<item>
<title>andycheeseman on "Custom Posts Dependent on Page"</title>
<link>http://themeshaper.com/forums/topic/custom-posts-dependent-on-page#post-21834</link>
<pubDate>Sun, 12 Jun 2011 11:27:58 +0000</pubDate>
<dc:creator>andycheeseman</dc:creator>
<guid isPermaLink="false">21834@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Does anyone know of a plugin that would allow for posts to be displayed dependent on where they are being displayed. i.e. so I can say 'on the homepage, display a maximum of 4 posts from the 'news' and 'events' category'... whereas on the interesting facts page, I can say display as many posts as possible from the 'facts' category.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Andy.
&#60;/p&#62;</description>
</item>
<item>
<title>Danieliser on "Easy Modal Plugin Released - Works with Contact Form 7"</title>
<link>http://themeshaper.com/forums/topic/easy-modal-plugin-released-works-with-contact-form-7#post-21592</link>
<pubDate>Wed, 01 Jun 2011 18:47:51 +0000</pubDate>
<dc:creator>Danieliser</dc:creator>
<guid isPermaLink="false">21592@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;We just released a new plugin that you might find useful. It allows the blog owner to easily create modal popup windows with just about any content including wp shortcodes.  &#60;/p&#62;
&#60;p&#62;It works out of the box with Contact-Form-7 Custom Forms using Ajax validation and submission.&#60;/p&#62;
&#60;p&#62;Modal windows are a great marketing strategy and our ideas for future updates will allow for multiple modals as well as allowing to load the window on page load.&#60;/p&#62;
&#60;p&#62;&#60;a title=&#34;Easy Modal on WordPress.org&#34; href=&#34;http://wordpress.org/extend/plugins/easy-modal/&#34;&#62;Easy Modal on WordPress.org&#60;/a&#62;&#60;br /&#62;
&#60;a title=&#34;Easy Modal Plugin Page&#34; href=&#34;http://wizardinternetsolutions.com/plugins/easy-modal/&#34;&#62;Easy Modal Plugin Page&#60;/a&#62; - Info, Demo &#38;amp; Discussion.
&#60;/p&#62;</description>
</item>
<item>
<title>WebInk on "Easy to manage header rotator"</title>
<link>http://themeshaper.com/forums/topic/easy-to-manage-header-rotator#post-18319</link>
<pubDate>Thu, 13 Jan 2011 05:10:12 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">18319@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;What plugin do you use for rotating images and has an effect of either sliding or fading. Looking for a plugin that is easy to update and manage. where you can easily add and delete Images or you might know some different approach with same result. &#60;/p&#62;
&#60;p&#62;I don't want to inject the header from my functions.php because clients don't have an idea editing the functions.php whenever they need to change the images in the 'Rotating Header'. I think an Admin Interface for the 'Rotating Header' inside WP-Admin can be helpful for my clients, but I don't know how I can code them.&#60;/p&#62;
&#60;p&#62;Please Suggest an Approach or a Plugin..&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>WebInk on "Plugin Selection and Approaches advice needed."</title>
<link>http://themeshaper.com/forums/topic/plugin-selection-and-approaches-advice-needed#post-18288</link>
<pubDate>Wed, 12 Jan 2011 17:10:18 +0000</pubDate>
<dc:creator>WebInk</dc:creator>
<guid isPermaLink="false">18288@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I need advice when building a theme. I need all the theme that I create to be extensible and can be easily modified for a new project in the future. So to achieve this to start with a good approach and use the right plugins. &#60;/p&#62;
&#60;p&#62;Let's start with approaches. What are some best practices that you do when you create a theme for Thematic? Do you re-use your old CSS and functions(functions.php)? or code it from scratch?&#60;/p&#62;
&#60;p&#62;for the Plugins. In web 2.0 there are plenty of repeating objects that you can usually see on each Website. For example, your rotating Header that fades or slide, The Gallery that displays thumb and large version, the contact form. like I need some suggestions on what plugins you usually use and re-use on your projects. I'm interested of rotating images (for the Header) and Gallery.&#60;/p&#62;
&#60;p&#62;I need a plugin suggestions for the Headers, Gallery, and Contact form. The plugin needs to be easy to manage where users can easily manage the images for the header or gallery, and user can also add his custom fields for the contact form.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>steveblue on "How to open gallery thumbnails in lightbox?"</title>
<link>http://themeshaper.com/forums/topic/how-to-open-gallery-thumbnails-in-lightbox#post-18204</link>
<pubDate>Sat, 08 Jan 2011 21:59:31 +0000</pubDate>
<dc:creator>steveblue</dc:creator>
<guid isPermaLink="false">18204@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I have the same question, does anyone know to install NextGen Gallery in place of  the Gallery  Image?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
