ThemeShaper Forums » Thematic

[closed]

breadcrumbs before any other content

(2 posts)
  • Started 13 years ago by sciamannikoo
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. Hello all.

    I've just edited my functions.php in order to show breadcrumbs right after the <div id="content">.

    This is the code:

    function disform_addbreadcrumbs() {
    	if(function_exists('bcn_display')) {
    		echo('<div id="breadcrumb-navxt">');
    		bcn_display();
    		echo('</div>');
    	}
    }
    add_action ('thematic_navigation_above','disform_addbreadcrumbs',1);
    add_action ('thematic_abovepagetop','disform_addbreadcrumbs',1);

    Now, this will work on page.php, index.php and single.php, but I wonder how can I do the same in all other pages (archive.php, archives.php, etc...).

    I don't find the right hook/action to use.

    Posted 13 years ago #
  2. i am reasonably sure that archives.php has all the same hooks as the others.... that is the nature of the framework I believe. when i try it out

    add_action ('thematic_navigation_above','disform_addbreadcrumbs',1);

    idk about your other action... where is the thematic_abovepagetop hook? i havent heard of that one before.

    Posted 13 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.