ཞིབ་བརྗོད།
Embed a Post title or excerpt or featured image or content within another Post or Page. Use the shortcode([embed_post post_id=”123″ type=”content”])
སྒྲིག་འཇུག
- Upload
embed-post
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
[embed_post post_id="123" type="content"]
in posts or pages wherepost_id
is the id of post you want to embed and type is what you want to embed, if you do not define type then by defaultexcerpt
will get embeded.content
,title
andimage
are other options you can embed. - For
type="content"
you can limit no of words to display by adding one more option e.g.[embed_post post_id="123" type="content" limit_word="10"]
will embed 10 words of content of post_id 123 - Embed featured image:
[embed_post post_id="123" type="image" size="medium" hide_more="1"]
FAQ
Q. Can I embed unpublished posts?
A. No, this plugin only embeds post which is published.
Q. What will happen if I do not specify post_id
?
A. Nothing will happen if you do not specify post_id
in Shortcode.
Q. What will happen if I do not specify type
?
A. By default, post excerpt
will be embedded if you do not specify type
in Shotcode.
གདེང་འཇོག
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Embed Post” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Embed Post” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
1.1
- Added support for embedding featured image:
[embed_post post_id="123" type="image" size="medium" hide_more="1"]
.
0.3
- Added support of removing read more link: [embed_post post_id=”123″ type=”content” hide_more=”1″].
0.2
- Added support of limiting number of words in content.
0.1
- First Release