Tagged: josue
-
AuthorPosts
-
February 28, 2016 at 12:17 am #590315
Hi there,
I’m sorry if this is in the forum, I couldn’t find it and the questions others had weren’t the same issue. I have created a layout for my post/blog page using the Avia builder but its not displaying on the front end. Please find links below.
I’ve tried every possible setting in the back end….Please advise how to get this working properly. Thanks!
February 28, 2016 at 3:23 am #590336Hey!
Go to Enfold > Blog Settings > Blog Layout and select “use the advanced layout builder to build your own blog layout”
Best regards,
JosueMarch 4, 2016 at 7:08 pm #593463Hi Josue,
Thank you for the prompt response. Unfortuatnely, the Avia layout does not allow for a layout like yours. please see photos below:
In both cases I have selected: Single Author, small preview pic (not author picture is displayed, feature image is small)
Your blog layout, which is what I want, has a small photo to the LEFT of the article excerpt the only thing missing is the heading – http://trustjane.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-03-at-4.52.39-PM.png
Using the advanced layout builder allows me to see the heading but no longer displays the blog as you have it – http://trustjane.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-03-at-4.52.36-PM.png
Please advise. Thanks again!!
March 6, 2016 at 12:45 am #593817Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_filter('avia_layout_filter', function($layout_arr, $post_id) { $layout_arr['current']['main'] = "custom"; return $layout_arr; }, 10, 2);
Cheers!
JosueMarch 7, 2016 at 2:44 am #594033Hi Josue,
Thanks for the code – I tried adding this yesterday on the functions.php file and the theme crashed, giving me an error. I had to log into my root files to remove it. To confirm I added it after this:
/*
* add option to edit elements via css class
*/
// add_theme_support(‘avia_template_builder_custom_css’);Can you offer a solution where I can add it elsewhere? Or perhaps check the code for me please?
Thank you so much!March 7, 2016 at 10:57 pm #594636Hi,
Hand me an administrator account via private reply and i’ll add the code for you.
Regards,
JosueMarch 8, 2016 at 12:49 am #594700Hi Josue,
Thanks so much, I really appreciate it. Details below:
Cheers,
AmberMarch 10, 2016 at 9:41 am #596169Hi!
We added the code in the functions.php file, right below this line of code:
if(isset($avia_config['use_child_theme_functions_only'])) return;
If possible, please create a child theme then relocate the code there: http://kriesi.at/documentation/enfold/using-a-child-theme/
Regards,
IsmaelMarch 10, 2016 at 9:43 am #596171Hey!
UPDATE: Please ignore my post above. I thought you’re trying to activate the custom css class. We added @josue’s code at the very bottom of the functions.php file. Make sure that you copy the code directly from the forum, not from your email.
Best regards,
IsmaelMarch 10, 2016 at 5:25 pm #596393Most excellent! That worked – thank you gentlemen! You may close this now :)
-
AuthorPosts
- The topic ‘Avia not active on Post/Blog Page’ is closed to new replies.