I am looking for a solution that would allow there to be multiple excerpt boxes per post in a custom post type, and for there to be a way to have those excerpts have categories. I know I can add meta boxes to give extra text areas and display that text, but I'm not quite sure that's what I'm looking for.
To clarify, I have a custom post type for testimonials. That post type has categories which are displayed on pages based on which category is checked. Some of the testimonials will have more than one quote in them that I want to use, so rather than have multiple posts for the the same full testimonial I want to have several excerpt boxes on the same post. I hope this makes sense, its a bit difficult to describe I guess. Thanks.
I think yes, custom meta boxes is what you should be looking for. It can be done programmatically, but using a good plugin will help solve this issue (and many others) quite fast.
Using Custom Content Type Manager it would go like this:
Setting the Custom Field
click to enlarge
Note the Repeatable option.
In the same screen, there's also this:
I created the "Testimonials" CPT with the very plugin, but all registered CPTs (by theme or plugins) should already appear here.
Resulting Meta Box in the CPT Page
Alternative
Advanced Custom Fields is another great plugin, but the repeatable option is a premium add-on.
Related
I want to add a comment box (like the one from woocommerce from example - the one on the right from an order view).
The idea is that only admins can comment and see these and I also was thinking of adding the last comment of a post as a column in my custom post page list(where all my custom posts are being shown).
Can I get some sort of advice/alternative on what should I start with/check? Perhaps an already made plugin that enables admin-only comments for custom posts.
Thank you!
Elementor is great to link single ACF-field content.
But I need to combine some of them in the ACF Layout "group", so that it's easier for the customer to overview and edit the content.
But Elementor does not support ACF fields inside an ACF group – they simply don't show up in the Key-dropdown.
Is there a way to get that going?
According to document Elementor Integration With ACF on Elementor official website, complex custom field types such as group, repeater haven't been supported yet.
But there is a way to get value from ACF group field, see here(wordpress support thread). While I haven't tested it.
I know you may want to sort those fileds by categories or other taxonomies to get a better logic and cleaner interface. But this would also limit you to certain widget in 3rd party plugins. Built-in dynamic content is really handy, I don't think it's worthy to give it up by using ACF group field.
So I suggest you to use regular field types along with conditional logic(each of), it's a better choice at this moment though the interface would be messy.
It's a vague question and I've searched throughout the Google and come up short. I want to create a type of content called an Employee. He should have 2 pictures attached, some text, a Facebook profile (optional), etc. Can I create a content type to handle this? I've tried the Custom Post Type UI Plugin, but that still gives me a standard type of Post, just with a new category, essentially. That's not what I want. I want the Add / Edit post screen to have these options laid out. I can handle the static content just fine with Custom Fields. The hard part is the image uploads.
Any thoughts?
Wow, very easy to do with a plugin called Advanced Custom Fields
This is probably an easy one, but I've been struggling to find the answer to this. I would like to create a standard format Wordpress page for real estate listings. Where I'm having trouble is with creating fields that can easily be edited from within the page for certain key features of each property listing. For instance, a typical page would have a title, slideshow of photos, a paragraph of text describing the property, but then a bulleted list with standard items such as: MLS#, Sq. Ft., Beds, Baths, Garage, Neighborhood, Acreage, Type, Price, etc. It would be ideal if these items were always displayed and you could just type in the associated information with each into a field box.
Does anyone have a suggestion or recommendation on a plugin for something like this? Thanks in advance!
I think what you need is an advanced custom field editor. There's an article from smashing magazine that teaches you how to create the layout. You can find it at Smashing Magazine, and also there's a plugin at Advanced Custom Fields which can help too.
My personal favorite Custom Fields plugin is Types.
I am implementing a clients website in wordpress that has both news and blog posts. The homepage is satic page but the nav bar has the links to two different types of posts - NEWS AND BLOGS. Though both are exactly same however they are to be made accessible entirely separate from each other through the navigation bar.
Now I would like to know what is the best possible way to differentiate between the two in the admin panel:
I mean i can create custom post types for either one or for both the types or on the other hand create no custom post type but just a taxonomy to divide the two into different parts as news posts and blog posts. Also I think I can use the custom field option to differentiate between the two...
Kindly keep in mind that the news and blog posts will be made by the client himself...
Going with this train of thought
Kindly keep in mind that the news and blog posts will be made by the client himself
I think that the best option would be to create a custom post type for "news" and leave the standard blog posts unchanged.
As you can see in the official documentation. Once you create a custom post type, a new top-level option will be created in the admin panel.
Which would allow for the following use scenarios:
Posts > Add New
Posts > All Posts
News > Add New
News > All News
Keeping the taxonomies out of this is also a good idea. Because that would allow you to keep them meaningful and share them among different post types.
e.g: clicking on "open source" category would show a list of "posts" and "news" related to that particular topic.
This yoast article covers a few more advanced scenarios and how to manage them.
Using custom-fields would probably confuse the end user. Especially because there will be times where they forget to add the field altogether, and wonder why the post is not showing on the page at all.
hope this helps
J