• Resolved ajayver

    (@ajayver)


    Hello!
    Thank you for WP-dTree! I’m using it on my travel blog and it is very useful.
    I have about 170 categories (countries and cities) and each of them has a big description, that I’m using in my template. I have 2 categories WP-dTree widgets on each page, so totally it is a lot of text and the page gets so big, that search engines refuse to index links on them. I don’t know why they do so, may be some character limit, but the fact is – when I put ‘title’ => strip_tags($cat->name) instead of ‘title’ => strip_tags($cat->description) in wp-dtree-cat.php on line 20, search engines start to index my pages immediately.

    So it would be nice to have an option to switch off using descriptions for titles in Admin menu, instead of editing plugins files everytime after updating.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ulfben

    (@ulfben)

    There is no maximum length specified for the title attribute, so I doubt that’s related. Perhaps the escaping is not sufficient and your descriptions somehow breaks page validation? Try and run the site through validation and let me know how it fares.

    Thread Starter ajayver

    (@ajayver)

    Oh, I’m sorry, I totally forgot, that I’m using html tags in my categories descriptions. I have a plugin that allows that, so wordpress doesn’t delete tags from cat. desc.
    So this is obviously the reason…
    And probably I am the only user with such problems)
    But still, if there were no html tags tags and problems with validation, my descriptions are so long, that it is better to switch them off and I have to edit the plugin files.
    It would be a good feature to have a choice what to use for titles, but if you don’t think so, I will totally understand.

    Plugin Author ulfben

    (@ulfben)

    Long descriptions are not a problem. If you feel strongly about it you can add the feature and send me the code. Or you could send me a book and I’ll add the feature for you. (AI Game Programming Wisdom has been on there for a long time. *hint*)

    Either way, please mark this thread resolved as this is not a fault with the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WP-dTree] Category describtions making problems’ is closed to new replies.