Support » Fixing WordPress » Customization Question

  • Here is my setup:
    WordPress Install
    Wordpress is installed in the /wordpress directory of my site. /wordpress/index.php is my blog page.
    Site Header/Footers:
    I have a header.php and a footer.php in the root of my site. These files provide the basic site layout and personalization for multiple domains, including site menu content. The main content cell uses a PHP Include statement to include my /wordpress/index.php file. I just display posts with this file, I do not include other content such as archives or links in this page.
    The layout above has worked fine for months, and continues to work. However, I am trying to make some changes and am beating my head on the wall.
    I am trying to use the Links functionality as part of my left side navigation bar – on all pages of the site, not just on the pages I have blog entries on. Here is what I am doing:
    1. ) In my /header.php, I include the following code:
    top of page:

    <?php require($abs_path.”/wordpress/wp-blog-header.php”);?>

    left navigation cell:

    <div class=”secondarynav”><?php get_links_list(‘order’,hide_if_empty); ?></div>

    This worls fine on all pages on my site – except Gallery. Whenever I try to visit a page in my Gallery subdir I get the following error:
    Fatal error: Call to a member function on a non-object in /home/brianbur/public_html/wordpress/wp-includes/wp-l10n.php on line 37
    Any thoughts?

Viewing 1 replies (of 1 total)
  • Note: Brian is using multiple domains, but the issue has nothing to do with that. I have the same problem he does and I’m only using one domain.
    This is a problem with integrating Gallery and WordPress. If you try to use a <?php get_links_list(); ?> or call any other WordPress code from a Gallery page you’ll get the wpl10n.php error.
    See http://wordpress.org/support/3/7885/

Viewing 1 replies (of 1 total)
  • The topic ‘Customization Question’ is closed to new replies.