public function attachment() {
		if ( $this->_post->post_parent ) {
			if ( $parent_post = get_post( $this->_post->post_parent ) ) {
				$this->addHierarchyOfSingularCrumbs( $parent_post );
				$this->addCrumb(
					get_the_title( $parent_post ),
					get_permalink( $parent_post )
				);
			}
		}
		$this->addCrumb(
			$this->label('attachment', get_the_title( $this->_post ) ),
			get_permalink( $this->_post )
		);
	}
public function attachment() {
		if ( $this->_post->post_parent ) {
			if ( $parent_post = get_post( $this->_post->post_parent ) ) {
				$this->addHierarchyOfSingularCrumbs( $parent_post );
				$this->addCrumb(
					get_the_title( $parent_post ),
					get_permalink( $parent_post )
				);
			}
		}
		$this->addCrumb(
			$this->label('attachment', get_the_title( $this->_post ) ),
			get_permalink( $this->_post )
		);
	}
public function attachment ( ) { if ( $ this -> _post -> post_parent ) { if ( $ parent_post = get_post ( $ this -> _post -> post_parent ) ) { $ this -> addHierarchyOfSingularCrumbs ( $ parent_post ) ; $ this -> addCrumb ( get_the_title ( $ parent_post ) , get_permalink ( $ parent_post ) ) ; } } $ this -> addCrumb ( $ this -> label ( 'attachment' , get_the_title ( $ this -> _post ) ) , get_permalink ( $ this -> _post ) ) ; }
Add Attachment Crumbs
Add Attachment Crumbs