• Resolved Lrrr

    (@lrrr)


    sorry for border you, for years I have been using WP relatively quietly but for now it was totaly broke aside css of my style… It is not well managed back-compatibility… sorry… https://s12.postimg.org/ts49f6031/please.jpg …You Are serving the ‘A’ tags in the same level of the others?!?!? I cant manage it, except directy styling… but if I do, i will make no sense to a classes at all…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Sounds like you have an issue with your theme. What theme are you using? Where did you download it from?

    Thread Starter Lrrr

    (@lrrr)

    Thanks for respond, its my own theme, my own css and had broken just after update… I fixed that but still code seems as on printscreen and this is generated by WP source code which is responsible for generating tag cloud… So I suppossing that somehere in that wp code something was changed and its not back compatible…

    I can’t see any issue in the screenshot you posted…

    Thread Starter Lrrr

    (@lrrr)

    Oh, did not? I will explain… In WP you have widget to put it on certain spaces in web. But, here whereas I put widget “tagcloud” it puts links as you can see on screenshot. But whats strange is that other widget, i.e. “text-20” widget which I put on other place in WP administration, is not in same hierarchy in code but inside… You can see it in screen shot… there is text-20 widget container, but tag cloud has not any container (should have, isnt?) and this is whats broke design… It is more clear?

    It shloud be like:

    <li id="text-20">
    <li id="tag-cloud">
    <li id="text-22">

    But it is:

    <li id="text-20">
    <a class="tag-link-122">
    ...
    <a class="tag-link-181">
    <li id="text-22">

    This would be controlled by your theme. What theme are you using? Where did you download it from?

    Thread Starter Lrrr

    (@lrrr)

    Main theme is thematic, but my own is child… But still have to say it worked before update to 4.4… https://thematictheme.com/

    Thread Starter Lrrr

    (@lrrr)

    Hi, I found the issue, not actual function in my Own theme: heres the code which if I disable , everything works fine. Sorry for incovenience.

    function XYXcustom_tax($args) {
    global $wp_query;
    global $post;
    $dk_page = get_page_by_title( 'foto' );
    $je_fot = has_parent( ($wp_query->post), $dk_page->ID) ;  
    
    if( is_tax( 'attachment' ) || $je_fot )       {
        $args = array( 'taxonomy'  => 'attachment');
        $args['largest'] = 1.8; //largest tag
        $args['smallest'] = 1; //smallest tag
        $args['unit'] = 'em'; //tag font unit
    }
    if( !is_tax( 'attachment' ) && !$je_fot)     {
        $args = array( 'taxonomy'  => 'post_tag');
        $args['largest'] = 1.8; //largest tag
        $args['smallest'] = 1; //smallest tag
        $args['unit'] = 'em'; //tag font unit
    }
    return $args;
    }
    add_filter('widget_tag_cloud_args','dk_display_custom_tax');

    Please if you get the idea where is the my code loosing actuality, and why this code caussing the missing envelop tag for tag cloud, please would be kind to tell me… Thanks, and happy New Year!

    Thats it: was not compatible due to taxonomy reallocating, dont know why there must be:

    $args['taxonomy'] = 'post_tag';

    for working switching the tag cloud in the new WP…

    Thread Starter Lrrr

    (@lrrr)

    closing tospics, there was a Mistake in my function file. Sorry and thank you all! Its fixed.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘4.4 broked primary xoxo hieararchy…’ is closed to new replies.