Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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.


 
Prev Previous Post   Next Post Next
  #1  
Old Jan 31, 2011, 09: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 03: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 03:00 PM
Breadcrumb NavXT integration Wimbledon Plugins & Atahualpa 3 Oct 20, 2010 10:20 AM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 03:33 AM
[SOLVED] Home page won't load! Parse error, syntax error lhanft Atahualpa 3 Wordpress theme 4 Aug 30, 2009 01:44 PM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 10:04 AM


All times are GMT -6. The time now is 05:55 PM.


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