Skip Navigation

[Resolved] Content text of articles is not displaying for old posts

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 11 replies, has 2 voices.

Last updated by Shane 6 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#652873

Tell us what you are trying to do?

I've created 2 custom fields with some title and descriptions that should display extra information at the bottom of each article. This extra information should appear at the bottom of each article. Those custom fields are created and use View loop. I display them on the frontend using the following code in single.php (childtheme). single.php is also attached for your own reference (oh it's not possible only image attachment are possible).

this is the code in single.php childtheme to display the fields on frontend
<?php
/**
* Adding company box custom fields
*/
?>

<div class="company-information">

<?php

if(get_post_meta(get_the_ID(),'wpcf-first-company-description-1', true))
{
echo '<div class="about-company1-info-box">';
echo '<h4>' .get_post_meta(get_the_ID(), 'wpcf-first-company-name', true). '</h4>';
echo get_post_meta(get_the_ID(), 'wpcf-first-company-description-1', true) ;
echo '</div>';
}
?>

<?php
if(get_post_meta(get_the_ID(),'wpcf-second-company-description', true))
{
echo '<div class="about-company2-info-box">';
echo '<h4>' .get_post_meta(get_the_ID(), 'wpcf-second-company-name', true). '</h4>';
echo get_post_meta(get_the_ID(), 'wpcf-second-company-description', true);
echo '</div>';
}

?>
</div>
<?php } ?>
</div>

Is there any documentation that you are following?

Is there a similar example that we can see?

In this example the content of the article is displaying correctly because I had to go to each old post and resave it to make the content appear again.

hidden link

The problem

When I disable the View and Type plugins, the content from old posts appear again. When I activate the plugins again, then the old posts content don't show the content area with text. This is a link to an old post where it has text and content but it's not displaying the content between the two adverts. (Now the plugins are activated)

hidden link

Every time I deactivate and reactivate the plugins, the content area of all the post disappears and have to update(re-save) them one by one. I have some 500+ articles

I hope you can help me with this because it's been a real headache for so many weeks

Looking forward to your reply

#652887

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Suzan,

Thank you for contacting our support forum.

Looking at this I would need to gain access to investigate the issue further.

Would you mind providing me with admin access to the site ?

The private fields have been enabled for your next response.

Thanks,
Shane

#653475

Please let me know if you need any further information

Your help is greatly appreciated

#653490

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Suzan,

It seems the credentials don't work.

Could you check this and let me know.
Thanks,
Shane

#653492

Check now I edited the private message...now you have updated info

#653849

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Suzan,

I highly suspect that this is a server issue because i'm working on the site and it crashes periodically. Given that the fact the preview information works fine but the frontend doesn't could be a sign of caching.

If you server is caching the information please try clearing that cache.

Thanks,
Shane

#653865

Hi Shane

From my side the site works properly and doesn't crash.

You can also purge all cache using wpengine plugin from the backend and press on general settings, purge all cache

I look forward to your reply

#657634

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Suzan,

Sorry for the delay in response.

Would it be possible to get a copy of this site so that I can test locally ?

Thanks,
Shane

#664312

Hi Shane

I've now deactivated all plugins and tested whether it's the Views plugin that causes this behavior on live website and another testing environment and the same happens all the time.

Once I activate the Views plugin the content area of the old posts disappears.

I hope your team can investigate this and come up with solution. I gave already FTP and Admin access. I checked with hosting provider WPEngine. From their side everything seems okay. Also from my side, I cleaned all types of cache on server side and browser side to make sure which is causing this problem.

I also reverted to a default theme and the problem still persists.

I hope to hear from you other suggestions that might lead to solving this issue

Best regards,

#664353

Shane

I have one content template loop item which is called "ARTICLE NOTES and USEFUL NOTES"

How can I delete it? Maybe it's the one causing this problem?

#673895

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Suzie,

I must apologize for the delay in response as you may not be aware that the forum is closed over the weekends.

However I tried to log into the site again to check on the content templates but the credentials done seem to work anymore.

Could you check on this and let me know.

Thanks,
Shane