Forum Replies Created
-
AuthorPosts
-
dbuxtonParticipant
Thanks Brad. I didn't think there was either, but always good to have another set of eyes to look at it.
Each post does have a category assigned. I will have to try the disabling of plugins...Oh...Joy... 🙂
Thanks again,
DebdbuxtonParticipantThanks Brad for the suggestion, but I had already tried without the Disable Simple Edits. It was kind of a last resort to install it.
I am resharing the code correctly. Sorry about that.
<?php //* Start the engine include_once( get_template_directory() . '/lib/init.php' ); //* Child theme (do not remove) define( 'CHILD_THEME_NAME', 'dmco' ); //* Enqueue Google Fonts add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' ); function genesis_sample_google_fonts() { wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Open Sans|Open Sans Condensed|Droid Serif:400,700|', array(), CHILD_THEME_VERSION ); } //** add support for WP Courseware add_post_type_support( 'course_unit', 'genesis-layouts' ); //** add support Genesis sidebar supportfor WP Courseware add_action('init', 'genesis_sidebar_support'); function genesis_sidebar_support() { add_post_type_support( 'course_unit', 'genesis-simple-sidebars' ); } //** secondary nav menu before footer remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_before_footer', 'genesis_do_subnav' ); //* Add HTML5 markup structure add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); //* Add viewport meta tag for mobile browsers add_theme_support( 'genesis-responsive-viewport' ); //* Add support for custom background add_theme_support( 'custom-background' ); //* Add support for 3-column footer widgets add_theme_support( 'genesis-footer-widgets', 3 ); //* Modify Comments add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' ); function sp_comment_form_defaults( $defaults ) { $defaults['title_reply'] = __( 'Leave a Comment' ); return $defaults; } function wpsites_customize_comment_form_text_area($arg) { $arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( ' ', 'noun' ) . '</label><textarea id="comment" name="comment" placeholder="Share your experience or questions..."cols="45" rows="1" aria-required="true"></textarea></p>'; return $arg; } add_filter('comment_form_defaults', 'wpsites_customize_comment_form_text_area'); //* Remove comment form allowed tags add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' ); function sp_remove_comment_form_allowed_tags( $defaults ) { $defaults['comment_notes_after'] = ''; return $defaults; } //* Modify the WordPress read more link add_filter( 'the_content_more_link', 'sp_read_more_link' ); function sp_read_more_link() { return '<a href="' . get_permalink() . '">...[Continue Reading]</a>'; }
Thanks,
DebdbuxtonParticipantOkay maybe I am not understanding this fully or haven't explain well enough. On the subject page (which is created as a page), I want the title of the page (as it shows in WordPress) to show up on the page, then I want to be able to put content on the page and have it show before the posts.
I did try adding your first suggestion to my custom code, but doesn't look like it made any difference. Thank you though for the quick response.
I am going to walk away for the night and hopefully things will jsut start working magically in the morning. 🙂
Deb
-
AuthorPosts