Wrong blog post title in blog page

A blog post on the blog page shows “Blog post, Feb 19 2018” instead of the correct title.

When I click the item on the blog page, the title shows fine on the blog post’s page. Bizzare…

Anybody?

Hi There,

Do you have any custom code under functions.php file, please temporarily remove them?

Please also try testing a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If it doesn’t help, would you mind providing us with login credentials(by clicking on the Secure Note button at the bottom) so we can take a closer look? To do this, you can make a post with the following info:

  • Link login to your site
  • WordPress Admin username / password

Thanks.

I just did as you suggested, removed custom code from the functions.php (child theme). Something went wrong. It said it reverted the changes but in fact it did not. Now my child theme functions php is blank. I don’t want to restore a back-up because there is much new content that would be lost.

that didn’t fix the problem btw.

one important code that I lost in the child theme functions.php is a snippet that I put to have a the widget sidebar appear for blog posts only. now the sidebar is not showing.

Hello @wotpadmin,

Thanks for updating the thread :slight_smile:

Did you took backup of the function.php file before deleting the code? Can you please share FTP details in a secure note. I would like to take a closer look. Also, select Content Left, Sidebar Right from Pro > Theme Options > Layout And Design > Content Layout. https://cloudup.com/c1CyYMJWbmr

Thanks.

thank you Prasant,

I have changed those settings as you noted. Now the sidebar has shown up on the blog posts again (good), but the sidebar has shown up in the store pages (not good).

the extra code in the child theme was there to make it so the sidebar would show up only on the blog posts.

I did not back up the code because wordpress told me it would revert the changes (the removal of the custom code) then instead of reverting the changes it totally cleared the functions.php file altogether.

ftp details attached.

Hi,

I went ahead and fix your child theme’s functions.php and have also added code snippet to display sidebar in your posts only.

With regards to wrong title, it’s because you have added an alternate tile under post settings.

wow don’t even know how that got there. thank you all.

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.