Forums › Forums › Search & Filter Pro › Create New Form not Saving in WP-Admin
- This topic has 26 replies, 3 voices, and was last updated 10 years, 5 months ago by Anonymous.
-
Ross Moderator(Private) June 10, 2014 at 2:55 pm #1427
Hey Richard
I don’t think this an issue created by any new updates as there is no modifications to the code relating to the widgets…
I just did a test here on a few different setups and all widget areas worked fine…
Dare I ask if you ensured that you refreshed your widgets page after saving your form (and was therefore seeing an outdated dropdown)?? 😉If I am completely wrong on the above, can you let me know if using a shortcode in at textwidget area works for you?
Thanks
Ross Moderator(Private) June 10, 2014 at 2:59 pm #1428OK will have to look into this…
Sorry to ask, but can you try disabling all other plugins and testing?
I’ve heard this issue reported once before, and “publishing” a search form was fine, but when “updating” the post lost its post type…
Ross Moderator(Private) June 10, 2014 at 3:10 pm #1430Hey Richard
Glad thats working 🙂
I think there is a filter for the post type switcher plugin where you can include/exclude post types – so I would try maybe excluding the search from from the filter (it uses a custom post type –
search-filter-widget
)…Re the feature request, please add it here with the others: https://support.searchandfilter.com/forums/forum/search-filter-pro/feature-requests/
One question though, why not just use more meaningful names? For example you can choose the name of a category or taxonomy, so what is displayed is defined by you, the admin, and for post types, why not change the name to a more suitable one when registering the post type?
(I’m sure there are reasons just curious)
Anonymous(Private) June 10, 2014 at 3:56 pm #1433Thanks,
After using it a little more – its great btw.
Its a default custom post type from an advanced theme. The whole theme is built around two custom ones that im bending to my purposes. Not ideal – just the most functional theme ive come across.
How do i add a search form into a post or page? The search widget is just getting too long – too many custom fields to add. Do we have a sample search template? The one search.php I have is just too spread out.
Have you come across one thats really good that we could use?
Ross Moderator(Private) June 10, 2014 at 4:04 pm #1434Hi Richard, you can use shortcodes (http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/#docs-search-form-as-a-shortcode)
RE the search template, there is no necessarily good templates to just give you, because remember, the template is part of your theme, and must work with the HTML & CSS of your theme – therefore I cannot provide a search template that will work for everyone..
The best thing to do is to go through your theme folder and see what templates are there, then you can try changing the filename for the template in S&F settings page – for example you could try the following:
category.php
,archive.php
,index.php
, but there will be many more in your theme folder. If you have any more questions please start a new thread. -
AuthorPosts