-
AuthorPosts
-
September 19, 2013 at 11:53 am #270
When you do a search and there are no results you get a page with the following text on saying,
No results found on this site.
No Results found. Try browsing the categories. Maybe you will find some hidden gems!
Image Categories
No categoriesCould someone point me in the direction of where this text is contained as I’d like to amend it.
Thanks
September 19, 2013 at 2:33 pm #2980Sorry that I can’t answer your question, but it would be great to have a list of where to find most/all of the customer visible text and some recommendations on the right way to make our edits.
So I’d like it if I could make a “grandchild” theme – child of a child – for any site specific edits, so that I could take updates without having to reapply any edits. I don’t know enough about WordPress to know if this is possible. I use Edit CSS (Jetpack) to make changes to the style sheet but I assume the text is in a PHP file somewhere.
September 19, 2013 at 3:20 pm #2981I have just been playing with this, would you like to try and bring it up on my site and if it works I can say where it was
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtSeptember 19, 2013 at 3:25 pm #2982I did try it on your site – but I see the standard text and a list of image categories.
Should I have seen something different?
September 19, 2013 at 3:56 pm #2983For example if I type ‘Motorbike’ in the search box on my main unfinished site it shows me the following page,
Results for “Motorbike”
No results found on this site.No Results found. Try browsing the categories. Maybe you will find some hidden gems!
Image Categories
.Yellow (1)
Abstract | Textures (1)
All Images (1)http://minkymoomedia.com/?s=motorbike&post_type=image
I’ve actually installed a blank copy of symbio to a different sub domain which Im testing lots of bits on so the main one is slightly different. but on that link above I want to alter the text it displays in the result.
THanks
September 19, 2013 at 4:21 pm #2984I tried editing content-noresults.php but the changes are not showing up so perhaps I have done it wrong or it is somewhere else
http://kerioakimaging.com - trying to reopen
http://nail-art-at.kerioak.com - Art and Nail ArtSeptember 19, 2013 at 4:24 pm #2985thats what I tried and didnt get any changes, and cant find that text in any other files???
September 19, 2013 at 5:54 pm #2986Check it on my site:
http://www.digitalbristles.com/?s=supercalifragilistic&post_type=image
The file to edit in addition is interpreter.php which is in the network manager folder
The issue is that there are text strings scattered through the code which isn’t ideal for all sorts of reasons. I’m not PHP literate (in another life I wrote code but in C/C++) but is there some way that projects typically extract all user-visible strings and put them together?
Is there some reason there couldn’t be one file with variables for all the user-visible strings? It would make localization as well as user edits a ton easier…
September 19, 2013 at 6:17 pm #2987The preliminary text for that page is at /wp-content/themes/symbiostock/inc/classes/network-manager/interpreter.php from line 171 (in 2.6.5) and we’ve done some edits there.
September 19, 2013 at 7:45 pm #2988@minkymoomedia wrote:
For example if I type ‘Motorbike’ in the search box on my main unfinished site it shows me the following page,
Results for “Motorbike”
No results found on this site.No Results found. Try browsing the categories. Maybe you will find some hidden gems!
Image Categories
.Yellow (1)
Abstract | Textures (1)
All Images (1)http://minkymoomedia.com/?s=motorbike&post_type=image
I’ve actually installed a blank copy of symbio to a different sub domain which Im testing lots of bits on so the main one is slightly different. but on that link above I want to alter the text it displays in the result.
THanks
right, just fyi, that’s the way it’s ‘supposed ‘to work — right now, you only have 1 image published and it doesn’t show empty categories you may have set up. more categories will show up when you add more images. so you may not need to change the wording….
September 19, 2013 at 7:51 pm #2989Thank you for all the info everyone, much appreciated.
September 21, 2013 at 9:14 am #2990Just a quick tip:
I use a free code editing software called Sublime Text
There you can search in entire directories at once and you will find what you need in no time (just do a search in the Symbiostock theme directory).
You can also right click on any item directly on the web page, inspect element/show details, find the name of a class, a div or whatever, then do a directory search (ctrl + shift + F in sublime edit) for that class and quickly edit it if you have to.
For instance you might want to change an h2 to a h1 and vice versa
-
AuthorPosts
You must be logged in to reply to this topic.