Forum Replies Created
-
AuthorPosts
-
Eric McCarty
MemberPerfect! 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
Eric McCarty
MemberThanks 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' );/** 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';
}Eric McCarty
MemberThanks 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.
Eric McCarty
MemberThanks 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.
Eric McCarty
MemberTitle should say "How To Remove Items From Landing Page - Magazine
-
AuthorPosts