- This topic has 5 replies, 2 voices, and was last updated 3 years, 2 months ago by David.
August 1, 2018 at 3:43 am #637616Stefan
I used GP in the free Version for a while and just bought the Premium. It’s a really great theme.
Usually I try to work with hooks and templates to customize my websites. But now I build a client website with GP and I like to add some Content Boxes similar to those on the image below. The boxes itself are not the problem but I want to make it easy editable for the customer. So that he can change the image or the text and so on.
I don’t want to use any plugin so I was wondering what is the best way achieving that. Custom fields or Widgets or anything else?
StefanGeneratePress 2.1.3GP Premium 1.6.2August 1, 2018 at 5:23 am #637668DavidStaffCustomer Support
i know you don’t want to use a plugin but personally i would use WP Show Posts plugin.
It does exactly that for posts and pages. And its one of Tom’s plugins 🙂August 1, 2018 at 5:48 am #637685Stefan
thanks for your reply.
As far as I understand this plugin pulls in post data but I just need simple text and image editing at the moment.
And I’m very interested in doing it with plain code. What are my options with wordpress beside PlugIns to do this kind of things?
2. Custom fields
3. Custom Widgets
Anything else?August 1, 2018 at 6:21 am #637709DavidStaffCustomer Support
WPSP can pull in from Pages and Posts. So the alternatives:
simplest method without using a CPT is to add WP Custom Fields for each of your elements and then output them via a hook or a shortcode.August 1, 2018 at 6:42 am #637723Stefan
it’s a page for a company so they just need to put in some industry specific information. CPT would be a little too much I think
Ok I see. CF’s are the way to go, thanks.
Just one more question. I’ve read that CF’s were originally designed to express simple things like a mood or so and now it gets kind of misused. Are there any problems with this approach regarding websitespeed or something else?August 1, 2018 at 7:20 am #637754DavidStaffCustomer Support
I think it makes sense for the user.
Originally yes it was just additional meta-data. But it has been extended by plenty of developers like the Meta Box plugin. So can’t see there being any performance issues.
- You must be logged in to reply to this topic.