• Hi,

    I realized an import of a database with your theme and imported the contents of my posts site in the wp_posts table in post_content. However, now the text of my articles doesn’t display any more on the homepage. There is only the title which displays correctly. The button “read more” doesn’t display either. Have you an idea where this error comes from ? How works the display of the button ? In which file is the function which allows the display of the button? What is the post_excerpt in the database ?

    Besides I also have another problem. I created a Custom Post Type and I shall wish that when I click on a category inserted into my footer via the widget the site displays the archive category relative to this Custom Post Type. Yet this won’t work. However I created an archive-[the name of my custom post type format].php file. I obtain the same error with the tags of my Custom Post Type.

    Best regards

    • This topic was modified 7 years, 10 months ago by Jlassalle.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    If you switch to a default theme like Twenty Seventeen, do you still have the same problems? If that doesn’t work, try disabling all of your plugins. If it still doesn’t work, your issue is not theme related, but there is likely a problem with your database.

    I recommend that you try exporting an .XML file of your content and then importing that file into a fresh WordPress installation to see if that fixes the display of your content.

    You might also try making a post over in the How To and Troubleshooting Forum specifically for getting your content to display with a default theme.

    Once you can get the content to display in a default theme like Twenty Seventeen, if you still need help using Dyad, could you reply with a link to your site so we can take a look?

    Thread Starter Jlassalle

    (@cartman31)

    Hi, if I changed the default theme I didn’t have the same problem. All worked fine. After my import of the database, the content displayed correctly in the content-single but not in the home page. So here’s the solution I’m pitching: in order to display it I had to copy paste (via the administration) all my posts contents in their excerpts. But it’s not really practical ! What is this theme doing with the excerpts ?!

    And now the prob comes from the “read more” button ! It won’t display. If I create a new post it works, but for all my other imported posts it doesn’t. I tryed to publish again all of them via the admin area but the prob is still here ! How works the display of this button ?! Where is the function which allows its display ?

    Can you give me your email adress in order I give you a link to the site ?

    Best regards

    in order to display it I had to copy paste (via the administration) all my posts contents in their excerpts.

    Hmm, you shouldn’t have to do that.

    What is this theme doing with the excerpts ?!

    The theme pulls this text automatically from the post content, without need for creating a manual excerpt. The Read More button will only display when there is not a manual excerpt for a post.

    Can you make a brand new test post without a manual excerpt? (Don’t try to use an existing post, but instead go to Posts > Add New and publish something.)

    When you do that, does the text and read more button appear for that new post?

    Ah, sorry, I overlooked this:

    If I create a new post it works, but for all my other imported posts it doesn’t.

    In that case, the theme is working, but your imported content is not.

    Did you end up trying to import a .xml file of your content, or did you only import the database?

    If you haven’t tried to do the .xml option, please try that and see if the imported content works that way.

    The other thing you could do is hire someone to look into your database to see if they can fix how/where the content is stored:

    https://jobs.wordpress.net

    https://jetpack.pro

    When you make your new post, the content is being properly stored in the database, which is why the theme will show it. The imported content looks to be improperly stored in the database, so that will need to be fixed before the theme will show that content.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Content display and button issue’ is closed to new replies.