L
L
ligisayan2016-09-09 12:12:08
Gallery
ligisayan, 2016-09-09 12:12:08

How to add multiple gallery shortcodes to a page?

There is a wordpress site with the Photo Gallery plugin installed , which provides for adding galleries using shortcodes like these (the plugin has a generate button, which displays the galleries in this form)

[Best_Wordpress_Gallery id="1" gal_title="forest_1"]

where forest_1 is the name of the gallery. Question: how to add multiple galleries to 1 page?
Like this - the galleries are interfering with each other in an incomprehensible mess:
[Best_Wordpress_Gallery id="1" gal_title="forest_1"]
[Best_Wordpress_Gallery id="1" gal_title="forest_2"]

if I assign id="1" to the first shortcode, and id="2" to the second, respectively, then I get a white page from the moment of the gallery code, if I remove the id from the shortcode altogether - the same thing.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eduard Valeev, 2016-09-09
@ligisayan

Most likely, id is the ID of the gallery. That is, I suppose they are somehow numbered, and are displayed on the page exactly by the gallery number. You need to know which gallery to display not by its title, but by its identifier in the system.
And the title is just a pretty title that will appear in front of the galleries. It can be anyone, even in Chinese.
Probably so.

D
Dmitry, 2016-09-09
@slo_nik

Good afternoon.
Maybe try this tip first?

The identifier must necessarily begin with a Latin character and can contain Latin letters (A–Z, a–z), numbers (0–9), hyphens (-), and underscores (_). The use of Russian letters in identifier names is not allowed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question