WPFTS Pro Main Site WPFTS Community Forum
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. alihs
    3. Posts
    Get WPFTS Pro today with 25% discount!
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Able to delete from index

      @EpsilonAdmin I don't see the error anymore. Give me a day to troubleshoot further

      posted in Frequently Asked Questions
      A
      alihs
    • RE: Able to delete from index

      While here, would like to suggest to add filters for enqueue of js and css files so we could disable them if needed or overwrite them.

      Much appreciated

      posted in Frequently Asked Questions
      A
      alihs
    • RE: Able to delete from index

      @EpsilonAdmin

      We have over 600+ posts. Other CPT amounts to ~500 spread across around 7-8 different CPTs.
      I keep getting the indexing message.
      Memcache/Redis is turned off as well as DB cache, still get the same thing.
      Re-indexing does sort it out.

      posted in Frequently Asked Questions
      A
      alihs
    • RE: Able to delete from index

      Hi @EpsilonAdmin
      Yes, i do have $date_now and yes its part of an excerpt. I had it fixed by passing empty array instead of returning false.

      The index refresh keeps on displaying, initially its 257 and then get to 90ish and then again 257. Seems to be an infinite loop

      https://streamable.com/etht3a

      Thanks

      posted in Frequently Asked Questions
      A
      alihs
    • RE: Able to delete from index

      @EpsilonAdmin Thanks for the very prompt reply.

      I have the following

      add_filter( 'wpfts_index_post', function( $chunks, $post, $is_refresh_raw_cache ) {
          if ( $post->post_type == 'events' ) {
      	$date_listing = get_post_meta( $post->ID, 'date_listing', true );
      
      	if ( $date_listing <= $date_now ) {
                  // i was returning false here, which i now realize was wrong.
      	    return array();
      	}
          }
      
          return $chunks
      }
      

      On another note
      I do get this message but it keeps on repeating itself even when i upgrade the index multiple times.

      Screenshot 2025-02-25 at 8.47.58 AM.png

      Upon trying to investigate

      Screenshot 2025-02-25 at 8.51.45 AM.png

      I found the action but see the value on z missing, which i think doesn't then pass on properly down the chain and update the index.

      I might be completely wrong here. Trying to analyze and help out.

      posted in Frequently Asked Questions
      A
      alihs
    • Able to delete from index

      Do you guys have a filter/hook available to remove items from the index?
      We have events that are part of the index but want them removed once they expire. We do this using a custom logic.

      Thanks

      posted in Frequently Asked Questions
      A
      alihs