I have tried to get the transformer rules to work, and in most cases including Video embeds and Youtube video i have been successful.
Galleries don’t show up in the instant articles and some of my shortcodes are going through to the articles, i cannot figure out to block my shortcodes from appearing on the instant article posts.
Also, I am still getting these errors when i embed a gallery or an image with a caption aligned centre:
No rules defined for <style> in the context of InstantArticle
No rules defined for <dl class=”gallery-item”> in the context of Slideshow
No rules defined for <dl class=”gallery-item”> in the context of Slideshow
No rules defined for <p> in the context of Slideshow
No rules defined for <div class=”wp-caption aligncenter”> in the context of InstantArticle
Would appreciate some help, can’t seem to be able to figure this out using the SDK examples posted.
Thanks
https://www.ads-software.com/plugins/fb-instant-articles/
]]>I have been messing around with editing my CSS for my site but when I view the page source it seems that my pages are not picking up my changes.
This is my CSS file…
[huge amount of CSS moderated – no need to post CSS as all CSS can easily be retrieved from the link to your site; alternatively use the pastebin to share the code]
Note i have set the bottom margins to 0 under the wp-caption bit.
Then when i view the source i see it is referring to something else…check out the pic of Steph Curry on this post.
https://beerhealer.com/index.php/2016/03/15/little-guys-taking-beer-supermarkets/
Hopefully you guys can help me?
Cheers
Chris
]]>I am really frustrated about this issue.
Using the jetpack and found that this issue is related to jetpack – disabled this plugin and the problem stopped, but had to activate it again because I am relying this plugin for galleries.
After working on the style of a website I am building as usual in localhost I decided to upload all files and db to the server and now I see that wordpress has decided to change the dimensions of the images and of the captions (and text).
The code for an image for example:
<a href="https://localhost/2015/aria_photography/WORDPRESS/public_html/?page_id=34"><img class="categories-link-img wp-image-10 size-full" src="https://localhost/2015/aria_photography/WORDPRESS/public_html/wp-content/uploads/2015/05/10620347_1562259390673398_1710544481334849133_o-e1433781028977.jpg" alt="Categories Link Image" width="541" height="304" /></a> CATEGORIES
The html output generated correctly in localhost:
<div id="attachment_10" class="wp-caption alignright" style="width: 541px"><a href="https://localhost/2015/aria_photography/WORDPRESS/public_html/?page_id=34"><img class="categories-link-img wp-image-10 size-full" src="https://localhost/2015/aria_photography/WORDPRESS/public_html/wp-content/uploads/2015/05/10620347_1562259390673398_1710544481334849133_o-e1433781028977.jpg" alt="Categories Link Image" width="541" height="304"></a><p class="wp-caption-text" style="opacity: 1; display: block;">CATEGORIES</p></div>
The corrupted html output as generated in the server:
<div id="attachment_10" class="wp-caption alignright" style="width: 541px"><a href="https://aryaph.com/?page_id=34"><img class="categories-link-img wp-image-10 size-full" src="//i1.wp.com/aryaph.com/wp-content/uploads/2015/05/10620347_1562259390673398_1710544481334849133_o-e1433781028977.jpg?resize=541%2C304" alt="Categories Link Image" width="517" height="291"></a><p class="wp-caption-text" style="opacity: 1; display: block;">CATEGORIES</p></div>
why is it rendering the same code with the same image with different dimensions?
and how can I correct it?
Please help me….
https://www.ads-software.com/plugins/wp-showhide/
]]><div id="attachment_30607" class="wp-caption alignleft" style="width: 650px">
<img class="size-large wp-image-30607" width="640" height="425" alt="" src="https://www.xxx/wp-content/uploads/2014/06/xxx-650x432.jpg">
<p class="wp-caption-text">Some text here</p>
</div>
When I insert an image into a post the Size Large option displays 640 x ???, but as I said it is actually 650. I did previously have the large image set to 640px, but should that not be overwritten?
Any help would be appreciated.
]]>the image sizes available to me in Add Media> are 150 x 150, 300 x 200 and 470 x 313
i know i could simply upload correctly sized images, but i want to keep the small border and text wp-caption adds to my inserted images
my functions.php
if (function_exists('post-thumbnails'))
add_theme_support('post-thumbnails');
if (function_exists('add_image_size')) {
add_image_size('post_thumbnail', 472, 280, true);
add_image_size('home_post_thumbnail', 193, 138, true);
you can see the problem here:
https://globalaccident.net/about-us/
the extra pixels the wp-caption border inserts mis-aligns my full width images and squeezes the gap between my content and sidebar because of its additional border around the image
im wanting to remove (padding=0?) both the left and right borders of wp-caption so my full width images align on the left side perfectly, leaving the space between my image and sidebar as normal. this would leave me with the top border and the bottom where the caption text is.
i’ve tried playing around with the css and i can get the left to 0px, but the right-side remains as is.
you can see the problem here with the ‘Happy New Year 2013’ image in the middle of the post.
https://www.artbyherbie.com/4363/nye-2013-happy-new-year-from-herbie/
thanks.
]]>Hope all is well with you.
I’ve been using your plugin for my Church website for some time, but I’ve just upgraded to WordPress 3.4 and have identified “Fast Secure Contact Form” as [at least partially] the cause of an issue I’m having with the WP Image/Caption shortcode.
When I insert an image into a post/page whilst “Fast secure Contact Form” is activated, the image settings (caption, alignment, etc) are not saved and do not work. (The image/caption shortcode disappears when the page is published, or if I switch from Visual to HTML in the editor.) I thought it may be a problem in my theme’s functions file, but deactivating the “Fast Secure Contact Form” plugin fixes the issue.
It works fine with the 2011 Theme, so it must be to do with the one I’m using, but any suggestions as to what might be happening?
Thanks in advance and all the best,
Nick
https://www.ads-software.com/extend/plugins/si-contact-form/
]]>When I add an image to a post, using the same old way as the previous versions, and this image has a caption, WP automatically creates a “shortcode” with the image link and the caption text.
In My 3.5-beta1 the visual editor is creating a line break between and the link element — <a (...)>
. I can remove it in the text editor, but if go back to the visual editor this line break is there again, causing the element <div id='attachment_##' class='wp-caption'>
to not be displayed properly.
As I said, it is probably related to other media issues I have seen around here, but since I haven’t seen this exact same issue, I decided to post it.
]]>In my case the image is resized from 560 to 553, not a huge deal but it gets displaced to the right, throwing the design off. You can see a captioned image here, the difference can be seen when comparing the first image to the second.
I really don’t know what to do. Here are the latest CSS rules I’ve tried:
#attachment .wp-caption img {
width: auto !important;
padding: 0px;
margin: 0px;
}
.wp-caption img {
width: auto !important;
margin: 0px;
padding: 0px;
border: none;
}
Really appreciate any tips or help.
]]>