Support Forum
I used your reboot-child theme and followed these instructions:
so you created a child right? did you select that child as the theme you want to use?
in your theme, the templates directory, can you post the contents of spHead.php?
and then in your theme, the templates/desktop you copied over the spHeadDesktop.php file from the base reboot theme and edited that file to set up the arguments the way you want?
Visit Cruise Talk Central and Mr Papa's World
so you created a child right? did you select that child as the theme you want to use?
Yes, I followed the instructions that are in the codex to create a child by downloading the reboot-child theme. I also followed the instructions in changing the name of the theme and it is selected.
in your theme, the templates directory, can you post the contents of spHead.php?
I don't understand your question. The reboot-child that I added to my themes had a spHead.php file in it already. I am not sure what content I would post in the spHead.php file when it states that I should use the spHeadDesktop.php file.
and then in your theme, the templates/desktop you copied over the spHeadDesktop.php file from the base reboot theme and edited that file to set up the arguments the way you want?
I have copied over this file, however I can't see it in the Theme Editor under Template Files. Do I have to edit it in my hosts File Manager. Why can't I see this file under the Theme Editor in the Forum options on the backend of my WP site?
because unfortunately, its standard wp theme editor which does not go many levels down...
so yes, edit via ftp or via control panel file manager...
Visit Cruise Talk Central and Mr Papa's World
but I will open a ticket to see if we can force it to go more levels deep... but sorry, wont help you right now...
Visit Cruise Talk Central and Mr Papa's World
That is ok, thank you.
Ok, so now that I have a child theme, I can go into the spHeadDesktop.php file in my c-panel file manager and edit it.
PHP is like latin to me so I am not sure what I need to change to adjust my search options. What I would like is to have the default set to search posts and topic titles. I am unsure what to change in this file for that to happen.
Can you direct me?
know the feeling since having to look at perl and ruby today... 😉
I gave it to you back in post 5... lol, seems like long ago doesn't it? change
'searchIncludeDef' => 1, # 1 = content, 2 = titles, 3 = content and title (warning #3 is a resource hog)
to
'searchIncludeDef' => 3, # 1 = content, 2 = titles, 3 = content and title (warning #3 is a resource hog)
its just one character change... 1 to 3...
Visit Cruise Talk Central and Mr Papa's World
You'd need to do exactly as Steve described in post #5
At the top of spHeadDesktop.php, you should have a long list of items under
# == Search FORM - OBJECT DEFINITION ========
At the very bottom of the list, you should see
'searchIncludeDef' => 1,
1 defaults to 'Posts only', 2 defaults to 'Topic titles only', and 3 defaults to 'Posts and topic titles'. So change it to:
'searchIncludeDef' => 3,
Should do the job!
Sure, just find:
sp_QuickLinksForum('tagClass=spControl spRight', __sp('Select Forum')); sp_QuickLinksTopic('tagClass=spControl spRight', __sp('New / Updated Topics'));
And comment them out with a hash at the start, i.e:
#sp_QuickLinksForum('tagClass=spControl spRight', __sp('Select Forum')); #sp_QuickLinksTopic('tagClass=spControl spRight', __sp('New / Updated Topics'));
Commenting out is recommended over removing completely, as it's a lot easier to put them back in if you need to.