InstallationBack to top
You can install the plugin one of two ways:
- FTP: Extract the mnd-press-library.zip file and upload the extracted folder to the /wp-content/plugins/ folder of your WordPress installation.
- WordPress dashboard: In your admin panel, go to Plugins → Add New. Then click the Upload Plugin button at the top of the page. Choose the mnd-press-library.zip file from your computer and click Install Now.
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):
- In your theme folder, copy the page.php file. Rename it single-article.php and open it to edit.
- In the plugin's folder /mnd-press-library/templates/ open to edit the file single-article.php.
- Replace the tag
<?php the_content(); ?>
with the code inside of the<div class="entry-content">
divider. - Save the page when finished.
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:
- In your theme folder, copy the page.php file. Rename it archive-article.php and open it to edit.
- In the plugin's folder /mnd-press-library/templates/ open to edit the file archive-article.php.
- Replace the tag
<?php the_content(); ?>
with the full<div class="mndpress-article-list-row">
divider. - Move
<?php while ( have_posts() ) : the_post(); ?>
right above<div class="mndpress-article-list-row">
. - Move
<?php endwhile; ?>
right below</div><!-- .mndpress-article-list-row -->
. - Replace the title tag
<?php the_title(); ?>
with the archive title tag<?php the_archive_title(); ?>
. - Save the page when finished.
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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article