Forum Replies Created
-
AuthorPosts
-
TREagansMember
@Carlo Not to argue with you or nothing, but as you can see, i'm running that code as is in my functions.php. I'm trying to use this as a learning experience. So you're saying the page names should be in quotes so that they become strings? Using the code listed removes my page titles with no issue. Soon as I add the page name to the list, the title goes away upon refresh.
</TREagans>
Web Designer and Developer
http://www.treagans.comTREagansMemberThank you very much Badlywired for pointing me in the right direction. I've been learning so much since working with Genesis Framework.
</TREagans>
Web Designer and Developer
http://www.treagans.comTREagansMember@carlo.... I actually have this code added to my functions.php in child theme and its giving me the results I was looking for. What do you mean it would bring your site down?
Web Designer and Developer
http://www.treagans.comTREagansMemberThank you @ Carlo & Badlywired for your input. I'll check out both options.
@Badlywired: I'm HTML5/CSS3 developer with some practice in PHP (which I'm currently learning).BTW, I'm new to WordPress child theme editing.
Thanks Again!
</TREagans>
Web Designer and Developer
http://www.treagans.comTREagansMemberI'm still in need of help locating HTML within the Genesis framework, but so far i've figured out....
#1 //* Customize the entry meta in the entry header (requires HTML5 theme support)
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
$post_info = 'By [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}"only thing about #1 is i didn't actually find the file containing this code.
</TREagans>
Web Designer and Developer
http://www.treagans.comTREagansMember//REMOVE PAGE TITLES FROM SPECIFIC PAGES
add_action( 'get_header', 'remove_titles_from_pages' );
function remove_titles_from_pages() {
if ( is_page(array(contact, about, home, services, courses, portfolio) ) ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
Web Designer and Developer
http://www.treagans.com -
AuthorPosts