-
Search Results
-
Hi,
I want to replace social icons in the extra bar with custom JS. Is it possible to do with child’s functions.php?
Here is a scrrentshot of location
http://gyazo.com/8d0e7a0bf7fff85998eb4e40566bf4bfHi Guys -I’m running a child theme on Enfold and I’d like to add the layout builder to my custom post types. I’ve had a look at this video
https://vimeo.com/64996057 and I’ve followed this post https://kriesi.at/support/topic/add-builder-to-other-custom-post-types/ and it works when i update the Parent theme’s meta.php file.howvver I want to make sure all the changes stay in the child theme – is there a way to do this?
I’ve already tried copying the folder and file directory into my child theme directory but it doesn’t register the builder.
Would love you help – thanks!
Hi There, I just updated woocommerce. Which I should not have done.
Now, I get this error when I go to my admin page. Fatal error: Call to undefined method WP_Error::get_message() in /data/31/1/6/125/1495940/user/1609071/htdocs/…/wp-content/plugins/woocommerce/includes/class-wc-geolocation.php on line 163
PLEASE HELP!!!!!!
i posted this last week deatailed… cost me lots of time- but it obviously disappeared, so i gotta do that all over again.
i have some webmaster tool warnings on smartphone usability with the result that my page got a lower rank. I expect to have your support on this since these issues obviously triggered by the enfold theme. Google delivers detailed ways to solve the issues, which i am sure you guys are able to fix easily, so let me know if you might need access to my webmaster tool:Mobile Usability Issues
Status: 2/7/15
12 Pages with errors
– Viewport not configured
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/css/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/css/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/sc/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/auto-updates/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/wordpress-importer/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/– Small font size
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/sc/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/auto-updates/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/wordpress-importer/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/css/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/css/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/img/– Touch elements too close
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/css/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/css/conditional_load/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/sc/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/auto-updates/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/wordpress-importer/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/js/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/– Content not sized to viewport
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/img/
http://www.superbike-coach.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/js/Hi,
I have a little problem, I read few topic about google fonts, I found code:add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Open Sans'] = 'Open Sans:400,500,600,700,800,900&subset=latin,latin-ext'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Open Sans'] = 'Open Sans:400,500,600,700,800,900&subset=latin,latin-ext'; return $fonts; }and I added it to my function.php after global
$avia_config;but still I don’t have polish characters in posts title…. in open sans of course :(
thanks in advance for help!
Hi,
Yigit was kind enough to help me add this image http://www.askahorsevet.com/wp-content/uploads/2015/01/MPE_EqunieServ_Logo_WEB1-e1422543246758.png linked to http://www.mpequine.com on the right hand side of our header area. Unfortunately the code he added to the functions.php file was lost in the update as we forgot to copy them. Would it be possible to get assistance to do this again?Topic: Child Theme & Functions.php
Hi there,
We are still nervous about making a child theme for one of our existing sites. At the top and the bottom of the existing functions.php file we have the following (please see below). What should we do with this code after moving to a child theme?
Many thanks,
RobertAT THE TOP:
<?php
global $avia_config;
add_theme_support(‘avia_template_builder_custom_css’);
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Archivo Narrow’] = ‘Archivo Narrow:700’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Archivo Narrow’] = ‘Archivo Narrow:700’;
return $fonts;
}add_filter( ‘woocommerce_product_review_list_args’, ‘wc_reverse_product_reviews’ );
function wc_reverse_product_reviews( $args ) {
$args[‘reverse_top_level’] = true;return $args;
}/*
* if you run a child theme and dont want to load the default functions.php file
* set the global var below in you childthemes function.php to true:
*
* example: ………AT THE BOTTOM:
/*
* register custom functions that are not related to the framework but necessary for the theme to run
*/require_once( ‘functions-enfold.php’);
add_action( ‘woocommerce_email_before_order_table’, ‘add_link_back_to_order’, 10, 2 );
function add_link_back_to_order( $order ) {
// Open the section with a paragraph so it is separated from the other content
$customMessage = ‘<p>’;
$customMessage .= ‘PLEASE NOTE: The audio files for the Listening and Speaking tests are ‘;
$customMessage .= ‘inside the PDF files. For best results, please make sure you have the ‘;
$customMessage .= ‘latest version of Adobe Reader installed on your device. When you open ‘;
$customMessage .= ‘these tests with Adobe Reader simply click on the icon in the top right’;
$customMessage .= ‘had corner and the audio player will appear on your screen. You can ‘;
$customMessage .= ‘download Adobe Reader free at: ‘;
$customMessage .= ‘http://get.adobe.com/reader’;
// Return the message into the email
echo $customMessage;
}
