links get blocked?
-
All of a sudden, after switching host, My links (blogroll) list gets blocked together. Like this: Link1 link2 link3
Instead of:link1
link2
link3I can’t get it to change back.
Any ideas?
-
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. π
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.
I tried that earlier but it had no effect. I’ve added it again so you can see.
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>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_listI’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.
I’ve changed my sidebar to
<ul><?php get_links_list('id'); ?></ul>Still no effect
First thing I did was read the tag description page, I wish it had helped. π
Last bump before I go to bed.
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.
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.
The topic ‘links get blocked?’ is closed to new replies.