Forum Replies Created
-
AuthorPosts
-
continoMember
It must have been the server I was on because when I moved it over to the permanent location it works like a charm!
Thanks for your help!
🙂
continoMemberThanks Davinder,
I have no cache plugins installed. Any other ideas? Again, it seems like I'm able to create and select my custom image size ... but when viewing the html it generates within the img tag, it ALWAYS makes it a square image, in this case, 370 x 370px ... it seems to pick the lower number, in this case the height.
🙂
continoMemberMorning 🙂
Thought I'd push my luck with one more question ... it's related to the genesis featured posts plugin.I'm trying to get the featured image height to 370px ... so I created a new image type of:
add_image_size( 'related-posts', 530, 370, true );I then ran the Regenerate Thumbnails plugin.
and then selected the 'related posts' image size in the widget.
But when I view the page, the image dimensions within the html is always square ... so in this case BOTH height and width are showing as 370px.
Do you have any idea why that is and how to fix?
Thanks!
Carl
continoMemberWell ... at this point, I have to do band aids. Slight variation worked:
.single .entry-title {
display: none;
}Thanks for your help again ... really appreciate it!!!! 🙂
continoMemberHey man ... really appreciate your time on this ... here's the entire functions.php:
continoMemberChanging priorities didn't do anything. If I take out the remove info entirely, the title is still showing ... even if I put the remove actions out of the conditional loop, it still does nothing. Here's the latest:
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
remove_action( 'genesis_entry_header', 'genesis_do_post_title', 20 );remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); // REMOVE INFO BELOW IMAGE
continoMemberAlso just noticed:
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
DOES remove the post info on a POST ... so that's the only one that's working for a post as far as I can tell.
Such a mystery!
🙂
continoMemberRemoves are working for pages but not for posts .... hmmm, is there something about posts being in a loop but not pages so the removes aren't running for posts?
continoMemberNo joy 🙂
Also, noticing another remove issue. I'm trying to move the comments to the entry footer, which it DOES but again, I can't remove it, so now you'll see 2 comment forms. Here's the code for this:
remove_action( 'genesis_after_post', 'genesis_get_comments_template', 1 );
add_action( 'genesis_entry_footer', 'genesis_get_comments_template' );continoMemberThe "ON THE BLOG" is just part of the title as you'll see in the gold box and will go away for the top title if I can get the remove_action working. I add the ,20 to both the remove and add here:
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
remove_action( 'genesis_entry_header', 'genesis_do_post_title', 20 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );add_action( 'post_feature_image', 'genesis_entry_header_markup_open', 5 );
add_action( 'post_feature_image', 'genesis_entry_header_markup_close', 15 );
add_action('post_feature_image', 'genesis_do_post_title', 20);But didn't do anything.
The meta I was referring to is for hiding the info that goes after a post. I took it out of the if statement above and made it global and IS removing it in all cases as I wanted ... so that part is good!
Now, if I could only get the darn title to hide above the single post (don't think it's a plugin ... only have a few) ..... man, this can be soooo challenging ... and part of the fun I suppose! 🙂
continoMemberDo you live in front of your computer too? 🙂
http://packagingyourpassion.com/dev/RKA-1-NEW/wordpress/surrender-to-what-is/
Here's a link to the dev site ... you'll see your echo statement there. Notice on the single post that the title is in the gold box within the picture ... AND it's showing above ... you'll also see the result of the :before pseudo element that says "ON THE BLOG" in the very upper left of the site ... I'm trying to remove the default title (and the :before thing) with the code I showed. It ADDS ok, hence the title in the gold box ... but not removing.
🙂
continoMemberPorter,
Thanks again for your help. Might you have a moment for another question or two? I now have 48 hours to complete my first genesis project and am confused about a couple things:- I'm trying to remove the title of a post ONLY on single posts but not on the blog page. It doesn't want to do it IF I put it into an if statement like this (here's part of a function):
function post_feature_image() {
if (has_post_thumbnail() && is_singular() ) {
// PLACE H1 Title INSIDE FEATURE AREA
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
.
.
.Also it won't remove the meta for some reason.
Any ideas?
Thanks!
Carl
continoMemberPorter,
Finally figured it out. It doesn't like any capital letters in the id of the custom widget area when using as a hook. Strange because there are capital letters in widget areas that are coded into the home-page.php file.Does this make sense at all?
Bottom line ... it's working now 🙂
Thanks for your help!
Carl
continoMemberThanks Porter 🙂
My divs ARE showing in the proper place (below the content) but not the widgets. I've tried using the array variation for the genesis_widget_area but no luck. I've also tried displaying other widget areas but they don't show as well.As a side note, for the home page, in front-page.php page, I have:
dynamic_sidebar('home-Left-Text');
which DOES show all the widgets.
Hmmmm
🙂
-
AuthorPosts