emyosv
Forum Replies Created
-
Hi,
Can I use this PHP code with the free version?Forum: Plugins
In reply to: [Relevanssi - A Better Search] Plural ‘s’Thank you very much.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] "Did you mean" for productsHi,
You wrote a code to get parent titles for posts, what I really wanted was to get was to to get parent (and grandparent) titles for “product categories” of WooCommerce products. Can you please provide me with the code for this?
ThanksForum: Plugins
In reply to: [Invisible reCaptcha for WordPress] Custom FormHi, This is what I did. I also want to know if this is correct.
********** <action="google_invre_render_widget_action"> </action> <input name="submit" type="submit" class="fa fa-envelope-o" value=" Subscribe" /></fieldset> </form>
Forum: Plugins
In reply to: [Modal Window - create popup modal window] PopUp doesn’t work!Forum: Plugins
In reply to: [Modal Window - create popup modal window] Modal is not showingIt works.
Thank you very much.Forum: Plugins
In reply to: [Modal Window - create popup modal window] Modal is not showingForum: Plugins
In reply to: [Modal Window - create popup modal window] Modal is not showingThanks for showing your concern.
I updated the plugin and now none of them work.
What should I use for “Modal window ID” I tried wow-modal-id-1 & modalsimple-id-1 and didn’t work, for the shortcode I use [mwpModalFree id=1]. If I want to use with anchor link what should I use.
Thank youForum: Plugins
In reply to: [Modal Window - create popup modal window] Modal is not showingThank you for your prompt response.
It seems that only the modal that has the first short-code on the page works, I changed the order of the short-codes and a different one worked.
Thanks
P.S. I’m sorry but I’m actually using https://www.ads-software.com/plugins/mwp-modal-windows/Hi, Thank you.
Where do I put that code?
Is there a way to use the count in ‘Widget Logic’ for example (to hide a button when list is empty for example)?
Thanks.Forum: Plugins
In reply to: [Relevanssi - A Better Search] "Did you mean" for productsHi,
Thank you for your response. But it seems that it doesn’t work with woo-commerce here is the code of my functions.php:<?php /** * Storefront engine room * * @package storefront */ /** * Assign the Storefront version to a var */ $theme = wp_get_theme( 'storefront' ); $storefront_version = $theme['Version']; /** * Set the content width based on the theme's design and stylesheet. */ if ( ! isset( $content_width ) ) { $content_width = 980; /* pixels */ } /** * Initialize all the things. */ require 'inc/class-storefront.php'; require 'inc/jetpack/class-storefront-jetpack.php'; require 'inc/customizer/class-storefront-customizer.php'; require 'inc/storefront-functions.php'; require 'inc/storefront-template-hooks.php'; require 'inc/storefront-template-functions.php'; if ( is_woocommerce_activated() ) { require 'inc/woocommerce/class-storefront-woocommerce.php'; require 'inc/woocommerce/storefront-woocommerce-template-hooks.php'; require 'inc/woocommerce/storefront-woocommerce-template-functions.php'; } if ( is_admin() ) { require 'inc/admin/class-storefront-admin.php'; } /** * Note: Do not add any custom code here. Please use a custom plugin so that your customizations aren't lost during updates. * https://github.com/woothemes/theme-customisations */
I see there is a file named storefront-functions.php (inc/storefront-functions.php).
Forum: Plugins
In reply to: [Relevanssi - A Better Search] "Did you mean" for productsHi,
I’m sorry I didn’t realize that the product permalinks don’t include the product category, I think I’ll have do it a different way, maybe breadcrumbs if someone can tell me how.This is what I found in search.php in appearance > editor :
<?php /** * The template for displaying search results pages. * * @package storefront */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if (function_exists('relevanssi_didyoumean')) { relevanssi_didyoumean(get_search_query(), "<p>Did you mean: ", "?</p>", 9); }?> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"><?php printf( esc_attr__( 'Search Results for: %s', 'storefront' ), '<span>' . get_search_query() . '</span>' ); ?></h1> </header><!-- .page-header --> <?php get_template_part( 'loop' ); else : get_template_part( 'content', 'none' ); endif; ?> </main><!-- #main --> </div><!-- #primary --> <?php do_action( 'storefront_sidebar' ); get_footer();
Is there a way to fix the ‘did you mean’?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] "Did you mean" for productsHi,
Thank you very much for you plugin and for your prompt reply.
I want product should come up when searching for parent category ex:
Parent > Child > Product
When searching for ‘parent’, ‘product’ should show in results.
Thanks.