So hopefully you guys can help me solve this riddle as I am lost at how to fix this issue.
A couple months ago we updated our website and our blog, in doing so I copied over the database and all the old posts. However, for some reason posts older than 2+ years are having format issues. Instead of spacing correctly, the entire blog is bunched up. You can see an example below.
Example
Now looking at the post I can see that there is no html to signify paragraph breaks and it generally looks like a text document with only a couple tags in there. I have been going through by hand on these posts adding tags and the correct tags where necessary, obviously this is EXTREMELY time consuming and as there are years of old blogs that need to eventually be updated, I was looking for a way to simplify this issue.
My theory, is that there was some wordpress plugin in place on the old site (I did not manage this) that fixed the format issues and displayed the posts correctly, however somewhere down the road it got fouled up.
Does anyone have a suggestion on how to fix or maybe even speed up this process?
Thank you!
Well after a few more hours of tinkering and research I think I found a way to make the process faster. I still have to edit some of the posts manually, but at least now it appears I don't have to add those <br> tags back in.
Here is the resource I found. PS Disable Auto Formatting
And here is what I did to speed up the process. I should note it is a good idea to backup your Wordpress Database for doing this!
Download the plugin and install it.
Activate the plugin
Go the plugin option screen and UNCHECK the box titled "content formatting" basically enabling it
Go down to the batch formatting and select the date from which the older posts started and check "Allow batch formatting"
Click Batch Formatting and the plugin will format your older posts putting in <br> tags where appropriate and spacing where appropriate.
Browse to one of the edited posts and you will see it looks all jumbled and strange, thats fine dont worry!
Now head to your plugins page and DEACTIVATE the plugin. Go back to one of your posts after the plugin has been deactivated and you will see that the post is now formatted correctly!
Make any additional edits to the post(s) and hit update, and your older posts should now be fixed again.
This solution isn't perfect but it will save me time in the long run.
Thanks and good luck.
Related
hope everyone is having a wonderful afternoon!
I have been developing a website, and have for the most part left with removing unused assets, and cleaning up the code.
I have managed to remove most of the non-essential material, however I can't get past understanding how and why does my HTML produces another separating , and I cannot find a way of removing it.
The website is managed by Wordpress and is constructed with shortcodes:
Question: How do I remove the up top of the one and only that is needed?
Thank you so much for clarification in advance!
In case you are working with wordpress, and have noticed something similar to my situation, then a problem resides in the WP Dashboard, which in turn is also critical to check if you have all semicolons in place. If not, the loop will continue to repeat itself and hence creating empty rows after rows until it's empty.
In my instance, it was looping trough and checking for contents of rows and hence made an another instance of a row.
Hope this helps to anyone who may encounter similar issues when working with wordpress shortcodes!
I'm having a bit of a weird problem. The CMS of our website was developed about 4 years ago, but the person who made it is no longer working for our company so I'm left with the management of it. So far, so good since the CMS works just fine for normal content managing. However we also happen to have a small webshop on our site and the prices and some text needs to be changed. I found the prices were listed in a MySQL table and was able to change them. However, the only text on the page is:
<h2>Zand / Grind bestellen</h2>
<p>+++grondstof:bestellen_deel1+++</p>
But the page you see as a visitor clearly lists a few options and some text. I know it's difficult for anyone without access to say what's going on, but maybe the +++ indicate it's pointing to something? I have a feeling some PHP is involved since the person made pretty much everything with it.
Despite it being far fetched I hope someone can give me some ideas on what's happening here.
I found the code that checks this on the FTP server, as it turns out it's currently not possible to manage this through the CMS.
Thanks to everyone for thinking along!
this might be easy question for you but not for me as i am really new to wordpress, i have setup Wordpress in my site as blog(and i am quite happy with that),
i want to display some posts from my wordpress blog to my base site, i am looking around but its like headache as i have thousands of references and i am confused,
i want to display posts from certain tags,
any help would be much appreciated. Thanks in advance
Kind Regards
I use a program called rss2html setup with a category parameter. Costs a few bucks, but you can do practically anything with it (or via one of the companion programs available at same site). I have used it tons of times passing a category, custom query, or other parameter to it using the config file.
If you choose to pick up a copy and have questions configuring, gimme a shout, I've done literally hundreds of them.
You can find the program I use here: www.feedforall.com
I am using the ACF plugin (2.1.4 - latest version) for WordPress (3.2.1 - latest version).
Everything seems to work fine, except for when I use a WYSIWYG field. Any paragraph tags used are not saved to the database. TinyMCE is inserting them when I go to the HTML view, but as soon as I save and look in the DB tables, no paragraph tags are found.
This does not seem to affect other HTML like 'strong' tags etc however, interestingly enough, it does seem to affect 'br' tags as well.
When I save a page and look into the HTML view, they are all still there, but I think this is TinyMCE just doing its own formatting and not the 'literal' content as received from the database.
I reported this problem with an older version of the plugin a long while back which received little to no recognition at all. This is a totally new install of WP and the latest of the plugin so I assumed this bug would have been fixed by now - not so.
So now, instead of relying on them to sort it, I'm hoping for a quick / dirty / hack / fix for the meantime until this happens.
It's a great plugin, but this is a bit of a show stopper for me right now, and I assume others have had this problem too.
Many thanks,
Michael.
get_field($field_id) instead of get_post_meta will not strip the p tags.
I am honestly not sure where the issue lays but here is my problem:
I have a single file: card.gif. When I check firebug or Google pagespeed, I learn the file is called twice during the page fetch once as normal file name and a second time with a random number (that does not change). Example:
card.gif
card.gif?1316720450953
I have scoured my actual source code, the image is only called once. It is not called in a CSS file. To be honest I have no idea what is the issue, some thought that when I originally installed mod_pagespeed that it appended ID's to each image in cache for any future overwrites but I can't be certain.
Has anybody ever had this issue before?
In the end - Dagon's comments above led me to believe that things like Firebug and Pagespeed may not always be correct. I do show two images being loaded in the timelines for both plugins but it is very difficult for me to decifer otherwise. If another answer is provided contradicting this, I am more than happy to test that theory.