WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumb Trail
How do I change the style of the breadcrumb display? (6 posts)

  1. bexpress
    Member
    Posted 9 months ago #

    How do I change the style of the breadcrumbs so it doesn't display Home / Page / Page but instead displays more elegantly with arrows between the crumbs?

    http://wordpress.org/plugins/breadcrumb-trail/

  2. viswa
    Member
    Posted 9 months ago #

    I too having the same problem plz help us some one.

  3. andrew.croce
    Member
    Posted 8 months ago #

    Look at the readme.md file in the plugin directory, as stated in the installation instructions. Lots of options available.

  4. danger89
    Member
    Posted 8 months ago #

    Andrew, maybe you should give an example. Because not everybody understand PHP that well:

    Example:

    <?php
    	$args = array(
    		'container'       => 'div',   // container element
    		'separator'       => '▸', // separator between items
    		'before'          => '',      // HTML to output before
    		'after'           => '',      // HTML to output after
    		'show_on_front'   => true,    // whether to show on front
    		'network'         => false,   // whether to create trail back to main site (multisite)
    		'show_title'      => true,    // whether to show the current page title
    		'show_browse'     => false,    // whether to show the "browse" text
    		'echo'            => true,    // whether to echo or return the breadcrumbs
    
    		/* Labels for text used (see Breadcrumb_Trail::default_labels). */
    		'labels' => array(
    			'browse'              => __( 'Browse:',					'breadcrumb-trail' ),
    			'home'                => __( 'Home',                    'breadcrumb-trail' ),
    			'search'              => __( 'Zoekresultaten voor "%s"','breadcrumb-trail' ),
    			'error_404'           => __( '404 Pagina niet gevonden','breadcrumb-trail' ),
    			'paged'               => __( 'Pagina %d',               'breadcrumb-trail' ),
    			'archives'            => __( 'Archief',                 'breadcrumb-trail' ),
    			'archive_minute_hour' => __( 'g:i a',                   'breadcrumb-trail' ),
    			'archive_minute'      => __( 'Minuut %d',               'breadcrumb-trail' ),
    			'archive_hour'        => __( 'g a',                     'breadcrumb-trail' ),
    			'archive_day'         => __( 'd',                       'breadcrumb-trail' ),
    			'archive_week'        => __( 'Week %d',                 'breadcrumb-trail' ),
    			'archive_month'       => __( 'F',                       'breadcrumb-trail' ),
    			'archive_year'        => __( 'Y',                       'breadcrumb-trail' ),
    		)
    	);
    	if ( function_exists( 'breadcrumb_trail' ) ) breadcrumb_trail($args);
    ?>
  5. igloobob
    Member
    Posted 7 months ago #

    agreed on the above, I'm not sure how I change those defaults other than changing the core file which obviously we don't want to be doing

  6. Sontosh
    Member
    Posted 6 months ago #

    Hi
    I want to display breadcrumbs like home/classes/boot or Home/Team/hanah
    on my website http://campgreen.mickjgreenwood.com/campgreen/ how can i do this.i don't know php well if someone can help me with the code thans

Reply

You must log in to post.

About this Plugin

About this Topic

Tags