विवरण
Markup to Featured Image will automatically generate a featured image when you publish a post, with the intent of allowing you to publish posts with featured images from third-party clients like MarsEdit.
To add a featured image to your post, include one of the following markup variants in your post’s content:
<img src="/path/to/image.jpg" data-featured-image="keep" />
<img src="/path/to/image.jpg" data-featured-image="strip" />
<!--featured-image:/path/to/image/.jpg-->
If you use an <img>
element, the values of the data-featured-image
attribute specify whether the image should be displayed when the post is shown on your site (keep
) or ignored when the post is displayed (strip
). The order of attributes in your <img>
tag (and whether you include other attributes, like width/height, title, alt, etc.) doesn’t matter. You can make it as complicated or simple as you like.
If the post already has a featured image, the plugin will do nothing (version 1.0 does not allow updating the thumbnail by updating the markup).
स्थापना
- Upload directory
markup-to-featured-image
to the/wp-content/plugins/
directory - Activate the plugin through the Plugins menu in WordPress
- That’s it! Enjoy being able to publish posts with featured images from anywhere
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Markup to Featured Image” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Markup to Featured Image” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.0.0
- First release; heavily based off of v3.3.0 of Adity Mooley’s Auto Post Thumbnail plugin