MND Press Library Documentation

InstallationBack to top

You can install the plugin one of two ways:

After installing the plugin, you must activate it. In your admin panel, go to Plugins and find MND Press Library. Click the Activate link under the plugin's name.

Tip: To read more about installing plugins correctly: WordPress Managing Plugins.


License KeyBack to top

After you activate the plugin, you'll be redirected to the license key page. It's strongly recommend that you add your license key in order to activate dashboard plugin updates.

Your license key has been send to you in the Purchase Receipt email or, if you are a registered user at MonicaNDesign, you can also find it in your account.


ArticlesBack to top

The articles work the same way posts do, including also categories and tags.

Add your article/interview in the main editor. Then add the info in the custom metabox. You can also add a image, it will be displayed in the article content.

Tip: To read more about using the WordPress posts: WordPress Posts - Make some content .


ShortcodesBack to top

A shortcode is provided to display the article list: simply add [article_list] in any page/post where you want to show the list.

The following parameters can be used with the shortcode: category and tag - only one. Ex: [article_list category="year-2015"], [article_list tag="variety"]. To call the wanted category/tag, use the category/tag' slug.


TemplatesBack to top

To ensure the plugin can displays your content in optimal contitions, verify that your site's theme uses the wp_head(), body_class(), post_class(), & the_content() template tags (standard in any professional theme).

Article Page

By default, the plugin injects your content directly in the page, above any content added in the main editor. To do this, it searches your template folder for the single-article.php file. If it isn't available, the plugin uses the page.php template. If page.php also doesn't exists, it uses single-article.php in /mnd-press-library/templates/.

If you want to customize the output in the article page (ex: modify the fields order):

Article List

To display the article list and category/tags archives, the plugin uses the archive-article.php file in your theme first, or in /mnd-press-library/templates/ second. The articles are displayed automatically when published and are sorted by the published date.

If the default template doesn't match your theme's markup, or you want to customize it:

Article Navigation

To display a previous/next type of navigation between articles, simply use the following tag in the single-article.php or page.php template:

<?php mndpress_article_navigation(); ?>

Tip: To read more about using the WordPress templates files and tags: WordPress Templates.


ImportantBack to top

Every time you create a new article category or tag, you need to flush the permalinks: go to Settings → Permalinks and click the button Save Changes. You don't need to make any modification.

If you use categories for a yearly organization, don't use 2015, instead use something like Year 2015.