I have an Ajax search lite search bar that I want users to use to search for posts (only a custom post called “Palabras”). I set it up to use keyword suggestions but if I write something wrong it suggests similar words regardless if they are existent posts in my website.
I want to limit keyword suggestions to suggest only related posts. Is that possible?
For example, if my post is “Alejandro” and I write “Alejandri”, to say “did you mean Alejandro?”
Thank you!!
]]>I plan to build a recipe website. Lets say I want to have different post templates for different types of cooking like fried stuff, baked, grilled etc. I want a different heading structure for each type of post. So I am thinking of creating different Post templates and when adding a new post, select the particular template and add the content. However, doing this for a lot of posts will be tedious. Is there a way to select the template while adding a new post (so appropriate template is selected)?
Thanks,
Prad
]]>I successfully created a custom post type ‘pozice’ which is basically Job Positions.
I have all the positions on this page and the custom Job Positions menu on the top works perfectly fine. However when you choose one position there is a sidebar with category list and no categories for this particular post type work. Strangely the categories work for the original ‘post’ types like HR Tipy, Novitim slu?by etc.
I already changed and saved permalinks, checked the parent/child category structure, there are also no conflicting slugs.
What can be wrong here?
Please help!
David
]]>Is there a way to access the current post ID on the loop? If I do get_the_ID() or global $post I get the current page ID
I’m trying to display some custom HTML based on the current post so I would need to have access to the post ID and not the page
Thanks
]]>I realise that my question is somewhat ambigious or open to interpretation. I guess i’m just looking on some guidance on getting started. I have a local wordpress environment set up with wp-env.
What would my best approach be? Create my fields with ACF and then create a custom query loop block specific to my new post type or something else?
Any help appreciated
]]>