• Resolved ivaninwp

    (@ivaninwp)


    Hi, for some reason, my “pages” and “links” widgets aren’t showing up in my sidebar. But all the non-page/post related widgets show up fine.

    This site is for a client and I built the WP site on my server first, where the pages and links show up just fine. Then I set up another WP site on my client’s server, copied the theme and relinked my urls, re-setup the sidebar and now the pages and links widgets don’t show up.

    Here’s the site on my server:
    http://www.ivanwlam.com/client/portal-a/

    Here’s the site on my client’s server:
    http://portal-a.com/wordpress/

    Notice that I put the categories and comments widgets in the sidebar my client’s site just to show that they don’t show up either. It’s as if it can’t detect any pages or posts.

    I looked up forum topics about dynamic sidebars and template tags but no solid solutions. I don’t want to do templates or conditional widgets because I want all my pages to have this sidebar with the same widgets.

    I also activated the two default themes, and they both show everything. So I have a strong feeling I might have deleted some code when I tried to relink my urls and all that stuff during the transfer.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter ivaninwp

    (@ivaninwp)

    Okay. I’m not going to get frustrated for no one reading/replying to this because I understand that it’s sort of late and I’ve only posted this for an hour. But after giving up for the night and then had another rush of desire to resolve this before going to bed, I looked up “comments not showing” since I noticed how ridiculous that none of the post-related stuff showed.

    Basically, I resolved this. What happened is that I had a MySQL database for the WP, and I had another one for something else. From another thread, I found out that I can’t have two opened database connection unless you tell it that you want multiple connections.

    There’s a fourth (apparently optional) parameter in mysql_connect() where you put “1” without quote marks, and that will allow multiple connections. I literally put two characters in my script: “,1” in the fourth parameter and that was it! All solved!

    Found the solution here: http://wordpress.org/support/topic/132627?replies=24#post-814981 where it linked to here: http://www.webmasterworld.com/forum88/5485.htm

Viewing 1 replies (of 1 total)
  • The topic ‘Pages, Links not showing in sidebar’ is closed to new replies.