Okay
  Public Ticket #4035940
Quick search date
Open

Comments

  • emilcabaj started the conversation

    Is it possible to change it so that the publication dates of posts are shown in the quick search instead of the last updated dates?

    Attached files:  Zrzut ekranu 2025-06-01 133539.png

  •  302
    Theme Ruby replied

    Hi,

    Thank you for your message.

    At the moment, this version does not support an option to customize the meta info displayed in the live search results. However, we will forward this request to our development team to assess its feasibility for a future update.

    If you would like to make this change immediately, it would require editing the theme code directly.

    Feel free to contact us if you have any questions.

    Best regards,

  • emilcabaj replied

    If you would like to make this change immediately, it would require editing the theme code directly.

    Could you provide me a code? 

  •  302
    Theme Ruby replied

    Hi,

    If you would like to modify the code, please follow the steps below:

    1. Navigate to the theme directory:
      wp-content > themes > foxiz > templates > ajax.php

    2. In the ajax.php file, locate the following code snippet:

    foxiz_list_small_2( [
        'featured_position' => 'left',
        'entry_meta'        => [ 'update', 'index' ],
        'title_index'       => '1',
        'title_tag'         => 'div',
        'title_classes'     => 'h5',
        'middle_mode'       => '1',
        'edit_link'         => false,
    ] );
    
    1. Then, update the 'entry_meta' line as shown below:

    'entry_meta' => [ 'date', 'index' ],
    

    This change will replace the "last updated date" with the original "publish date" in the display metadata.

    Please let me know if you need any assistance.

    Best regards,