find all ocurences of a word in WordPress theme

1 replies
If I use the search function in Cpanel to search a directory it only seems to return words if they are part of a filename, whereas I am trying to search the contents of a directory for words I may want to change in the code e.g. 'color'
I know I could just download the whole directory and search it with something like notetab lite but I'm wondering is there a way to use a mySLQ query to search a WordPress directory so I don't have to download it?
#find #ocurences #theme #word #wordpress
  • Profile picture of the author phpguy
    Grep -ir 'word' asterisk

    Be in directory you want to search
    {{ DiscussionBoard.errors[4400023].message }}

Trending Topics