Post display problems
-
I cannot figure out why I’m getting my images displayed is such a strange way on the front page.
See the following image: https://imgur.com/EBpBVYI
The display type is “standard” in feed to post.
I’ve gone line by line in the settings. It only happens to stories with images.
Any ideas?
-
since you are using feed to post, go into the post itself, and see if there is a problem with the contents. It’s possible your theme is overriding the css for the image.
The contents of a similar post…
<div class="ftpimagefix" style="float: left;"><img alt="" src="https://deportes.elpais.com/deportes/imagenes/2014/02/07/actualidad/1391805245_300214_1391805756_miniatura_normal.jpg" width="150" /></div> Un operario de 55 a?os fallece en los trabajos del estadio de Manaos y es la séptima víctima mortal <a class="rssmi_more" href="https://deportes.elpais.com/deportes/2014/02/07/actualidad/1391805245_300214.html" rel="nofollow"> ...read more</a>
I’m using Artisteer 4 for the template.
The above markup doesn’t seem to be nefarious and it looks okay in the visual editor.
I got it to stop showing double pictures. Image box. Excerpt only.
The problem with that is now I have no pictures in my recent post slider.
So I think I figured out the real question: how do I turn off the featured image box? Is it one of the classes?
Here is what an entry looks like now:
La mayoría de católicos latinoamericano se opone a las uniones de personas del mismo sexo <a href="https://sociedad.elpais.com/sociedad/2014/02/08/actualidad/1391890027_261187.html" class="colorbox" rel="nofollow" class="rssmi_more"> ...read more</a>
This is unresolved. What did I miss?
because the problem now appears to be with your theme settings, not the plugin…all the plugin does is take the feed item and put it into a blog post…then it’s up to the theme to make it appear as you want.
Is that your working hypothesis? My theme?
Let’s break it down:
In the text view on the post page, the plug-in makes the following markup:
<div class=”ftpimagefix” style=”float:left;”><img width=”150″ src=”https://es.fifa.com/mm/photo/world-match-centre/clubfootball/02/27/68/72/2276872_small.jpg”></div><p>FIFA.com habló con Murun Altankhuyag, el primer futbolista profesional de Mongolia, sobre su contrato con el Krabi FC tailandés, su deseo de jugar como Ronaldinho o su etapa universitaria en Estados Unidos.</p> …read more
To test your hypothesis, I created a new post with exactly this markup.
The results can be seen here: https://imgur.com/RMoSl0E
So the preliminary results seem to be that the plug-in is doing something during feed to post that doesn’t happen during a normal post entry.
Ergo, the issue is unresolved. There is still a display problem that cannot be brushed off as “[my] theme.”
I cannot find any settings to do this so I believe I have to go into the code to adjust this for my needs.
Where do I go to make this truly as if I entered the post using this markup manually?
If what you have in your post (created by the plugin), that is exactly what the plugin does. My plugin puts the image into a div, floats the image to the left (because that is an option you chose) and then has the text in a p tag. That is all the plugin does.
If you also chose the option to have the plugin take the image and make it a featured image…then that results occurs because of your theme – not the plugin.
I am having the same issue. The plugin creates the code, only oddly enough, it seems to be adding the code to the post when the editor is in visual mode rather than text mode. And it’s dropping the spaces between words and codes. So what I see in the visual mode is <div class=”ftpimagefix” style=”float:left;”>, and if I switch to text mode, where I would normally see the HTML, I see “converted” code like <divclass=”ftpimagefix”style=”float:left;”> This seems to be the opposite of what would be expected. And when it pulls in text, I see the text neatly on the front side of the page (PLUS all the HTML coding) but if I edit the post, in text mode, I see it all run together with no spaces. The plugin worked great until the last couple of upgrades and it’s doing this on all my sites.
I’m not sure what is going on here…..the plugin creates that html when there is an image..if there is no image, it doesn’t add the code.
What is an RSS feed where you see this as a problem? That is the only way I can see if I can reproduce the problem.
https://www.wdbj7.com/news/local/more-news/20465844?format=rss_2.0&view=feed
What I am getting now is every word in the feed is linked to the story, but that link is replacing the space between the words. So when I open a story that’s been added, and look at the HTML/Text view, what I see is this:
A former barbecue restaurant in Danville will soon be part of a car dealership. <p>Via: WDBJ7</p>I put your feed into my wordpress (using the latest version of the plugin and the latest version of wordpress)..here is a post crated by the plugin in text view and html view
https://www.screencast.com/t/hJZJtrl8OtDf
https://www.screencast.com/t/1c7K2GAUB
As you can see, nothing strange is happening (no extra spaces, no extra paragraph marks, etc.). What this tells me (as I told the other person) is that the theme or some other plugin is adding this. I can possilby verify this if you give me a url where I can see a post on the web.
One more thing about this issue. What the plugin does is put the data in the database (just exactly what comes from the feed, and your settings of what to strip away – or not – from the feed). What you are seeing in the text or html view in WordPress is a WordPress feature – it is not a feature of the plugin. It’s WordPress (or another plugin if you have one that changes the editing box for posts), that determines whether paragraph marks and extra html will be thrown into the post – not the plugin – which again, only puts in what comes from the feed.
Thanks so much, Allen. I love this plugin for my news sites. And often I find the ins and outs of WordPress overwhelming. I will try turning off plugins and see what might be causing this. I am using a theme from themify.me, but I still have the issue of the code showing when I switch to the default twentyfourteen theme with WordPress. I wonder what would cause the code to show on the visual side of things.
One thing I could wish for is to be able to set the images aligned right instead of left. Sometimes with certain themes, the right alignment just works better.
My other wish list item would be to have the attribution code immediately after the content instead of using a paragraph break. That looks a lot neater.
you can use this file that takes out the paragraph mark – save it, thuogh, since it will be overwritten in the next update.
https://dl.dropboxusercontent.com/u/3132388/pluginfiles/onetime/import_posts.php
- The topic ‘Post display problems’ is closed to new replies.