sohels
Forum Replies Created
-
gbroochian, thanks for moving this forward. Just to add,
https://motibili.in/art-gallery/kind/canvas-prints
^ this would be much better for readability and SEO i think, as compared to:
https://motibili.in/art-gallery/?filter_kind=canvas-prints
ie, a proper URL vs one with query strings. But I don’t know if the former is possible to do?
Hi,
Yes, I did look at the Yith Brands plugin, but that does not fulfill our requirement. Specifically, I want the brand (artist) title, description, and thumbnail in the sidebar on the product page: https://motibili.in/paintings/mona-lisa/
And I also want the same in a sidebar on the brand’s archive page (ie the page that has all products belonging to that brand): https://motibili.in/artists/maestros/leonardo-da-vinci/
Is this possible to do with the Yith plugins?
And what about my other question about the pretty query strings (ie attribute names instead of ID)?
Thanks.
Thank you very much for this, I inspected the plugin code on this page.
In particular, I noticed that the return page is hard coded to “my account” page:
$redirect_url = get_permalink(woocommerce_get_page_id('myaccount')); wp_redirect($redirect_url);
Would replacing that with this be sufficient?
$redirect_url = get_permalink(woocommerce_get_page_id('thankyou')); wp_redirect($redirect_url);
Sohel
Sure, please place a test order, we won’t charge your card!
Hi Alek,
The conversions still aren’t visible. When I inspect the order-received page, I don’t see the Adwords javascript in the page source. Does the plugin insert the javascript automatically, or do I need to insert the javascript manually? If the latter, what’s the best way to do it? I believe it needs to go before the </body> tag?
Sohel
Forum: Plugins
In reply to: [Hotspots Analytics] Can't See HeatmapsNo, I ended up disabling the plugin.
Forum: Plugins
In reply to: [SpamReferrerBlock] Blacklist table is not createdSame here. When I try to download the blacklist, I get an error message “There has been an error during the download.”
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Predictive SearchThanks, Mikko.
I found this plugin, which allows me to do both:
1. Index product attributes & custom taxonomies
2. Offer live/Ajax searchResults are also displayed nicely – eg if I search ‘blue’ it has different sections for blue color attribute, and products with blue keyword. So I will be using this instead of Yith Ajax Search + Relevanssi.
Relevanssi does appear to be ‘lighter’ so I may revert if there is built in live/Ajax search in the future.
Sohel
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Can't search custom post type/custom fieldHi Mikko,
I couldn’t reach the developer and the site had a number of issues so I’m rebuilding it from scratch. Most of the stuff is done:
For some artists, I am able to search by their name, but I suspect this is because Relevanssi has indexed vendor names (vendors are a custom taxonomy). Those artists that are not vendors eg – ‘Sanatan Mehta’, are not searchable.
Updated function in functions.php:
//Add artist names to product search content add_filter('relevanssi_content_to_index', 'rlv_add_artist', 10, 2); function rlv_add_artist($content, $post_id) { if ( get_post_type($post_id) == 'product' ){ $artist = get_post_meta($post->ID, 'artist', true); $artist = get_the_title( $artist ); return $artist; } }
Thoughts? This type I can answer any question you may have since I’ve done everything myself!
Sohel
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Can't search custom post type/custom fieldHi Mikko,
A developer recently made some changes and I can no longer search via artist. Unfortunately I’m not able to reach him.
The following function is still there in functions.php:
add_filter('relevanssi_content_to_index', 'rlv_add_artist', 10, 2); function rlv_add_artist($content, $post_id) { $artist = get_post_meta($post->ID, 'artist', true); $artist = get_the_title( $artist ); return $artist; }
Not sure why its not working – can you please take a look: https://motibili.in/
Try searching for ‘Shikha’.
Forum: Plugins
In reply to: [WP RSS Multi Importer] Set Permalink via Feed to Posthave the title link to the external site (by checking the box to make this happen)
That’s exactly what I want, but it doesn’t work. The plugin correctly sets the url in the title with the class=”colorbox” attribute, but somehow this url gets overridden by the post’s permalink, which still points to an address within my domain.
On clicking the title, I thus end up on the post page, where I can see the title as the full link:
<a href="www.example.com" class="colorbox">Title text</a>
I’m not sure what’s going on. This is the WordPress template I’m using, although I’m working locally: https://themes.themolitor.com/dailypress/
Forum: Plugins
In reply to: [NextGEN Facebook] Plugin doesn't work for my siteOk I’d set the image dimensions to 200×200, and changed these to a higher value now, but it still doesn’t work.
However, the real issue seems to be that Facebook is just unable to crawl/scrape my page for some reason – I get a ‘Bad Response Code’ (502) with the message ‘URL returned a bad HTTP response code.’
Any thoughts on why this would be? This also means that Facebook can’t see the property tags that the plugin adds to the header, for example, debugger says ‘The og:type property is required, but not present.’ even though that property is visible in the page source.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Can't search custom post type/custom fieldThanks Mikko, it works now.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Can't search custom post type/custom fieldHi Mikko,
Thanks a lot for the quick response. An artist is a custom post type. This is linked to a product via a custom field which contains a ‘post object’. It is a dropdown field on the product admin page with a list of artist names.
If you don’t mind having a look, I can give you my wp-admin access. Please let me know your email address.
I have also uploaded relevant screenshots here: