• Resolved bluehorse2

    (@bluehorse2)


    All of a sudden, after switching host, My links (blogroll) list gets blocked together. Like this: Link1 link2 link3
    Instead of:

    link1
    link2
    link3

    I can’t get it to change back.

    Any ideas?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    One idea would be to post a link to your site so that we can look at the code for it and tell you what’s going on there.

    I know, it’s a radical concept. But it might just be worth a try. πŸ˜‰

    Thread Starter bluehorse2

    (@bluehorse2)

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Ah. Well, your list of links doesn’t have any formatting surrounding it. It’s just a bunch of anchors, one after another. So technically, it’s displaying correctly.

    I’d look at what code you’re using in that sidebar to produce that list of links.

    You may want to use something more like:
    <ul><?php get_links_list(YOUR_OPTIONS); ?></ul>

    Although it’s hard to say without knowing what the existing code there is.

    Thread Starter bluehorse2

    (@bluehorse2)

    I tried that earlier but it had no effect. I’ve added it again so you can see.

    Thread Starter bluehorse2

    (@bluehorse2)

    If you go to the site and view the page source it’s about half way down scrolling.

    The code in the sidebar looks like <ul><?php get_links_list('sort_column=name&optioncount=1&hierarchical=0'); ?></ul>

    Thread Starter bluehorse2

    (@bluehorse2)

    Thread Starter bluehorse2

    (@bluehorse2)

    Any ideas which php function file controls the auto formatting for links (blogroll) I think mine is broken. The before, after, between option in the admin have no effect on the links.

    Did you read the tag’s description???
    http://codex.wordpress.org/Template_Tags/get_links_list

    Thread Starter bluehorse2

    (@bluehorse2)

    I’m not going insain I’ve just found this thread

    http://wordpress.org/support/topic/55488?replies=7

    No solution though, but it describes my problem.

    Thread Starter bluehorse2

    (@bluehorse2)

    I’ve changed my sidebar to

    <ul><?php get_links_list('id'); ?></ul>

    Still no effect

    Thread Starter bluehorse2

    (@bluehorse2)

    First thing I did was read the tag description page, I wish it had helped. πŸ™

    Thread Starter bluehorse2

    (@bluehorse2)

    Last bump before I go to bed.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    If you actually had read that page moshu linked to, you’d know that it explictly tells you why your problem exists:
    “Note: This tag does not respect the “Before Link”, “Between Link and Description”, and “After Link” settings defined for Link Categories in the Links Manager, Formatting”

    That’s built into get_links_list(). If you want the before and after stuff to work, use wp_get_links() instead.

    Also, the link to your blog is gone. So I can’t look at it anymore. I didn’t save your link anywhere.

    Thread Starter bluehorse2

    (@bluehorse2)

    I tried wp_get_links() before, but it had no effect.

    This is going to sound strange, but if anyone eles has the same problem. It’s because you’re running to many plugins. I’m currently running 26. Maybe if I had mentioned that it might have help. :s

    The solution is to change the default limit of 8MB in php.ini to 16mb or 32mb.

    Problem solved. Thanks for your help Otto42, I did search, read the documentation and experiment as much as possible before asking for help.

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

The topic ‘links get blocked?’ is closed to new replies.