Forum Replies Created

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • in reply to: Image sizes in masonry gallery #1275348

    Thanks for that. It appears to work now when uploading images to a new gallery/post. I’m not sure how to fix it for the existing posts though. Changing to flexible masonry and regenerating thumbnails hasn’t helped. Any ideas?

    in reply to: Image sizes in masonry gallery #1273483

    Thanks. Admin access in private content.

    in reply to: White screen after updating to 4.5 #1034259

    Sorry, WordPress details corrected in private section.

    in reply to: Fullscreen slider 100% height #1034165

    Hey Victoria,
    I’ve made some progress… actually pretty close to what I’m after. See… http://www.chrisgarden.com/tramping/test/

    One question I have though… I’ve used css to position the caption at center bottom as follow…

    div.caption_fullwidth.caption_center.caption_center_framed.caption_framed {
    bottom: -90%;
    }

    This works well, except particularly long captions are truncated, especially on mobile. Is there a way to justify it so that it fills from the bottom up? ie. as the caption gets longer, it fills upwards over the photo instead of going off the bottom of the screen.

    Even better would be a way to put the caption in a full-width box below the image if possible. I can make the image 90vh easy enough to make room for a box, but don’t know how to place the slider caption in it.

    Thanks!

    Thanks!

    in reply to: White screen after updating to 4.5 #1033812

    Thanks Mike. Details in private.

    in reply to: White screen after updating to 4.5 #1033721

    I’ve tried updating again, and get the same result. And yes, deleted the old enfold folder then uploaded new one.

    in reply to: White screen after updating to 4.5 #1033376

    Thanks Mike,
    Yes, I’m running 5.6.

    I’ve installed 4.0.7 and all is working well again. Thanks!

    Cheers,
    Chris

    in reply to: White screen after updating to 4.5 #1033368

    Thanks Rikard,
    Unfortunately I don’t have a backup. If I remove the Enfold theme, I can at least get into the WordPress dashboard. Do you have an earlier version of the theme I can try rolling back to? I was on 3.x beforehand but could try something more recent.

    in reply to: White screen after updating to 4.5 #1033177

    Hey Rikard,
    Tried that, but it didn’t work. Also tried disabling plugins through wordpress before re-installing. Any other ideas?
    Thanks!

    in reply to: Order of Masonry Entries #229759

    Cheers! it’s working perfectly and has ordered the page alphabetically.

    Thanks very much for the outstanding support!

    in reply to: Order of Masonry Entries #229455
    This reply has been marked as private.
    in reply to: Order of Masonry Entries #229190

    Thanks very much! Hmmm, still can’t work out what is going on though. Here’s my current child functions.php…

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    */
    //Add title attribute back to gallery images 
    function my_image_titles($atts,$img) { 
    
            $atts['title'] = trim(strip_tags( $img->post_title )); 
         
        return $atts; 
    } 
    add_filter('wp_get_attachment_image_attributes','my_image_titles',10,2);  
    
    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
    if (is_single())
    {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    }
    
    return $args;
    }

    I simply pasted your code at the bottom of this and it still breaks it. Strange!

    in reply to: Order of Masonry Entries #228915

    UPDATE: I’ve managed to fix it – learnt about debugging and found the syntax error.

    I’ve now added the code to my child theme functions.php but I get the error…

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home4/chrisga3/public_html/bodyboard/wp-content/themes/enfold-child/functions.php on line 29

    Line 29 is this bit… function avia_random_image_query($query, $params)

    Any ideas?

    in reply to: Order of Masonry Entries #228908

    Thanks! I made the mistake of pasting that in my functions.php of enfold, rather than in my child theme functions.php. This broke the site (just returns a blank page, even for the dashboard). I got back in through ftp and edited functions.php back to how it was, still broken. I even downloaded the theme again and replaced functions.php and it’s still broken. Help!!!

    in reply to: Issues with titles #223068

    Actually, I think I may have fixed it…added it to the new functions.php of my child theme instead of the original Enfold functions.php. This seems to have fixed the single post title problem.

    I’ve still got an issue though… on many posts, the title still appears under the title bar, along with the details of the post (date, number comments, author etc). I only want the title bar to appear, not the bit below it! Here’s a screen grab showing what I mean…

    Multiple Titles
    Double titles

    in reply to: Issues with titles #223059

    Thanks Ismael,
    Unfortunately the code you gave me to add to functions.php didn’t work – the whole site came up blank when any page opened (icluding dashboard). I may have done something wrong…I simply copied the code above and pasted at the bottom of functions.php.

    CSS for breadcrumbs worked perfectly.

    in reply to: Two questions #195477

    Thanks very much, that’s worked perfectly!

    in reply to: Two questions #195014

    Thanks again, that’s made a difference. If you compare the home page with the portfolio page, however, the gap is quite different, even though it has reduced on the portfolio page. There must be something else in the way on that page. Both use the easy slider though so I’m not sure what this could be?!

    in reply to: Two questions #195009

    Thanks. That’s fixed the issue on the home page but not on all the pages. Does the .home refer to the page title in your css above?

    in reply to: Two questions #194998

    Hi,
    Yes, the site is http://www.invercargillphotographer.co.nz/ I’m using the Easy Slider for the slideshows on the home page and portfolio pages.

    I solved the transparency issue by using a semi-transparent image as the background to the main content.

    The spacing I can’t work out how to fix. You’ll notice that the gap between the slider and the header is smaller on the home page than on the other pages too.

    Thanks!

    in reply to: Masonry display of posts #179949

    Thanks very much, that worked perfectly!

    Further to my second question regarding different sorting of masonry entries on different pages, I had a go at modifying masonry_entries.php, and managed to change the orderby for all masonry pages. I figure I need to add a conditional statement with page id, similar to what is done here , but I’m not sure of the exact syntax and where to place it…I’m very new to php!

    Cheers,
    Chris

    in reply to: Masonry display of posts #179652

    Solved the first one – just needed to regenerate thumbnails :)

    Still keen to know if it can be used in body and still have a sidebar.

    And one more question…how could I sort posts by order (recent first) on one page and alphabetical on another?

    Thanks!

    in reply to: Masonry display of posts #179484

    Also, is it possible to have the masonry displayed only in the body and still have a sidebar?

Viewing 23 posts - 1 through 23 (of 23 total)