-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Search #237
Comments
I've edited this reports title so it reflects the only feature request that doesn't exist: Search |
@robiso https://github.com/StephanStanisic/simple-seo is outdated and once installed it gives internal server error. i already removed it and cleaned my database.js from this custom repo. can you help with that |
@DaddyMadu I've updated the Simple SEO plugin and forked it from the original author Stephan Stanisic. It's now included in the official list of plugins, so make sure to uninstall the one you have and remove it completely from your website and then installing it from the Settings -> Plugins. We try not to include too much functionality into WonderCMS to retain it's mission for small size, thus we use plugins and depend on maintainers/contributors, as the "core" should be as clean as possible without having to maintain too much different aspects. |
@robiso thank you very much for that swifty replay! |
You're welcome @DaddyMadu, but please note that everyone has an opinion on what are the "basic" things that should be included in WonderCMS. We try to be impartial and try to provide/support the community with plugins and let the users decide on what they would want included. Appreciate the support and thanks for your feedback. |
As for search ... I think it'd be a good idea to implement some hooks for this.
Something like "search_paint" or "paint_search" maybe, if you want to have other "paint_"-like hooks for other things in the future. I can certainly give the search thing a try, and try to implement it in my Bootstrap 5 theme for WonderCMS. |
Come to think of it, it probably needs to be the other way around. The theme should implement this, and then be able to call a public core function (?) that returns an array that is either empty, or matching content. The array could contain pairs, like ['thisistheurl' => 'matching text highlight'], or pairs like ['url' => 'page title'], or just a simple a list of URLs. But the page title would be nice to get for display. |
The latest version of the WonderCMS BS5 theme now includes a search function that will search WonderCMS content as well as the Simple Blog plugin content. |
@joho1968 this sounds pretty AMAZING. Will check it out if we can somehow include it either natively or via a plugin. Amazing effort :) |
Yeah, I think native search hooks would be a great idea. I do think it should be in core. I mean, if you look at my code in the BS5 theme, it's really not that many lines of code, nor is it very complicated 😊 I'll keep it in my theme until you make a decision on core/native functionality. |
I want to add some codes in head tag in order to improve seo I mean I have to add schema tags and all that, I also need Search Page in order to search whole website for the query, and at last I need Sitemap.xml as It is very important for indexing.
For head items I mean something like a title and description field is shown on every page so all i want is a custom head html field should also be shown but html in that work only on that page. and the other field should shown in settings in which the code we add should added on all pages automatically.
The text was updated successfully, but these errors were encountered: