• Hi,
    I want to use this plugins in my AMP pages and will not compromise anything with google pagespeed insights.
    Can it be compatible?
    Thanks

Viewing 15 replies - 16 through 30 (of 40 total)
  • Thread Starter zo

    (@zotezo)

    How can I call and search medicine products from medicine custom post type by shortcodes?
    https://dev1.zotezo.com/in/medicines/gp-1mg-tablet/
    and https://dev1.zotezo.com/in/medicines/

    Plugin Author Mikko Saari

    (@msaari)

    Ah, it’s a custom post type, not custom fields. Then it’s easy:

    [shortcode post_types="medicines"]

    creates a search form that will only search the medicines post type. The key is the post_types parameter: set that to medicines to only get those kinds of posts.

    Thread Starter zo

    (@zotezo)

    can i put only this short code?
    [shortcode post_types=”medicines”]

    Plugin Author Mikko Saari

    (@msaari)

    Sorry, my mistake, it’s

    [searchform post_types="medicines"]

    Thread Starter zo

    (@zotezo)

    Hi,
    we are using two language one english and another in hindi.
    For Dolo 650 mg Tablet In Hindi for the same post type how can i add short code?
    English product https://dev1.zotezo.com/in/medicines/dolo-650-mg-tablet/
    Hindi Product https://dev1.zotezo.com/in/hi/medicines/dolo-650-mg-tablet-in-hindi/
    Both have the same custom post type medicines.What shortcode needs to add or what settings needs to change?
    Thanks

    Thread Starter zo

    (@zotezo)

    Hi,
    Also any idea how to show search box on search results page also so that it is noticeable among public…
    https://dev1.zotezo.com/in/?s=Dolo+650+mg+Tablet+In+Hindi&post_types=medicines
    Any idea?
    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    The shortcode is the same for the post type restriction. I don’t know how the languages are implemented, so I can’t tell how to add language filtering.

    To add a search form on the search results page, you need to edit the search results template. That is something where any WP developer can help you, you can easily hire someone to do that for you if you can’t do it yourself.

    Thread Starter zo

    (@zotezo)

    Hi,
    Please guide me 1) how to call search box in search results page throgh shortcode
    2) How can i resize the search similar like https://www.zotezo.com/in/medicines/ page search box?
    3) What indexing actually do? if we run in live will it impact anything on Pagespeed?
    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    1. You probably can’t. In most themes, the search results template content cannot be modified from the user interface, you have to edit the template file.

    You can add this to the template file:

    <?php echo do_shortcode('[searchform]'); ?>

    to print out the shortcode. For more details, please ask theme support, as the exact details of the implementation depend on your theme.

    2. It depends on the theme styles, please ask theme support for exact details.

    3. Indexing reads through the post contents and creates an index for Relevanssi. The index tells Relevanssi which words are in which post. This does not affect the PageSpeed, because it’s not a constant process, it’s a small task that happens whenever a post is saved.

    Thread Starter zo

    (@zotezo)

    Hi,
    >>3. Indexing reads through the post contents and creates an index for Relevanssi. The index tells Relevanssi which words are in which post. This does not affect the PageSpeed, because it’s not a constant process, it’s a small task that happens whenever a post is saved.
    Will it consume any server load or any server space?
    Have there any impact on any post or custom post?

    What is the difference between AND and OR logic in settings?

    If we move to the Premium version will it work on each site level search?
    Thanks

    Plugin Author Mikko Saari

    (@msaari)

    Yes, Relevanssi index takes lots of database space. A good approximation is that the Relevanssi index will take about three times the space your wp_posts table takes, but depending on the type of your content it may be much smaller or bigger.

    Indexing will tax the server a bit, but it doesn’t usually take long, so that’s not a big deal.

    AND logic means that each word in the search query must appear in all posts. With OR logic, it’s enough that one word appears. Searching for “cat dog” will return all posts that have both “cat” and “dog” if you use AND, and all posts that have either “cat” or “dog” or both if you use OR.

    Premium supports multisite searching between sites, yes.

    Thread Starter zo

    (@zotezo)

    for our case having 24k post is it huge to take database space?

    Plugin Author Mikko Saari

    (@msaari)

    It depends on the size of your posts. But yes, you can expect the Relevanssi index to take a lot of space.

    For comparison, I have a site with about 8700 posts, so one third of your site. There wp_posts is 33k rows and 135 megabytes (data + index) and wp_relevanssi is 1.4M rows and 640 megabytes, so 4.7 times the size of the posts.

    So, if we extrapolate from that, on your site the Relevanssi index might take 1.5-2 gigabytes. Is that a lot? Depends on your setup, really.

    Thread Starter zo

    (@zotezo)

    So before implementing it to live we should be more cautious about that!!!!
    If I Uninstall it will it be deleted all index entries?
    What is the easiest way to do that?

    Plugin Author Mikko Saari

    (@msaari)

    Uninstalling is simple, just use the WordPress plugin screen to deactivate and then uninstall the plugin. That will clean out all the files and database entries.

Viewing 15 replies - 16 through 30 (of 40 total)
  • The topic ‘AMP compatibility and Performance compatibility’ is closed to new replies.