Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #733089

    Morning,

    As always I love your theme and have used it on a lot of my builds as it is so flexible but most of all your support compared to other developers is amazing so thank you for making my life easier!

    I just have a quick question about my homepage. I want the order of the masonry block to match the order of my top bar menu but I can’t see that the options available allow me to do that. Can you suggest a fix please?
    Details below
    Many thanks
    Kim

    #733260

    On the same topic – it also is not responsive to a screen size change. Can you suggest a fix please. Logins as before

    I have it set up for 4 columns and 2 rows but is showing on another screen in the office as 6 on top and 2 below.

    Many thanks again in advance

    #734561

    Hi,

    Thank you for using Enfold.

    Please edit the masonry element then set the “Order by” settings to “Page Attribute”. After that, add the following code in the functions.php file:

    add_filter('avf_portfolio_cpt_args', 'avf_portfolio_add_custom_fields', 1);
    function avf_portfolio_add_custom_fields($args) {
    	$args['supports'][] = 'page-attributes';
    	return $args;
    }

    Edit each portfolio entry then sort them based on the value of the “Order” field.

    Best regards,
    Ismael

    #734641

    Tried to do this and now my website is down!! giving me a HTP 500 error. Can you help?

    #734823

    I think there might be something wrong with this code – both myself and my boss have tried to input it in the functions php but each time the website went down and we have to update the theme to fix it.

    If the code is correct can you tell me exactly where to place it please (also where in the coding it needs to go?)

    Also I have no option to choose “Page attribute” in “order by”. These are my options :-
    date/title/random/author/name(post slug/last modified/comment count/page order

    Many thanks in advance
    Kim

    #735860

    Hi,

    Did you copy the code from your email? Please copy it directly from this forum. Or post the FTP details here so that we can add it in the functions.php. Placing it right at the very bottom of the file should be fine. After adding the filter, you’ll get the “Order” field for the portfolio items.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.