graf1n
Forum Replies Created
-
Forum: Plugins
In reply to: [FiboSearch - Ajax Search for WooCommerce] WooCommerce search resultI only want to use this plugin to search for products, I do not need to search through archives, pages, etc.
Forum: Plugins
In reply to: [WPML Multilingual CMS] How to search for products in all languages?So no one answered. I found it myself.
Maybe someone will need.add_action('pre_get_posts', 'my_custom_search_query', 1); function my_custom_search_query($query) { if($query->is_search()) { $query->query_vars['suppress_filters'] = true; return $query; } }
I have the setting directly.
I need so that when converting EUR to BTC, I can increase the exchange rate by 5%Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Do not duplicate productsid name cat price variant 1 tovar1 cat>cat2>cat3 10 varinat1 2 tovar1 cat>cat2>cat3 20 varinat2 3 tovar1 cat>cat2>cat3 30 varinat3 4 tovar2 cat>sub1 110 varinat1 5 tovar2 cat>sub1 120 varinat2 6 tovar1 cat>tmp 10 varinat1 7 tovar1 cat>tmp 20 varinat2 8 tovar1 cat>tmp 30 varinat3
Why is the tmp category empty? How to make tovar1 appear in the tmp category?
- This reply was modified 4 years, 7 months ago by graf1n.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheHow can I show this random number in the browser?
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheI did everything from the wiki.
<!-- lscwp Custom ESI block --><esi:include src='/ru/?lsesi=my_esi_block&_control=private%2Cno-vary&_hash=d2c672b3d393ce5091e81c7b78816030' cache-control='private,no-vary' /><!-- lscwp Custom ESI block esi end -->
How to derive the value itself instead of this code? Hello world31636
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheAdded like this (header.php):
<?php echo apply_filters( 'litespeed_esi_url', 'my_esi_block', 'Custom ESI block' ); ?>
The following code appears:
</style><!-- lscwp Custom ESI block --><esi:include src='/en/?lsesi=my_esi_block&_control=private%2Cno-vary&_hash=d2c672b3d393ce5091e81c7b78816030' cache-control='private,no-vary' /><!-- lscwp Custom ESI block esi end --></head>
How can I derive rand ();
- This reply was modified 4 years, 7 months ago by graf1n.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cachethe string is displayed as is
<div> apply_filters ('litespeed_esi_url', 'my_esi_block', 'Custom ESI block'); </div>
Not processed
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheUpdated to v3.0.0-rc12
In header.php added<div> apply_filters ('litespeed_esi_url', 'my_esi_block', 'Custom ESI block'); </div>
in functions.php added
add_action ('litespeed_esi_load-my_esi_block', 'my_esi_block_esi_load'); function my_esi_block_esi () { do_action ('litespeed_control_set_ttl', 0); echo rand (1,99999); }
Doesn’t work, what am I doing wrong? Took all of the above example
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheThank you! Where to get version v3.0 rc 10 or later.
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheForum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheIt is necessary to turn this piece of code from header.php into an ESI block and not cache it
<head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php wp_head(); ?> </head>
Or disable caching wp_head ();
Forum: Plugins
In reply to: [LiteSpeed Cache] How to exclude cacheProbably not correctly explained.
I need code not to be cached on all pages:
<head>
?? <link rel = “stylesheet” href = “animations.css”> </link>
?? <link rel = “stylesheet” href = “common.css”> </link>
</head>I include CSS by condition in functions.php
Probably it’s good for me to disable caching for the whole file /wp-content/themes/flatsome-child/header.php