Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PureBootstrap Theme
#5
(2014-09-30, 12:32:54)johnstray2001 Wrote: Breadcrumbs etc will work without the i18n plugin installed, however it works best with it installed.

For menus to support multiple levels of navigation, a recursive foreach loop would need to be written. If you come up with some working code that output bootstrap formatted menus, the please feel free to post it here.

I installed this theme with a clean install of GS 3.3.3. The theme installed and switched from Innovation just fine, but on the front end, nothing past:
PHP Code:
<?php bootstrap_get_breadcrumbs(); ?>
in any of the template files loaded. In addition, the the GSdebugger said the problem was in functions.php -> bootstrap_get_breadcrumbs, as it was trying to call:
PHP Code:
get_i18n_breadcrumbs 

Initially, I didn't look into it much further. I was going to use I18N plugins anyway so I just installed them and this issue went away. However, I just looked at the function in functions.php and noticed this:
PHP Code:
elseif ( !function_exists'get_i18n_breadcrumbs' ) ) 

It appears as though:
Code:
!function_exists( 'get_i18n_breadcrumbs' )
is a typo and should be:
Code:
function_exists( 'get_i18n_breadcrumbs' )

Am I wrong?
Reply


Messages In This Thread
PureBootstrap Theme - by johnstray2001 - 2014-09-02, 23:26:04
RE: PureBootstrap Theme - by Tzvook - 2014-09-25, 06:14:18
RE: PureBootstrap Theme - by totbar - 2014-09-30, 10:07:34
RE: PureBootstrap Theme - by johnstray2001 - 2014-09-30, 12:32:54
RE: PureBootstrap Theme - by totbar - 2014-09-30, 12:43:08
RE: PureBootstrap Theme - by steamit - 2014-11-05, 04:56:05
RE: PureBootstrap Theme - by johnstray2001 - 2014-09-30, 13:05:29
RE: PureBootstrap Theme - by dgleba - 2014-11-22, 02:45:55
RE: PureBootstrap Theme - by totbar - 2014-11-22, 04:16:49
RE: PureBootstrap Theme - by stwneu - 2015-04-21, 17:37:02
RE: PureBootstrap Theme - by Frens - 2016-02-09, 19:27:53
RE: PureBootstrap Theme - by kazu2015 - 2016-03-09, 00:58:26



Users browsing this thread: 1 Guest(s)