1. Home
  2. Docs
  3. Plugin Features
  4. Member Claimed Listings
  5. Media File Uploads

Media File Uploads

Using the Member Updater plugin, your members can add media files to their single page Business Directory listing. This can be a great way to create more engaging Directory listings, since your members obviously know their Business and will add the best information to promote it. PLUS, detailed Business Directory listings are great for the overall SEO of your site.

It is important to note however that large media files can slow down the performance of your site. So we’ve included some options to control the size of media files uploaded to your site by your members that you can implement based on the needs of your organization.

Upload Business logo and featured image

The Business Editor form includes the option to upload a logo or featured image to the member’s Business listing. Note that you can set a recommended size for these from the CD settings >> Member Updater page, but this does not actually control the size of the file that is uploaded.

Member-Updated-Business-Directory-listing,-WordPress-plugin-i

Upload additional media files to Business Directory listing

By clicking on the ‘Add Media’ button in the Business Editor form, your members can add additional media files to their Business Directory listing beyond a logo and featured image.

Upload-media-to-Business-Directory-listing
  • Add media – Members can add an image to the body of their listing.
  • Create gallery – Gives members the option to display a group of images files as a gallery.
  • Create audio playlist – Members can upload one or more audio files directly to your site and display them in the body of their listing.
  • Create video playlist – Members can upload one or more video files directly to your site and display them in their listing.
  • Featured image – Add a featured image to the member’s listing.*
  • Insert from URL – Members can link to an external file such as a PDF or JPG, this is useful for coupon or special offer downloads.

Limit file upload size

As you can see, the Member Updater plugin provides several options for media uploads, however, your organization may not need or want to actually use all of them.

Any of these file types, but especially audio or video files, can be very large and when uploaded directly to a WordPress website, they can not only slow down site performance, but can cause storage issues as well.

Here are two of the easiest ways to limit the file upload size by your members and prevent slow down of your site:

  • Hide upload option – The easiest way to prevent your members from using the upload audio or video file option is to simply to hide these options using CSS. Keep scrolling for details…
  • Limit media upload size for non-admin users by updating the functions.php file of your child theme.

NOTE: Your members can still embed audio or video files into the body of their listing, even if the media upload options are hidden. But embedded files are much less likely to slow down your site.

Managing media upload options

Hide image gallery option:

Unfortunately, the WordPress image gallery option has not transitioned to Gutenberg blocks yet, so display for the image gallery can be a bit clunky. It is possible to update the gallery display with CSS, but if you are not quite ready for that, you can also hide the gallery option with CSS.

Hide gallery feature

If you decide not to offer the image gallery option to your members, you can hide it by adding this bit of CSS to your customizer:

menu-item-gallery { display: none; }

#menu-item-gallery { display: none; }

Upload audio file:

Audio files can increase user engagement by adding an interactive aspect to your site. The more time your visitors spend on your site, the more likely they are to mention it to a friend or colleague.

However, it’s usually better to embed audio files rather than upload them directly to your site.

Hide audio feature

If you decide not to offer the audio upload option to your members, you can hide it by adding this bit of CSS to your customizer:

#menu-item-playlist { display: none; }

Upload video file:

Video files can also increase user engagement by adding an interactive aspect to your site. The more time your visitors spend on your site, the more likely they are to mention it to a friend or colleague.

However, it’s usually better to embed video files rather than upload them directly to your site.

Hide video feature

If you decide not to offer the video upload option to your members, you can hide it by adding this bit of CSS to your customizer:

#menu-item-video-playlist { display: none; }

*Upload Featured Image:

We are currently working out some issues with this option. The good news is that your members can already add a featured image to their Business Directory listing directly from the Business Editor form, so they really don’t need this option in the media upload area.

Hide featured image option:

To hide the featured image option from the media upload area, add this bit of CSS to your customizer:

#menu-item-featured-image { display: none; }

Insert media from URL:

This option gives your members a quick & easy way to link to an external file, for example a downloadable PDF coupon or special discount offer. These files do not get uploaded to your site, but are simply hyperlinked. Fellow members and other site visitors can click on the link to download the coupon and the Business owner can update or remove as needed.

Hide URL option

If you do not want to give your members this option, simply add this bit of CSS to your customizer to hide the option:

#menu-item-embed { display: none; }

Embedding vs. uploading audio & video file

When large audio or video files are uploaded directly to your WordPress website, they can seriously slow down the performance of your site. This can make it harder for your site to show up in search results because Google does factor speed into SEO.

The good news is that there is no need to upload large video or audio files directly to your site, when they can easily be embedded instead.

Let your members know that they can add a video or audio file to their Directory listing by simply pasting the URL to the file directly into the Business Editor page. For example, a video hosted on YouTube, can be embedded into a Directory listing by pasting in a YouTube link:

‘ https://www.youtube.com/watch?v=QyAas7Q9n0o ‘

…give it a try!

Follow this link for step-by-step instructions on how to limit media upload size for non-admin users by updating the functions.php file of your child theme.

Was this article helpful to you? Yes No