posts show the same date and edit link

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

posts show the same date and edit link

Postby Bri- » 30 May 2012, 20:35

All of my posts appear to have the same date (the date of the most recent sticky post) and all of their "edit" links go to the same post (no matter which I try to edit, it will take me to the edit page for the most recent sticky post). Also, some of the posts are out of order (they should be in descending order of the post date). If I go to the dashboard, I can see the actual dates (which are not all the same), I can edit any of the posts, and they appear in the correct order.

If I make all the posts not sticky, they all have the same date and edit links of the most recent post. In other words, it seems to show the date and edit link from the first post for all posts.

If I change some of the Suffusion options so that all posts are shown in full, it seems to fix the problem. However, I don't want all posts to appear in full on the home page (I want some of them to appear in a list below, and I want to limit the number of posts that appear).

The web site in question is http://www.cub830.org.

Any insight would be appreciated!

-Bri
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Re: posts show the same date and edit link

Postby drake » 30 May 2012, 23:39

Most of your posts seems to have markup errors: see at validator.w3.org

<div class="announcement">
</p>
<p><img src="http://www.cub830.org/wordpress/wp-content/uploads/2012/04/indianapolis_indians_patch.png" alt="" title="Indianapolis Indians patch" width="150" height="96" class="alignright size-full wp-image-516" />The <a href="http://www.cub830.org/events/scout-day-victory-field/">Scout Day and Campout</a> is on <a href="http://www.cub830.org/events/2012-06-01/">Friday, Jun 1st</a> at <a href="http://www.cub830.org/locations/victory-field/">Victory Field</a>.</p>
<p>Experience Baseball Up Close as the Indians take on Syracuse. After the game, enjoy a fantastic fireworks show. As the crowd exits the stadium, the fun really begins on Boy Scout Campout and Girl Scout Campout Nights. Enjoy popcorn and a movie in the stadium before taking to the outfield to set up your tents. Run around the field, sleep under the stars and watch the rest of the movie before breakfast on Saturday.</p>
<p>If the campout is postponed due to the weather, the make up date is July 13th.</p>
<p><a href="http://www.cub830.org/events/scout-day-victory-field/">View event details</a>
</div>

Your posts can't start with a closing </p> and ends with unclosed <p> tags. Go and edit a post, switch to HTML mode of editor and look at your source. If you see a construction like above, starting with </p>, you will need to go through all problematic posts and corect the markup. If your post look correct, without this starting </p>, try to go at Suffusion Options -> Backend -> Site Optimization and try to pick an option which say "ugly source code" or "Auto-generate the CSS and link it as a file"
drake
 
Posts: 3765
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: posts show the same date and edit link

Postby Bri- » 31 May 2012, 04:51

Yes, Wordpress's editor seems to insert "</p><p>" tags when it thinks there's a paragraph break, even when it's the first paragraph (which means there won't be a matching "<p>" at the beginning).

I can't imagine that would cause the problem I'm seeing though.
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Re: posts show the same date and edit link

Postby drake » 31 May 2012, 04:56

Delete first </p> and add one </p> at the end of post. Go through all posts seen at validator as wrong (as I remember was just few, maybe 10). Probably this will solve the problem with dates too...

Usually, Wordpress remove <p> and <br/>, not add wrong tags... Probably you have a plugin with this bad behavior.
drake
 
Posts: 3765
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: posts show the same date and edit link

Postby Bri- » 01 Jun 2012, 12:55

None of the erroneous </p> tags are actually in the posts. Either Wordpress is adding them or some plug-in is doing it. I have very few plug-ins installed so I don't think it's a plug-in but I guess it's possible. Let me see if I can get rid of those errors. I can't imagine extra </p> tags would cause the problems I'm seeing with the ordering of posts but I guess anything is possible.

-Bri
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Re: posts show the same date and edit link

Postby Bri- » 01 Jun 2012, 13:38

OK, those errors are gone and it still has the same problem.

-Bri
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Re: posts show the same date and edit link

Postby Colin » 02 Jun 2012, 00:39

Edit one of the posts and in the edit window top right change the published date to yesterday. Then view the post on the site and see what the date is now and let us know. Then we can maybe give you some other suggestions.
Colin
 
Posts: 2785
Joined: 27 Oct 2009, 10:46

Re: posts show the same date and edit link

Postby Bri- » 02 Jun 2012, 10:50

I changed the top post to June 1, and they all display June 1. I then changed the second post to June 2 (which moved it to the top of the page since it's sticky) and now they all display June 2. Essentially, they will all display the date of the post that appears at the top of the page. The "Edit" links for all the posts are all the same and will always edit the top post regardless of which post you're trying to edit.

-Bri
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Re: posts show the same date and edit link

Postby Colin » 02 Jun 2012, 11:31

Some things to try

1: Reset your Permalinks
2: Reinstall Suffusion
3: Reinstall Wordpress

I suspect that the problem is Wordpress rather than Suffusion given what you have found.

Let us know how you get on
Colin
 
Posts: 2785
Joined: 27 Oct 2009, 10:46

Re: posts show the same date and edit link

Postby Bri- » 02 Jun 2012, 12:19

OK. (1) How do I reset Permalinks? (2) Is there a way to re-install Suffusion without losing all my settings?

-Bri
Bri-
 
Posts: 18
Joined: 30 May 2012, 20:16

Next

Return to Support Requests

Who is online

Users browsing this forum: ggsanhmg, Google [Bot] and 3 guests