venya
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi Polylang Search All LangaugesHi Mikko,
Thanks for fast reply!
I tried inserting your code into functions.php but it did not seem to change anything. Anything else I might try?Thank you.
Forum: Plugins
In reply to: [Polylang] WordPress SearchI’ve also been looking for a solution to Searching posts/products in all Languages.
In the threads I’ve seen that some people have the opposite problem – or only want to search certain items in certain languages.
That seems way more complication. Would be really grateful to anyone who can help.
Thanks.
Forum: Plugins
In reply to: [Polylang] Show posts from other languages+1 for this feature.
I have a 2 language site that also includes woocommerce shop. I’d like to have posts and products returns for either language in search results…
I’m using a static home page, and the Xtheme…
Has anyone successfully gotten this to work??
I have the same problem. Using Xtheme…
If anyone has figured this out, please share! ??
Forum: Plugins
In reply to: [KIA Subtitle] include subtitle also in search?Thanks for the quick reply! Will research your ideas.. fingers crossed ??
Have a great weekend.Forum: Plugins
In reply to: [KIA Subtitle] include subtitle also in search?Hello,
With your help was successful in getting the subtitle loop into the cart. Thanks again!My final task is to get subtitle to also appear under product name for
Search results.I recently made some progress, but now stuck and need some help.
When the first result in the search is a product that has the subtitle, the subtitle also appears under every menu item in the header.
How do I prevent the subtitle from appearing in the menu header?
This is the code I’m using.
function kia_subtitle_for_woocommerce_products_title( $title, $product ){
if ( is_search() && get_post_type() === ‘product’ ) {
GLOBAL $product;
if( function_exists( ‘get_the_subtitle’ ) && $subtitle = get_the_subtitle( $product->id ) ){
$title .= ‘<div class=”searchauthor”>’ . $subtitle . ‘</div>’;
}
}return $title;
}
add_filter( ‘the_title’, ‘kia_subtitle_for_woocommerce_products_title’, 10, 2 );Hope you can help. Many thanks in advance!
@ivancarlos Hello!
Just tried your code and it worked! Thank you!
Unfortunate that the admin for this plugin seems unresponsive.
Have you (or anyone else!) gotten the plugin to successfully import from Vimeo? I have a few hundred videos to import and this would be a such a help….
Thanks.Forum: Plugins
In reply to: [KIA Subtitle] Subtitle in woocoomerce cart and mini-cartWorked Perfectly. Genius!
Thank you!Forum: Plugins
In reply to: [KIA Subtitle] Subtitle in woocoomerce cart and mini-cartHello Helga!
Thank your for your quick response. You’re awesome. Got it working after 12 trial and errors ?? [Must…learn….php!]The subtitle dropped to the next line without any styling in the css. Tried to style through stylesheet, but no effect. Is there any reason it should not work using “.subtitlecart {color:blue;font-size:30;} ?
Also tried to insert style directly into the function.php along the lines…
….$title .= ‘<div class=”color:blue;font-size:20px;”></div>’ . $subtitle;
No effect.Grateful for anyone’s help.
Here is what I ended up using to get it to work thus far. Might be of help to others…
————————————————–
function kia_subtitle_for_woocommerce_products( $title, $product ){if( function_exists( ‘get_the_subtitle’ ) && $subtitle = get_the_subtitle( $product->id ) ){
$title .= ‘<div class=”subtitlecart”></div>‘ . $subtitle;
}
return $title;
}
add_filter( ‘woocommerce_product_title’, ‘kia_subtitle_for_woocommerce_products’, 10, 4 );Forum: Plugins
In reply to: [KIA Subtitle] Subtitle in woocoomerce cart and mini-cartHello,
I finally got my subtitle on the Cart thanks to your code.Is there a way to bring the Subtitle below the Title?
Right now it’s displaying: Title | SubtitleI tried using a
and that worked…but, while
is invisible in cart, its visible in other parts of the site. That’s no good…Is there another way to bring Subtitle to the next line?
Title
SubtitleThank you!
Forum: Plugins
In reply to: [KIA Subtitle] include subtitle also in search?Forum: Plugins
In reply to: [WP Subtitle] Product WoocommerceHi. Brand new at this and could really use some help!
Trying to implement wp_subtitle in the product pages – for selling books – I need a subtitle to include the author.
Using child theme, Put #1 code above in functions.php – now subtitle field appears in backend, but can’t figure out where to place code to have it show up in product list pages, and individual product pages.
Can someone please tell me which files I need to edit and where to paste — as specific as possible. Been driving me crazy- still have a lot to learn.
Have a feeling it’s archive-product and single-product files…
Thanks!