Forum Replies Created
-
AuthorPosts
-
With some trial and error, I think I actually figured it out. Here’s the code I ended up with:
add_theme_support('avia_template_builder_custom_css'); /* Enfold's builder available on the individual session post types */ add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = '2016-session'; /*name of CPT one*/ $meta['page'][] = '2017_session'; /*name of CPT two*/ } } return $metabox; }
Hi there –
I used this code to add Avia to one CPT. How do I add it to multiple? I tried adding a completely new add_filter for the second CPT, but that crashed the site. Then, I tried adding the second CPT slug name into “$meta[‘page’][] = ‘2016-session’;” but that also crashed the site. Any ideas? Thanks!
How do I make a staging site version out of my current site?
Hi Mike – looks like we posted at the exact same time. See my note from a minute ago.
Update: I thankfully had a backup of the site and was able to downgrade to the previous version of Enfold I was using (3.5.4). For the time being, I’m sticking with that. I was getting a WP-500 error message on 4.0.6. Any help would be appreciated. Thanks!
June 11, 2016 at 3:23 am in reply to: How to use advanced layout editor within a custom post type #646445Hey there – for the instructions you posted here: http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/
Where do you post that code? Is it in the child theme functions.php file or is it somewhere within the custom post type widget folder? Thanks!
- This reply was modified 8 years, 6 months ago by websiteworkers.
Thanks so much!
Thanks, I edited the logo file. Not necessarily the route I wanted to take, but it gets the job done.
This reply has been marked as private.This reply has been marked as private.Thanks! That did the trick.
This reply has been marked as private.December 14, 2014 at 6:21 pm in reply to: Changing the background color, opacity and margins of captions in full-width slider #367986Thanks, Josue!
Thanks, Josue! Is there a way to remove the social icons from the top on mobile, too?
This reply has been marked as private.September 5, 2014 at 3:40 am in reply to: Problems with newest post showing up on blog section #313752This reply has been marked as private.August 29, 2014 at 4:35 pm in reply to: Problems with newest post showing up on blog section #310985Hi Ismael,
I am not using the blog post element. I currently just have them all set to be pulled in via the theme settings. I don’t ever use categories on my posts.
Hi Yigit,
I posted the code and you should see the font change live now.
Thanks!
Hi Yigit,
Here’s how my homepage looks without the code in there: https://www.dropbox.com/s/o5xzqmi5oso8j9x/1-1.png
And then here’s how it looks when I drop the code in to Quick CSS: https://www.dropbox.com/s/r0sd2c5025opg7k/1-2.pngThanks, Yigit. Your code worked. The only issue is that when I’m on a page that’s in my main nag (for example, the blog homepage), when I scroll, that specific link/text is white. However, the other links changed to orange.
August 13, 2014 at 4:30 pm in reply to: Enfold Header Main Menu / Sub Menu text colour turn off opacity/ tint #303913Thanks! That did the trick.
OK great I’ll try that. Thanks so much for the help! I really appreciate it.
Hey Josue,
So basically, I should use the blog set-up tool in the page options instead of trying to go through the Enfold>Blog Layout option?
Best,
AlexHi Josue,
Absolutely, here’s the URL: http://alexmasica.com/posts/
August 13, 2014 at 1:42 am in reply to: Enfold Header Main Menu / Sub Menu text colour turn off opacity/ tint #303506I tired these two methods, as well, but the non-active menu text color is still showing up differently than what I set it at (just plain white).
Hi Yigit,
Thanks for passing this along. When I saved this code in the Quick CSS, it broke the fonts I have on my site (Arvo for headers, Source Sans Pro for body copy). However, it’s only breaking on desktop—it looks fine on desktop and mobile.
And yes, I know I opened a lot of tickets. I’m sorry, and I really appreciate all the help you guys give. You have the best support team out of any other theme I’ve purchased in the past. For what it’s worth, I’ve had seven of my friends buy your theme after I recommended it to them :)
Best,
AlexAwesome. Thanks so much for the help!
August 13, 2014 at 1:14 am in reply to: Recommended widgets for private content and paypal checkout #303500Thanks, Peter! The reason I asked is because on a previous theme I used, there were some e-commerce plugins that weren’t compatible with the theme. Thanks for the suggestions—I’ll definitely look into them!
This reply has been marked as private.Thanks, that’s perfect!
-
AuthorPosts