• Resolved DrHell

    (@drhell)


    First of all I would like to thank you, for the time you spend to develop this plugin!

    To help you improve it further I have to say that I’m using the plugin without any major problems but when I insert the “child_of=” option it brakes my theme css and I cannot understand why…

    Lastly, I would like to ask you if it possible to list only one level depth of sub-categories for a specific category. What I’m trying to say is that I have a main Category named “TV Shows” which has as sub-categories the name of shows, like “Dexter”, which also has other sub-categories, like “Season 1”, “Season 2” etc.
    When I use the
    [mctagmap columns='4' show_categories='yes' child_of='5']
    (where 5 = TV Show category ID) it also lists the seasons sub-categories but I only want to list only the name of the shows e.g. “Dexter”.

    I would really appreciate if you could help me with this as I believe your plugin is my last chance before I give up!

    Cheers

    http://wordpress.org/extend/plugins/multi-column-tag-map/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tugbucket

    (@tugbucket)

    Can you provide a link to the page you are using the plugin?

    Thread Starter DrHell

    (@drhell)

    Unfortunately, I’m currently working the website on my local machine so I can’t provide you any link.I’ll upload it next week on a test server and I’ll inform you about it.(i’m still trying to find what ruins my css so if I find the source of the “evil” I will post here again)

    Because I’m using your plugin exclusively to list the sub-categories of a specific category, is there any chance that you could help me with the second question I posted on the previous post?

    P.S. I also noticed that when you make use of the

    show_empty=’yes’

    option, it only applies for tags and does not show the empty categories.
    The shortcode I uses to test it was this

    [mctagmap columns=’3′ show_categories=’yes’ child_of=’5′ show_empty=’yes’]

    Plugin Author tugbucket

    (@tugbucket)

    Well, you are free to modify the code as you wish. Make sure you read the installation instructions specifically the part the starts “If you wish to make PHP changes…”

    The relevant part of the code should be:

    foreach($childof as $kids){
            $args = array(
    	    'child_of' => $kids,
    	    'order' => 'ASC'
    	);
    	$childcats = get_categories($args);
    	$tags = array_merge($tags, $childcats);
    }

    You can modify the array with help from : http://codex.wordpress.org/Function_Reference/get_categories

    And, back to your other issue of:

    but when I insert the “child_of=” option it brakes my theme css and I cannot understand why

    Without actually seeing what your page looks like, there’s no way for sure that I can help you fix what is happening. What it sounds like is that you don’t have enough categories for the number of columns you have set in the shortcode as explained in the Insatllation under “Explanation of options.”

    Thread Starter DrHell

    (@drhell)

    Anyway, thanks for your help! I’m going to mark this topic as resolved since it was my mistake for not displaying the categories properly!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘child_of option breaks my theme!’ is closed to new replies.