REmove breadcrumbs and meta

Community Forums Forums General Discussion REmove breadcrumbs and meta

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  braddalton 10 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #60422

    scottz
    Participant
    Post count: 38

    I am building shopping cart site with Shopp, using the associate theme, and need some direction. I am working on trying to alter the template for this page, a shopp shopping cart. I’m trying to remove the breadcrumbs, date, and the hello world phantom post title. But no luck.

    http://myic3.com/shop/

    http://myic3.com/shop/category/ic3-products/

    I took the advice braddalton, and created the separate template using the code he gave me which I am using as the custom page template, in this case, I was instructed by Shopp support to create one called shopp.php.

    http://optimizemyshopp.com/blog/an-explanation-of-shopp-templates-theme-vs-content/

    I did this using the code you supplied me, and then tried customizing the code thus:

    <?php
    /**
    * This file adds the Landing template to the Associate Child Theme.
    *
    * @author StudioPress
    * @package Generate
    * @subpackage Customizations
    */

    /*
    Template Name: Custom
    */

    // Add custom body class to the head
    add_filter( ‘body_class’, ‘add_body_class’ );
    function add_body_class( $classes ) {
    $classes[] = ‘custom-template’;
    return $classes;
    }

    // Remove header, navigation, breadcrumbs, footer widgets, footer
    /* add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ ); */
    /* remove_action( ‘genesis_header’, ‘genesis_header_markup_open’, 5 ); */
    remove_action( ‘genesis_header’, ‘genesis_do_header’ );
    /* remove_action( ‘genesis_header’, ‘genesis_header_markup_close’, 15 ); */
    /* remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ ); */
    remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’, 15 );
    remove_action( ‘genesis_before_loop’, ‘genesis_do_breadcrumbs’);
    remove_action( ‘genesis_before_footer’, ‘genesis_footer_widget_areas’ );
    remove_action( ‘genesis_footer’, ‘genesis_footer_markup_open’, 5 );
    remove_action( ‘genesis_footer’, ‘genesis_do_footer’ );
    remove_action( ‘genesis_footer’, ‘genesis_footer_markup_close’, 15 );

    genesis();

    As you can see, I still see the breadcrumbs and such. Do you have any further suggestion how to remedy this?

    Thanks in advance for your expert advice!

    http://myic3.com/
    #60855

    braddalton
    Participant
    Post count: 10254

    Do you have any plugins active that filter, remove or modify the breadcrumbs or post info/meta?

    This code removes all the post info but did you only want to remove the date from this template?

    http://my.studiopress.com/snippets/post-info/

    Not sure why you have post info on a page.


    #61050

    scottz
    Participant
    Post count: 38

    Thanks Brad,

    Good info. I think it’s actually fixed, but more because SHOPP finally installed their damn product correctly, with all the template files in place. But thanks for the info and links, I’ll definitely use that going forward on other stuff.

    #61060

    braddalton
    Participant
    Post count: 10254
    #79018

    bjc97m
    Member
    Post count: 1

    I’m having a similar problem in setting up the landing page using Education child theme. I followed the instructions from Brian Gardner you placed on here in various places. It created the landing page template. Everything worked except breadcrumbs still appear.

    I am using Simple Edits as a plugin. Not sure what to do to make it go away on the landing page.

    Example: http://www.AfricanChristianCollege.org/landing

    #79190

    braddalton
    Participant
    Post count: 10254

    That may be interfering with the code to remove the breadcrumbs.

    Try deactivating to see if that solves the problem otherwise you could hide the breadcrumbs using CSS code.

    [css]
    .page-template-page_landing-php .breadcrumb {
    display: none;
    }
    [/css]


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.