Skip to main content
  Tuesday, November 10 2020
  5 Replies
  1.2K Visits
  Subscribe
Hi , I have read the documents.
Now I have 1000 folders, I want to make galleries for each folders.

I think I can
1. Import media files and folder structure via ftp.

2. use short code to make galleries. for example
[gallery wpmf_autoinsert="1" wpmf_folder_id="8" display="default" columns="3" size="medium" targetsize="large" link="file" wpmf_orderby="post__in" wpmf_order="ASC" gutterwidth="10" border_style="solid" img_border_radius="10" border_width="1" border_color="#dd3333" img_shadow="1px 1px 10px 2px #cecece" autoplay="1"]

My question is :
If I change short code
wpmf_folder_id="x"
for 1000 galleries.
each short code can auto show each galleries ? (for example id =1 ~1000)
(each short code import to the custom field.)

or I should add galleries one by one manually ?
A
3 years ago
Hi,

Thanks for contacting us here about this extension.

1. Import media files and folder structure via ftp.

2. use short code to make galleries. for example
[gallery wpmf_autoinsert="1" wpmf_folder_id="8" display="default" columns="3" size="medium" targetsize="large" link="file" wpmf_orderby="post__in" wpmf_order="ASC" gutterwidth="10" border_style="solid" img_border_radius="10" border_width="1" border_color="#dd3333" img_shadow="1px 1px 10px 2px #cecece" autoplay="1"]

My question is :
If I change short code
wpmf_folder_id="x"
for 1000 galleries.
each short code can auto show each galleries ? (for example id =1 ~1000)
(each short code import to the custom field.)

or I should add galleries one by one manually ?


Yes, the inserted gallery will display automatically if you fill the right folder id on each shortcode.

Hope it helps!
Cheers,
L
3 years ago
Thank you for reply.

more one question
Is it possible to use "folder name" instead of folder id in shortcode ?
for example:


wpmf_folder_id="x"
to
wpmf_folder_name="foldername"


Cheers,
A
3 years ago
Hi,

Thanks for getting back to me with more information.

Is it possible to use "folder name" instead of folder id in shortcode ?


Sorry, this is something not possible in our plugin currently.

Thanks a lot!
Cheers,
L
3 years ago
Hi,
Thank you for reply.

I think WP Media Folder will create table in database.
How can I find folder_id from mysql ?
Would you please show me the example ?


Thank U
A
3 years ago
Hi,

Thanks for getting back to me with more information.

How can I find folder_id from mysql ?
Would you please show me the example ?


You can enable "Display folder ID" option at main settings, please go here for more details:

https://www.joomunited.com/wordpress-documentation/wp-media-folder/200-wp-media-folder-configuration#toc-1-general-settings

And on the database, you can find it in the table: "#_terms".


Hope it helps!
Cheers,
  • Page :
  • 1
There are no replies made for this post yet.