Hi,
For some reason when I create a “Video” post the preview of the post on the Blog section shows text from another post! Any idea as to why this error is happening and how to correct it?
Please see screenshot attached.
Thanks
Hi,
For some reason when I create a “Video” post the preview of the post on the Blog section shows text from another post! Any idea as to why this error is happening and how to correct it?
Please see screenshot attached.
Thanks
Hi @hnmcsweb
It could be one of the installed plugins on your website causing this issue, I suggest doing a plugin conflict test, the safest way to do that is to install “Health Check” plugin and enable “Troubleshooting mode” if everything went okay, then you can re-enable plugins one by one to figure out the culprit. The good thing about “Heath Check” plugin is that it’s developed by WordPress team and it only affects your logged in session so that other visitors won’t be affected.
In case this didn’t help in narrowing down this issue, then please provide us with WordPress Dashboard login details in a “Secure Note” so we can investigate this issue.
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
Hi @hnmcsweb
Unfortunately, I couldn’t log in with the information you have shared, please double check that for me. See the screenshot in the secure note below.
Thanks.
Hello @hnmcsweb,
Thanks for updating the thread.
I suggest you to first clear your site and server cache along with Cloudflare. Please put Cloudflare in development mode while we are testing.
Also can you please let me know the source from where the excerpt is coming from? Did you added any custom code, if it’s coming from a post please share the post url?
Thanks.
Cloudflare is in development mode and I have purged the Cloudflare cache. I have also flushed the website cache.
It is drawing text from this post…
https://www.holynameofmarycollegeschool.com/spring-cafe-2018/
I did not add any custom code I am aware of.
Hope you can now help
Hi there,
This is kind of weird, the content is being picked from different post. Would you mind providing your FTP login credentials as well? I like to test the template directly to see if it’s picking up the correct post ID, then raw content.
Thanks!
O.k. I’ll add login details in a secure note.
Thanks in advance for your help.
Hey @hnmcsweb,
Please use the Excerpt box of the post.
I’m still replicating your setup to check if this is a bug and once proven, I’ll post this to our issue tracker.
Thanks.
UPDATE: I have not replicated this in my test site. But, it is still not recommended to show Cornerstone created content in your excerpt because it will output mixed text content like this.
Thanks! I did not see the Excerpt box previously.
How do I add the “Read More” link to the excerpts where I have added custom content to the Excerpt?
Hey @hnmcsweb,
Regretfully, the manual excerpt will not display a read more link. You would need to add this code in your functions.php. Just note that this is a custom code and we could not support issues that will arise from the use of it and further enhancements.
// Excerpt Read More Link
add_action('x_before_the_excerpt_end', 'custom_excerpt_more_link');
function custom_excerpt_more_link() {
global $post;
if (has_excerpt( $post->ID )) {
echo '<a class="more-link" style="outline: none;" href="'. get_permalink($post->ID) . '">Read More</a>';
}
}
Hope that helps.
Thanks for your help
Glad we could help.
Cheers!