• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Eric McCarty

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 19, 2013 at 4:46 pm in reply to: How Remove Items From Landing Page – Magazine #21491
    Eric McCarty
    Member

    Perfect!  Thank you Bill!

    Your responses were detailed and easy to follow.  I applied for a patent a few years ago that would enable PayPal "tips" for helpful forum posts.  I took the site down and quit shoveling money into the patent app.  You would have definitely received a monetary Thanks for the help.

    Eric

    February 18, 2013 at 8:34 pm in reply to: How Remove Items From Landing Page – Magazine #21174
    Eric McCarty
    Member

    Thanks Bill!

    I can't find anything in functions.php regarding breadcrumbs. Pasting the code I have below. And as far as plugins, here is what I have activated: Contact Form 7, Contact Form DB, Genesis Latest Tweets Widget, Genesis Responsive Slider, Jetpack, Simple:Press, WordPress SEO, WP Super Popup. Several more installed, but not activated.

    Author box removal with your code was unsuccessful as well.

    Obviously, I need to learn some php. Recommendations on resources to do this are appreciated.

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php' );

    /** Child theme (do not remove) */
    define( 'CHILD_THEME_NAME', 'Magazine Theme' );
    define( 'CHILD_THEME_URL', 'http://www.studiopress.com/themes/magazine&#039; );

    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'magazine_add_viewport_meta_tag' );
    function magazine_add_viewport_meta_tag() {
    echo '';
    }

    /** Create additional color style options */
    add_theme_support( 'genesis-style-selector', array(
    'magazine-blue' => 'Blue',
    'magazine-green' => 'Green',
    'magazine-orange' => 'Orange',
    'magazine-purple' => 'Purple',
    'magazine-red' => 'Red',
    'magazine-teal' => 'Teal'
    ) );

    $content_width = apply_filters( 'content_width', 610, 460, 910 );

    /** Add support for structural wraps */
    add_theme_support( 'genesis-structural-wraps', array(
    'header',
    'nav',
    'subnav',
    'inner',
    'footer-widgets',
    'footer'
    ) );

    ///add author pic and bio

    function get_author_bio ($content=''){
    global $post;

    {

    $post_author_name=get_the_author_meta("display_name");
    $post_author_description=get_the_author_meta("description");
    $html="\n";
    $html.="By ".$post_author_name." ".$post_author_description."\n";
    $html.="\n";
    $html.="\n";
    $html.="\n\n";

    $content .= $html;
    }

    return $content;
    }
    add_filter('the_content', 'get_author_bio');

    /** Add new image sizes */
    add_image_size( 'home-bottom', 280, 150, TRUE );
    add_image_size( 'slider', 600, 250, TRUE );
    add_image_size( 'square', 120, 120, TRUE );
    add_image_size( 'tabs', 580, 250, TRUE );

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    'width' => 960,
    'height' => 115
    ) );

    /** Add support for custom background */
    add_theme_support( 'custom-background' );

    /** Reposition the primary navigation */
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before', 'genesis_do_nav' );

    /** Add after post ad section */
    add_action( 'genesis_after_post_content', 'magazine_after_post_ad', 9 );
    function magazine_after_post_ad() {
    if ( is_single() && is_active_sidebar( 'after-post-ad' ) ) {
    echo '';
    dynamic_sidebar( 'after-post-ad' );
    echo '';
    }
    }

    /** Add after content ad section */
    add_action( 'genesis_before_footer', 'magazine_after_content_ad' );
    function magazine_after_content_ad() {
    if ( is_active_sidebar( 'after-content-ad' ) ) {
    echo '';
    dynamic_sidebar( 'after-content-ad' );
    echo '';
    }
    }

    /** Add support for 3-column footer widgets */
    add_theme_support( 'genesis-footer-widgets', 3 );

    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-top',
    'name' => __( 'Home Top', 'magazine' ),
    'description' => __( 'This is the home top section.', 'magazine' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-left',
    'name' => __( 'Home Left', 'magazine' ),
    'description' => __( 'This is the home left section.', 'magazine' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-right',
    'name' => __( 'Home Right', 'magazine' ),
    'description' => __( 'This is the home right section.', 'magazine' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-bottom',
    'name' => __( 'Home Bottom', 'magazine' ),
    'description' => __( 'This is the home bottom section.', 'magazine' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'after-post-ad',
    'name' => __( 'After Post Ad', 'magazine' ),
    'description' => __( 'This is the after post ad section.', 'magazine' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'after-content-ad',
    'name' => __( 'After Content Ad', 'magazine' ),
    'description' => __( 'This is the after content ad section.', 'magazine' ),
    ) );
    add_filter('login_redirect', 'plugin_admin_redirect');
    function plugin_admin_redirect($redirect_to, $url_redirect_to = '', $user = null) {
    return '/forums';
    }

    February 16, 2013 at 2:41 pm in reply to: How Remove Items From Landing Page – Magazine #20715
    Eric McCarty
    Member

    Thanks Bill.  The title remove worked.

    I had tried the "s" on breadcrumbs and it didn't solve it.  Copied and pasted your code and tried again and it is still showing up.

    The "Author Info" I mentioned is actually "About Author" down at the bottom.  Shows gravatar, name, and user description.

    February 16, 2013 at 11:33 am in reply to: How Remove Items From Landing Page – Magazine #20691
    Eric McCarty
    Member

    Thanks Joseph,

    Does anyone happen to have the landing page code?  I'll pay for the AgentPress theme if I have to, but since I'm not using that theme, would rather not if possible.

    February 13, 2013 at 4:17 pm in reply to: How Remove Items From Landing Page – Magazine #20158
    Eric McCarty
    Member

    Title should say "How To Remove Items From Landing Page - Magazine

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble