Forum Replies Created
-
AuthorPosts
-
mel62Member
I don't know why I didn't think to look at css!! Thank you!! 🙂
mel62MemberHello! I would really appreciate some help on this. 🙂
mel62MemberSo, is what I'm looking for not possible?
mel62MemberThat took care of the blog page title, yes. But it also removed the content at the top of the page, which I need.
mel62MemberThat didn't work for me for some reason. What is it doing for you exactly?
What I need is to remove the blog page title but not the titles of the posts in the loop.
mel62MemberJust a simple template, I believe I got it from a post by Brad Dalton. I'm using a template so that I can add text and an image to the top. I wasn't able to get it to work without a template.
//* Template Name: Blog //* The blog page loop logic is located in lib/structure/loops.php add_action('genesis_loop', 'genesis_standard_loop', 8); genesis();
mel62MemberThank you Susan!
I found the code offered in the comments and tried the code below but it isn't working. Do you know what I might be doing wrong?
add_action( ‘get_header’, ‘child_remove_titles’ ); function child_remove_titles() { if ( is_page_template(‘page_blog.php’) || $post->post_parent ) { remove_action( ‘genesis_entry_header’, ‘genesis_do_post_title’ ); }}
I'm still getting page and post titles on my blog page.
mel62MemberCan someone help me with this please?
mel62MemberHi Susan, thank you.
We already have that installed and it removes all titles from the blog page, including the blog post titles.
mel62MemberActually, since no one has responded yet, I would also like to have the option of showing the full content rather than an excerpt.
Are both of these possible?
mel62MemberThank you for that, Brad. What if you wanted to display both custom posts and regular posts on the archive page?
mel62MemberOk, I will unregister the blog and archive templates and went with the Display Post Shortcodes plugin on the default page template. Gives a better result anyway.
Thank you Kellylise!! 🙂
mel62Memberwait.. I think I see what you're getting at here.. let me try something and I'll let you know how it goes!
mel62MemberI'm not referring to the blog page. I have a page that is using the archive template. That's what I want to add custom post types to. The home page/blog page is the widgetized front page that Lifestyle Pro provides.
Maybe I'm missing something.
mel62MemberThank you kellylise. I tried that, changing the name of the post type but it didn't work. Is there something else I need to change?
function namespace_add_custom_types( $query ) { if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) { $query->set( 'post_type', array( 'post', 'nav_menu_item', 'bundle' )); return $query; } } add_filter( 'pre_get_posts', 'namespace_add_custom_types' );
mel62MemberI'll check it out. Thanks again for the help with this!
mel62MemberThat's perfect, thanks again. What do you like better about AddThis?
mel62MemberBrad, you are so helpful each time, thank you! I got the shortcode added to pages, but now it shows up twice on the custom type page. I guess I'll just remove it from the type view if needed.
I actually want to add two shortcodes, one for sharing and one for related posts. I'm not sure how to go about this. Is it possible to add them both in one hook or do I need a hook for each one?
Here's what I have... (only the share buttons are showing up)
//* Add Shareaholic shortcode to regular posts add_action('genesis_before_comments', 'shareaholic_related_after_content'); function shareaholic_related_after_content() { if (is_single()) { echo do_shortcode('[shareaholic app="share_buttons" id="6750691"]', '[shareaholic app="recommendations" id="6750702"]'); } }
mel62MemberCan someone help me on this please or do I need to submit a support ticket?
mel62MemberThank you Jeremy!
-
AuthorPosts