Forum Replies Created
-
AuthorPosts
-
Interesting.
Is there any way to upload an excel doc with value (or XML, etc.) to auto populate pages and fields? If for a school, adding course numbers, descriptions, text, etc…this would be a must to get info onto pages. We love the Avia builder and would hate to go with another template without it.
Here is an example: https://www.templatemonster.com/demo/51770.html , and under COURSES, you can see we would want all of the pages to be populated with sets of data.
Thanks!
February 22, 2018 at 8:04 pm in reply to: Embedding a Facebook video changes language to Spanish #916264It appears there is a way to define it via API, which I presume Enfold is using? Via their SDK and/or via XML.
https://developers.facebook.com/docs/plugins/embedded-video-player#language
February 22, 2018 at 7:56 pm in reply to: Embedding a Facebook video changes language to Spanish #916255The video shows as English when viewed on multiple machines and in multiple browsers when viewed on Facebook. When embedded in Enfold (simple URL), it appears with Spanish language overlays. I’m not sure what else can be done on our end. Ismael has some code above, so it appears that there is (?) a way to define the language within Enfold?
I’ll keep looking into it on our end, but I’d appreciate Kriesi reviewing it on their end, too!
Thanks.
February 21, 2018 at 8:15 pm in reply to: Embedding a Facebook video changes language to Spanish #915655Here it is…screen grab from the browser window. This broswer is set to english. http://www.keycodemedia.com/wp-content/uploads/2018/02/facebook-spanish-localization.png
February 21, 2018 at 2:42 am in reply to: Embedding a Facebook video changes language to Spanish #915146Sure. Posted below. Thanks!
February 16, 2018 at 7:15 pm in reply to: Embedding a Facebook video changes language to Spanish #913354Thanks Ismael!
I’ve added these to the child theme in the functions.php file. I’m not seeing any change. Here is a complete copy of my child theme functions.php file, as there some additional code already added:
<?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_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } add_action('wp_footer', 'ava_iframe_parameters'); function ava_iframe_parameters(){ ?> <script> (function($){ $(window).load(function() { // ------------------------------------------------------------------------------------------- // facebook.com parameter // ------------------------------------------------------------------------------------------- function avia_iframe_parameters(container) { var iframe = jQuery('iframe[src*="facebook.com"]', container); iframe.each(function() { var current = jQuery(this), src = current.attr('src'); if(src) { if(src.indexOf('?') !== -1) { src = src.replace(/\locale=es_LA/g, 'locale=en_US'); } current.attr('src', src); } }); } avia_iframe_parameters('body'); }); })(jQuery); </script> <?php }
- This reply was modified 6 years, 10 months ago by jamesrapage.
February 15, 2018 at 7:40 am in reply to: Embedding a Facebook video changes language to Spanish #912663Thanks!
No, I can assure you, the users who view the link are English speaking. I can replicate it on multiple browsers, whether I’m logged into Facebook within that browser or not. Did you follow the link I posted?
Wow, that’s above and beyond what I expected! It looks good thus far, I’ll report back with any errors.
Again, my thanks!
Hi Mike:
Thanks again for the legwork!
The above credentials still work, and there is an FTP plugin (WP File Manager) on the left hand side that will give you access to the file structure.
Once this is done, please let me know what else I have to do!
EDIT: I pasted the credentials in the private area for ease of use.
Thanks again!
- This reply was modified 6 years, 10 months ago by jamesrapage. Reason: pasted the credentials in the private area for ease of use
Yes, in another post, Mike logged in and found that the importing of the parent settings into the child was NOT working. I’m waiting for feedback from him.
Odd, I was not able to get your child theme to take the styling of your parent theme, even with clearing your cache and disabling it. I will have to look into this more and get back to you.
Thanks @Guenni007 !
I’ll need Mike to determine why the child theme won’t import the parent properties. Once that’s done, I’ll (re) upload your iconbox files to the child theme and use your functions.php code, and then choose my heading type. Is the (new) code updated at https://kriesi.at/support/topic/hn-for-iconlist/#post-903934 ?
Thanks again.
HI Mike:
Thanks for the legwork.
1. Correct. I never uploaded the files to the child theme. I uploaded and tested them on the parent theme, and got the same the same title code “error” that you did. Due to the fact I couldn’t get the child theme to look like the parent theme to begin with, I stopped any kind of customization to it.
2. Despite the fact there is an error, I’m glad you’re seeing the same behavior I was with the child theme not inheriting the parent’s appearance….despite the success messages after importing them. What now?
Thanks again!
Wow, thanks!
Everything has been put back the way it was with the parent theme. The child theme is installed, but not activated. The Icons on the front page are the main items we want H2 (for SEO). Thanks!
Thanks @guenni007 .
I attempted this, NOT using the child theme (the child theme, for whatever reason, doesn’t look the same as the parent theme, even after importing parent theme data and clearing caches).
Instead, I placed the 2 icon PHP files into themes/enfold/config-template-builder/avia-shortcodes, and pasted the above code into the parent functions.php file. I then get the error code “< class=’iconbox_content_title ‘ itemprop=”headline” >” on the page I wanted to modify. Any ideas what I could be doing wrong? Thanks!
Thanks Mike.
I’d done cache clearing, both on my end, as well as with the caching plugin on the site…as well as any minifying settings. I’ve also tried in a new browser, with no luck.
I’ll test out the file referenced in the other post and alter the code and see if that works. Thanks!
I’ve installed the child theme and used the import function to move the data from the main theme to the child theme, but the child theme still looks different….font colors are off, some background colors are off, etc. We have no custom CSS, all changes were done with options in the theme. Are there any other migrations that need to take place so the site looks the same? Thanks!
Edit: I also exported the theme settings form the parent (TXT file) and imported those into the child theme. The differences are still visually apparent.
- This reply was modified 6 years, 10 months ago by jamesrapage.
-
AuthorPosts