Files such as committee meeting minutes are stored using the WP-Filebase plugin. This allows files to be stored in folders in much the same way files that you would with File Explorer on Windows; only filebase calls directories Categories.
We don’t use the filebase storage area for pictures, for that we use the Gallery instead which is described in the article Picture and Slideshow guidelines.
You have to be logged into the web site in order to add files using WP-Filebase.
Browsing the File Store
To browse the files while you are logged in hover over the WP-Filebase menu item (bottom left of an Dashboard entries on the left of your screen) and select the File Browser option: |
|
And you can view files in a similar manner to the File Explorer in Windows. As an example the Committee meeting minutes are stored in the Committee Meetings sub-folder in the Parish Hall folder. Inside the Committee Meetings folder there are folders for each year and both the agenda and minutes are stored in the same year folder. |
|
Adding Files to the Store
Hover over the WP-Filebase entry and select Files from the popup window (shown above). If you have already used filebase the files entry will be listed below the WP-Filebase entry. | ![]() |
At the top of the Files page there is an add new button. Click on this button and the dialog to add a file is displayed. | ![]() |
Use the Select Files button to choose the file you want to upload, or drag and drop your file from File Explorer to the dashed box.
Important: make sure you select the category (folder) for your file (here we have highlighted 2012 from the Parish Hall -> Committee Meetings.
Click on Add File and the file will be added to the filebase store.
Alternatively to can use the File Browser to add directly to the category as explained next. If you want to go and edit a page to add a link to a file you have just uploaded then skip the next section and start reading at Adding a File Link to a Page or Post.
Adding Files to the Store using the Browser
To add files to the store just open the target folder and click on the Add File link attached to the folder with a dotted line. In this example the folder for Parish Hall -> Committee Meetings -> 1991 is open with the Add File link immediately below the folder. |
|
Use the resultant file dialog to select on or more files to add to the folder. You will see an entry for each file to upload and a progress indicator showing how much has been uploaded. Make sure you wait until all the files have uploaded before continuing. An alternative approach is to use a drag and drop technique. Locate the file using your File Explorer and drag the file onto the browser window moving the cursor over the target folder. You will see the selected folder highlighted in yellow. When you release the mouse button and the files will be uploaded. Make sure you wait until all the files have uploaded before continuing. |
|
Adding a File Link to a Page or Post
When you are editing a page or post you can use the Filebase icon (below) on the editor toolbar to add a file to your page:
You can add files to the page in many ways but the common approaches are:
- an embedded PDF file (single file) such as committee meeting minutes or agendas
- a single file displayed as a download link
- a folder (category) shown as a table of files
- a folder (category) shown in a tree browser
Embedded PDF Files
A similar approach is used for all of these techniques but for the first example we’ll use an embedded PDF such as committee meeting minutes.
Start a New Page
Create a new page as described on the Writing an Article page. briedlfy click on + New on the black dashboard strip at the top of the screen and select Page (please read the Writing an Article page to make sure you create the page correctly).
Edit an Existing Page
As an example we’ll update the Next Committee Meeting page to replace the existing minutes. Open this page and click on the Edit Page menu item on the black dashboard strip at the top of the screen. Find the line the includes the current meeting minutes, it will look like:
[wpfilebase tag=file id=247 tpl=embed-pdf /]
Delete the text between the square brackets and thesquare brackets so you have an empty line.
Inserting the embedded PDF file is the same for both a new page and editing an existing page.
Place the text edit cursor at the point where you want to embed the PDF file. Click on the WP-Filebase icon on the editor toolbar (see above) and in the popup window you will choose how you want to display the file. We’ll be inserting a Single File. Note that although this insert file window window allows you to upload files but we do not recommend you do this as you cannot chose the target category and will have to manually edit the file entry later to move it to the correct category. It is simpler to upload your file before you start. |
|
When you click on the Single File link you will be given a list of templates – select the embed-pdf template near the bottom. |
|
Next, scroll the window until you see the Select File browser below the templates, find the PDF file you want to embed and click on the link to the file. It will be added to your page using the embedded PDF viewer. It will be shown as a shortcode like this: [wpfilebase tag=file id=247 tpl=embed-pdf /] If you click on the Preview button (top right in the Publish action box) you will be able to see your page with the embedded file. |
|
Make any other edits to you page and when you are satisfied it is correct click on the Publish button for a new page, or Update button for an existing page: both buttons are in the Publish action box top right. This will make your changes permanent and visible to everybody – only you will be able to see the changes until you click on Publish/Update.
If you go wrong and want to abandon your changes just click in the View Page on the black dashboard menu bar (top of screen) and click on the Leave Page in the button when you are warned you have unsaved edits.
Link to a Single File
If you want to have a link to the file that people can click on to view or download simply choose the File URL option instead of single file, enter the text you want to show for the link and use the file browser to find your file. Again when you click on the file link it will be embedded in your document as a shortcode which looks like the following in the editor:
[wpfilebase tag=fileurl id=167 linktext='Autumn 2012 Newsletter' /]
You can edit the link text in this shortcode if you want – just make sure you keep the quotes around the text.
An alternative approach is to select Single File and the link-new template (just below the embed-pdf template) which will use a standard link text defined when the file was uploaded – this way of creating the link will have the link open in a new tab when clicked.
Files in a Folder
If you want to display a list of files in a folder:
- select the File List display Option
- use the file browser to select your folder
Scroll the window to see the options and select the Data-table template. If you have less than 10 files you can clear the Display Page Navigation (which shows the lost 10 files at a time). You can change the Sort Order using the list at the bottom of the screen. Click on Insert and the shortcode link will be added to your page. |
![]() |
Browse Tree
If you have nested folder you can select the File Tree View option to display a folder and use the drop down list to select the folder you want to display. All sub folders will be included in the tree.