-
AuthorPosts
-
January 13, 2017 at 12:35 pm #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
KimJanuary 13, 2017 at 5:55 pm #733260On 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
January 17, 2017 at 8:51 am #734561Hi,
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,
IsmaelJanuary 17, 2017 at 11:20 am #734641Tried to do this and now my website is down!! giving me a HTP 500 error. Can you help?
January 17, 2017 at 5:14 pm #734823I 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 orderMany thanks in advance
KimJanuary 19, 2017 at 2:25 pm #735860Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.