Bart van Maanen

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Genesis 2.1.0 Duplicates After Entry Widget Content #112404

    Bart van Maanen
    Participant
    Post count: 26

    @ SkintDad: I think it’s called somewhat different in the Metro Pro theme. Look for this section:

    //* Hooks after-entry widget area to single posts
    add_action( 'genesis_entry_footer', 'metro_after_post'  ); 
    function metro_after_post() {
    
        if ( ! is_singular( 'post' ) )
        	return;
    
        genesis_widget_area( 'after-entry', array(
    		'before' => '<div class="after-entry widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
        ) );
    
    }
    in reply to: Genesis 2.1.0 Duplicates After Entry Widget Content #112399

    Bart van Maanen
    Participant
    Post count: 26
    in reply to: Genesis 2.1.0 Duplicates After Entry Widget Content #112393

    Bart van Maanen
    Participant
    Post count: 26

    Thanks Savvyjackie, That fix worked for Sixteen Nine (after clearing cache too).

    in reply to: Parallax Pro Theme #92792

    Bart van Maanen
    Participant
    Post count: 26

    I tried to add a pricing table like in the home widget to a page too. And found the same issue as RobG. Did you solve it already?

    in reply to: set image size on attachment page #86669

    Bart van Maanen
    Participant
    Post count: 26

    I had to comment out the following, and then it worked;

    add_filter( 'prepend_attachment', 'custom_prepend_attachment' );
    
    // * Callback for WordPress 'prepend_attachment' filter.
    // * 
    // * Change the attachment page image size to 'full'
    // * 
    // * @package WordPress
    // * @category Attachment
    // * @see wp-includes/post-template.php
    // * 
    // * @param string $attachment_content the attachment html
    // * @return string $attachment_content the attachment html
    
    function custom_prepend_attachment( $attachment_content ){
            
            // set the attachment image size to 'full'
            $attachment_content = sprintf( '<p>%s</p>', wp_get_attachment_link(0, 'full', false) );
            
            // return the attachment content
            return $attachment_content;
            
    }
    

    Is that okay?
    Can I also add some code here to prevent the image to link any further. See: http://www.thomaselshuis.nl/wpsite/portfolio/travelogue/attachment/gr-twilight-horizon/

    Thanks!

    in reply to: set image size on attachment page #86540

    Bart van Maanen
    Participant
    Post count: 26

    This looks like the fix I’m looking for. However, I pasted into the bottom of functions.php of the Minimum Pro theme and it disabled the whole file. Do I need to create a seperate attachment.php file to add to the Child Theme?

    Or is it something with the //* -tags

    I’m trying to use it in conjuction withe these styling options for the attachment pages:

    
    //* Customize the post info function
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    if ( !is_attachment() ) {
    	$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
    	return $post_info;
    }}
    
    //* Customize the post meta function
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if ( !is_attachment() ) {
    	$post_meta = '[post_categories before="Filed Under: "] [post_tags before="Tagged: "]';
    	return $post_meta;
    }}
    in reply to: Style attachment page? #86524

    Bart van Maanen
    Participant
    Post count: 26

    Since you mentioned the Gallery Caroussel, Brad. Will the images rendered behave responsive in the Minimum Pro theme?

    in reply to: Trouble with Balance portfolio #86110

    Bart van Maanen
    Participant
    Post count: 26

    Hi Anita, I made a supprt ticket and it’s now fixed (thanks again, Jennifer). I totally overlooked the category base feauture of WordPress SEO (in the permalink section). So thanks to you too, Bart

    in reply to: Trouble with Balance portfolio #85893

    Bart van Maanen
    Participant
    Post count: 26

    On both questions it’s a yes! There is a featured article widget selected and the portfolio template is selected.

    in reply to: Related images size with WooCommerce #67293

    Bart van Maanen
    Participant
    Post count: 26

    Hi David,
    Thanks for your reply. I’ve tried to scale all the images with the Regenerate Thumbnails plugin as suggested by another developer. To no effect yet. But you can change the image settings – not really buried – in Woo > Settings > Pages (with supposedly a Hard Crop).

    The Woo css is rather thick as you mentioned. Is your css trick here meant to be added to the child theme’s css?
    Thanks again.

    in reply to: Line break issue with WooCommerce #66273

    Bart van Maanen
    Participant
    Post count: 26

    Sorry, forgot to mention it, but yes. Does that help you understanding issue?

    in reply to: Executive Theme, HTML 5, Home Div Issue #59076

    Bart van Maanen
    Participant
    Post count: 26

    Hi Nick,

    I had the same issue with the home.php file with Executive. Your code above seems to do the trick, but do you have to declare 'after' => '</div>', for all child themes? I did not have this issue with Balance?
    Thanks.

    in reply to: No automatic padding Home featured widgets after upgrade #56288

    Bart van Maanen
    Participant
    Post count: 26

    I’ve fixed it. It is a css problem, but not with the .wrap. Not sure why, but it was the clearfix element:

    
    .clearfix {
    	display: inline-block;
    }

    I changed it to:

    .clearfix {
    	display: block;
    }

    Looks like everything is fine now.

    in reply to: Removing post_meta / entry_footer fails #56269

    Bart van Maanen
    Participant
    Post count: 26

    Thanks, Brad, indeed that worked. But I’m still wondering why the code in functions.php didn’t do the job?

    in reply to: Aligning menu in Minimum to header bottom #47044

    Bart van Maanen
    Participant
    Post count: 26

    This worked out fine. You have to put the extra css under every media querie, and Bob’s your uncle.
    Thanks!

Viewing 15 posts - 1 through 15 (of 17 total)