Answer the question
In order to leave comments, you need to log in
How to do it on wordpress?
I just started getting into WP. What I need to do:
I need to make a gallery of price lists (they are made by card holders). Price lists are divided into categories ("Working with leather", "Working with fur", etc.) There is a group of links on the site (indicating categories), clicking on which should open a popup with a gallery of price lists belonging to this category . It is necessary to make sure that these price list pictures can be added from the admin panel, and then displayed. Can you suggest the best way to do this?
Answer the question
In order to leave comments, you need to log in
It is possible through custom posts or through the ACF (repeater) plugin.
Yes, even based on standard posts. Display in a loop, and depending on the category, give some unique name to a group of links and display a pop-up with some Fancy Box or Lightbox
There are many options.
Here are two:
a) If these price lists are used on more than one page or contain a decent amount of information besides the picture, make it a CPT and taxonomy the categories. The gallery of price lists itself - a custom field for the post. Thus, the post will contain one gallery of price lists.
Google it if it's not clear.
b) If the condition from a) is false, then it can be a little simpler: through custom fields to the page, let's say in the ACF plugin: a repeater type field for categories, inside the gallery field. If there are several pages with a block, it is better not to do this, as the values of custom fields are tied to the post/page.
How to display - a lot of examples on the Internet, depending on the method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question