Okay
  Public Ticket #223026
Custom Slug change doesn't work when "searching" the site
Closed

Comments

  • Sara started the conversation

    Hello!

    I recently changed the portfolio in the custom slug option (thanks for that!!) to products. 

    I updated my permalinks and all works great!! However, when I go to use SEARCH - it still shows up as a "portfolio" item (see screen shot.) Is this something I need to change in the PHP file?

    Thank you for the help!!

  •  8,470
    Tahir replied

    Hey Sara!

    You will have to change that in "salient\nectar\assets\functions\ajax-search\wp-search-suggest.php" on line 66 or use the "Codestyling Localization" plugin to edit the text so the change dont get lost if you update in the future.

    Cheers


    ThemeNectar Support Team 

  • Sara replied

    Hello!

    Unfortunately that didn't work (the wp-search-suggest), it now says "undefined"

    Any suggestions?

  •  8,470
    Tahir replied

    Hey Sara1

    Did you change the name in here : http://prntscr.com/3pdutp

    Thanks


    ThemeNectar Support Team 

  • Sara replied

    Ahhh that did the trick! For some reason I changed both that line and the line above. But just changing the one did it!

    You rock!