Carret
Forum Replies Created
-
Forum: Plugins
In reply to: [Storefront Top Bar] Font Awesome Shortcode in topbarHi, try something like this:
<span style=”color:#fcbf00;”> <i class=”fa fa-phone fa-lg”> </i> </span>
or
<i class=”fa fa-phone fa-lg” style=”color:#fcbf00;”> </i>
- This reply was modified 7 years, 8 months ago by Carret.
Forum: Plugins
In reply to: [Storefront Top Bar] setting to set text alignment not workIt’s work fine now.
Thanks!
Forum: Plugins
In reply to: [Storefront Sticky Add to Cart] After 1.1.5 update does not work anymoreHi,
I think may be failed for this:
Function wc_get_rating_html, Since: 2.7.0.
Forum: Plugins
In reply to: [Advanced Woo Search] Pre-sale: AWS in Storefront search form headerHi all.
/* Remove Storefront Product Search in Header */ add_action( 'init', 'jk_remove_storefront_header_search' ); function jk_remove_storefront_header_search() { remove_action( 'storefront_header', 'storefront_product_search', 40 ); }
/* Add Advanced Woo Search to storefront header */ if ( ! function_exists( 'storefront_all_search' ) ) { function storefront_all_search() { if ( storefront_is_woocommerce_activated() ) { ?> <div class="site-search"> <?php echo do_shortcode('[aws_search_form]'); //Advanced Woo Search plugin //the_widget( 'WP_Widget_Search' ); // wordpress search ?> </div> <?php } } } add_action('storefront_header', 'storefront_all_search', 40);
Forum: Plugins
In reply to: [Ultimate FAQ Accordion Plugin] Undefined Index errorMore, in Frontend:
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 112
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 113
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 114
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 234
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 235
Notice: Undefined variable: orig_order_setting in /opt/lampp/htdocs/namaste/wp-content/plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php on line 236
Forum: Plugins
In reply to: [Forget About Shortcode Buttons] Buttons on Custom Post TypesWhile I wait for the update
I changed the function “my_add_styles_admin” in the file forget-about-shortcode-buttons.php, for:public function my_add_styles_admin() { global $current_screen; $type = $current_screen->post_type; /* latribu - mod */ $args = array( 'public' => true, '_builtin' => false //get only custom post types ); $posttypes = get_post_types( $args, 'names' ); //$posttypes = get_post_types( '', 'names' ); if ( is_admin() && $type == 'post' || $type == 'page' || in_array($type, $posttypes) ) { ?> <script type="text/javascript"> var fasc_ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>'; var fasc_ver = '<?php echo FASC_BUTTONS_VERSION_NUM; ?>'; </script> <?php } /* latribu - mod */ /* // original code if (is_admin() && $type == 'post' || $type == 'page') { ?> <script type="text/javascript"> var fasc_ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>'; var fasc_ver = '<?php echo FASC_BUTTONS_VERSION_NUM; ?>'; </script> <?php } */ }
Regards
Forum: Plugins
In reply to: [qTranslate] qTranslate and searchReview why the code is being taken as a string and not a php code to execute.
Forum: Plugins
In reply to: [qTranslate] SELECTOR / SWITCHERSyntax review:
<?php echo qtrans_generateLanguageSelectCode('both'); ?>
I guess you will like look here too: Horizontal arrangement for flags
https://www.ads-software.com/support/topic/plugin-qtranslate-horizontal-arrangement-for-flagsForum: Plugins
In reply to: [qTranslate] qTranslate and searchHi, try something like this:
<input type="hidden" name="lang" value="<?php echo qtrans_getLanguage(); ?>"> <button class="search" type="submit" id="searchsubmit" >{$label}</button>
A example, searchform.php;
<form method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> <input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'theme' ); ?>" /> <input type="hidden" name="lang" value="<?php if (function_exists('qtrans_getLanguage')) { echo qtrans_getLanguage();} else { if (function_exists('ztrans_getLanguage')) { echo ztrans_getLanguage();} } ?>"> <button type="submit" class="submit" id="searchsubmit"><i class="icon-search"></i></button> </form>
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Facebook Wrong CountThe same problem since a couple of days.
Forum: Plugins
In reply to: [zTranslate] No flags in edit modeSorry to hear that, I’ve tested in WP4 and contact form7 and it works for me.
Forum: Plugins
In reply to: [zTranslate] No flags in edit modeHi,
Sorry for the confusion, https://www.site.com, it was just an example.
I’m using the dynamic sitemap.Sorry but I think that changes in link “Flag Image Path” not resolve the issue.
Anything that put in flag link will be append after the path “/wp-content/”:
ztranslate.js, line 499:
ce('img', {src: '/wp-content/'+zTranslateConfig.flag_location+zTranslateConfig.flag[lang]}, tabSwitch);
I’ve fixed it for me with this:
Add in ztranslate_core.php, after line 915:
echo "<script>var zT_WP_CONTENT_URL=".json_encode(WP_CONTENT_URL).";</script>";
And in ztranslate.js, change line 499 to:
ce('img', {src: zT_WP_CONTENT_URL+'/'+zTranslateConfig.flag_location+zTranslateConfig.flag[lang]}, tabSwitch);
Forum: Plugins
In reply to: [qTranslate] How to hide a language?Settings -> Languages, and click disable on the language to hide.