Description
Missing content offers multiple different content choices, if you would like to request something else please post it to the support forums.
Content Choices
- Loreum Ipsum from http://loripsum.net/
- Bacon Ipsum from http://baconipsum.com/api/
- Hipster Ipsum from http://hipsterjesus.com/
- Blokk Font http://blokkfont.com/
- Image from http://placehold.it
How do I use it?
Either with the shortcode [missing-content]
in the post editor or with the function mcn_missing_content( $atts, $echo = true )
in your template.
Options
- content_type=βlipsumβ options: lipsum|hipster|bacon|blokk|image
- paragraph_count=β3″ Ignored if random=βtrueβ
- min_paragraph_count=β1″ Requires random=βtrueβ
- max_paragraph_count=β5″ Requires random=βtrueβ
- width=β150″ Ignored if random=βtrueβ
- min_width=β150″ Requires random=βtrueβ and content_type=βimageβ
- max_width=β1200″ Requires random=βtrueβ and content_type=βimageβ
- height=β150″ Ignored if random=βtrueβ
- min_height=β150″ Requires random=βtrueβ and content_type=βimageβ
- max_height=β1200″ Requires random=βtrueβ and content_type=βimageβ
- random=βfalseβ options: (shortcode: βtrueβ|βfalseβ) (function:
true
|false
) - cache_duration=β10800″ 3 hours (3 * 60 * 60) options: {time in seconds}|always|never
Examples
[missing-content]
3 paragraphs from http://loripsum.net/ updated every 3 hours.[missing-content cache_duration="always"]
Never updates the content.[missing-content cache_duration="never"]
3 paragraphs from http://loripsum.net/ updated every page refresh. NOTE: do not use this if using a tool like LiveReload.[missing-content paragraph_count="1" cache_duration="86400"]
Displays one paragraph updated every day (24 * 60 * 60).[missing-content content_type="bacon" paragraph_count="5"]
5 paragraphs from http://baconipsum.com/api/ updated every 3 hours.[missing-content content_type="hipster"]
3 paragraphs from http://hipsterjesus.com/ updated every 3 hours.[missing-content content_type="blokk"]
3 paragraphs of Blokk font using http://blokkfont.com/ updated every 3 hours.[missing-content content_type="image" width="500" height="500"]
500px x 500px image from http://placehold.it NOTE: no cache control.- [missing-content content_type=βimageβ random=βtrueβ min_width=β150″ max_width=β500″ min_height=β150″ max_height=β300″] Random sized image 150px – 500px wide and 150px – 300px high.
- [missing-content random=βtrueβ min_paragraph_count=β1″ max_paragraph_count=β5″] 1-5 paragraphs from a random content source.
More examples can be found here
Screenshots
Installation
WordPress Plugin Repository
- Navigate to Plugins > Add New in the WordPress admin.
- Search for Missing Content or missing-content.
- Click Install Now.
- Choose activate this plugin.
- Add [missing-content] where you want the missing content to appear with your selected options.
Manual Installation
- Download the latest missing-content.zip.
- Navigate to Plugins > Add New in the WordPress admin.
- Select upload from the top navigation.
- Upload the latest missing-content.zip.
- Choose activate this plugin.
- Add [missing-content] where you want the missing content to appear with your selected options.
FAQ
No FAQs so far.
- How do I ask a question?
-
Support forums here https://wordpress.org/support/plugin/missing-content.
- How do I report an issue or bug?
-
Please report all issues and bugs to https://github.com/matchboxdesigngroup/missing-content/issues.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Missing Content” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Missing Content” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
1.1.0
- Added random option to allow retrieval of random amounts of content from a random source.
- Added easy access to missing content in a template using
mcn_missing_content()
- Fixed assets being enqueued in
wp_head
instead ofwp_enqueue_scripts
- Miscellaneous tweaks.