Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter emanuelsw

    (@emanuelsecurityweek)

    Hosting my website with WP Engine and they confirmed Memcached is available.

    Enable it for 24 hours and see absolutely no difference in the performance.

    The only thing different was in the Stats pages the number of views decreased by 90%

    I still get an insane amount of calls to /wp-json/wordpress-popular-posts/v2/widget like 210k requests in 7 days.

    My settings are, cache enabled, sampling of 250, data retention 21 days.

    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    What would be a good value for the data sampling for a website with 25,000 articles and 670,000 view in the last 28 days?

    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    Nope. Tried a few times but was unable to make it work.

    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    Could I have this filter applied only to 1 custom block?

    I have created a ‘features’ folder in my theme. Inside it I want to add a feature called ‘hires’. I want all the code related to be under the same folder. I have created a new block and want to change the path just for that to point to mytheme/features/hires/block/block-hires.php

    Would this be possible?

    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    The website is still in development so I don’t have a link to share yet.

    If by default it should work then it must be something on my end.

    The only thing I can think of is that I changed the path from “/author” to “/contributors”. I used a Redirection plugin.

    Could this be an issue?

    • This reply was modified 10 months, 3 weeks ago by emanuelsw.
    Thread Starter emanuelsw

    (@emanuelsecurityweek)

    I was able to create a replica, customize the instantsearch template, add the sort widget but when changing the values it does not do anything

    // SortBy widget for sorting
    instantsearch.widgets.sortBy({
    	container: '#sortby',
    	items: [
            	{ label: 'Newest', value: wp_searchable_posts_sort },
    	{ label: 'Oldest', value: wp_searchable_post_sort_date },
    	],
    }),
    <aside id="ais-facets">
         <div>
    	<h3 class="widgettitle"><?php esc_html_e( 'Sort by', 'wp-search-with-algolia' ); ?></h3>
    	<section class="ais-facets" id="sortby"></section>
         </div>
    ...

    And in Algolia I have a main indices ‘wp_searchable_posts’ and have created a replica index called ‘wp_searchable_post_sort_date’

    What else am I missing?

Viewing 6 replies - 1 through 6 (of 6 total)