Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Help! With Breadcrumb NavXT & syntax error that has my site shut down.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Jan 31, 2011, 10:37 PM
MtnStreamGroup
 
23 posts · Jan 2011
Help! With Breadcrumb NavXT & syntax error that has my site shut down.

Ok. I'm trying to put breadcrumbs on my website along with the dropdown menu.

I installed and activated Breadcrumb NavXT 3.7.0. It states I have to put the follow code into the header.

HTML Code:
<div class='breadcrumbs&'>
<?php
if(function_exists('bcn_display'))
{
    bcn_display();
}
?>
</div>
I read several of the posts and I thought I had the right area to put the code

HTML Code:
// Empty setting "levels" same as 0
   if ( $bfa_ata['levels_page_menu_bar'] == '' ) 
      $bfa_ata['levels_page_menu_bar'] = 0; 	
			
   echo bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'], 
      $bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']);
I put the code in after here using the Theme Editor. I clicked the Update File button, however, when I did I got the following syntax error.

Parse error: syntax error, unexpected '&' in /wordpress/wp-content/themes/atahualpa361/functions/bfa_header_config.php on line 65

I took the brumbcrumb code out and tried to update the file but I still get the syntax error. My site is down.

1. Did I select the wrong area in the bfa_header_config.php to put the code?
2. Is using the theme editor the wrong tool to use to edit code like this?
3. If the arrangement is %image %pages %bar1 %bar2, is it possible to have the breadcrumbs be located in the bar2?

BTW, I got the site back up by uploading a new bfa_header_config.php file.

Last edited by juggledad; Feb 1, 2011 at 04:45 AM. Reason: I have the site back up
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 04:00 PM
Breadcrumb NavXT integration Wimbledon Plugins & Atahualpa 3 Oct 20, 2010 11:20 AM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 04:33 AM
[SOLVED] Home page won't load! Parse error, syntax error lhanft Atahualpa 3 Wordpress theme 4 Aug 30, 2009 02:44 PM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 11:04 AM


All times are GMT -6. The time now is 09:48 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.