Insert Image
Task
Display Featured Page as image.
Problem
By default the featured pages have paddings 30px by top and by left. It’s necessary for textual content, however if we’d like to display the featured page as whole image we heed to disappear this padding.
Solution
Insert image via shortcode:
[feat_img url="http://site.com/image.jpg"]
If we’d like to apply link to image we need to wrap an image like this:
<a href="TARGET URL GOES HERE">[feat_img url="http://site.com/image.jpg"]</a>
Requirements
- Width is 480px
- Height is 385px
Image formats: JPG, GIF or PNG.
