WordPress.org

Forums

Changed themes and text will not display (34 posts)

  1. danger1300
    Member
    Posted 4 years ago #

    I recently began using a new theme and the html code I typed in, which displays in the visual tab in the edit page section, does not display on the corresponding webpage.

    This worked fine with my original theme.

    Any thoughts/ideas/suggestions on what might be causing this and what I could do in order to mend this problem?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    If you are typing in HTML code, you should be using the HTML tab - not the Visual Editor.

  3. danger1300
    Member
    Posted 4 years ago #

    I did use html code and I put it in the html section and none of that text displays on the page.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Did you switch back to the Visual tab at any point?

  5. danger1300
    Member
    Posted 4 years ago #

    If I switch back to the Visual tab, it shows me how things would be displayed if the html code were to be published. When I look at the page nothing is displayed. That's why I'm really confused and I feel like I've looked everywhere to figure out the issue and I'm still coming up with nothing.

  6. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Do you have the same problem if you switch back to your previous Theme?

    What was your previous Theme, and what Theme are you using now?

  7. danger1300
    Member
    Posted 4 years ago #

    I don't have the same problem with the previous theme. The previous theme was the default, twentyten, if I remember right. This theme is a customized theme that was made specific for what I'm working with and is required. It's called coffee4missions.

  8. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    So let's try to diagnose:

    1) Using the Visual Editor: can you add text, publish, and have the text appear on the Post?

    2) Using the HTML Editor: can you add html and text, publish, and have the html/text appear on the Post?

  9. danger1300
    Member
    Posted 4 years ago #

    If you're referring to the coffee4missions theme:

    I can edit it in the Visual and HTMl editor but it will not appear in the page whether i preview my changes or if i update it and view my wordpress page.

  10. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    I want to eliminate some potential issues first, so can you verify that you're NOT switching between the Visual Editor and HTML Editor?

    That is: in the Visual Editor, edit the post content. Then, without switching to the HTML Editor, update/publish the Post.

    Do your edits appear?

    Repeat the process from within the HTML Editor: edit the post content. Then, without switching to the Visual Editor, update/publish the Post.

    Do your edits appear?

  11. danger1300
    Member
    Posted 4 years ago #

    I deleted all info, then I added the visual back in and updated it and viewed it and there was no text or even text boxes like before.

    I did the same for the HTML editor and it yielded the same result.

  12. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    What do you mean by "text boxes"?

    Also, are you saying that if you edit an existing post, all the previous content disappears?

  13. danger1300
    Member
    Posted 4 years ago #

    Perhaps I didn't explain the problem correctly. If you create a page with wordpress there are certain default characteristics that the page has. Such as header, footer, font, etc. Some of these are defined in the theme of the pages.

    The only thing that appears on my page, no matter what is in the Visual or HTML, editor, is the header, footer, and sidebar.

  14. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Sounds like a problem with your custom Theme.

    Can you verify if the Theme has a Loop? It will start with something like this, usually:

    if ( have_posts() ) : while ( have_posts() ) : the_post();

    Can you also verify that your Theme is outputting the Post content? Look for a call to the_content()

  15. danger1300
    Member
    Posted 4 years ago #

    In the index.php file of my theme I did find that exact code that you posted for verifying that the Theme has a Loop.

    I did not find a the_content() call in the index.php file but it is in a file called page.php

  16. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Can you post a pastebin of your index.php file?

  17. danger1300
    Member
    Posted 4 years ago #

    pastebin?

  18. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

  19. danger1300
    Member
    Posted 4 years ago #

  20. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Okay, now can you post a pastebin for the file \includes\entry.php?

  21. danger1300
    Member
    Posted 4 years ago #

  22. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Okay, this looks like the key:

    if (get_option('myproduct_blog_style') == 'on') the_content("")

    Look for a Theme Option called "MyProduct Blog Style", and make sure it is set to "on" (or "true", or equivalent).

  23. danger1300
    Member
    Posted 4 years ago #

    Do you know where that Theme Option would be? I'm looking but I'm not seeing.

  24. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Does the Theme have an options page?

  25. danger1300
    Member
    Posted 4 years ago #

    I did find a "My Product Theme Options" page. I enabled what I thought needed to be enabled but the page is still having the same issue.

  26. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Can you post a pastebin of the theme options page?

  27. danger1300
    Member
    Posted 4 years ago #

    Here's the link.

  28. danger1300
    Member
    Posted 4 years ago #

  29. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Look for the Theme option with the following title:

    Blog Style post format

    And the following description:

    By default the theme truncates your posts on index/homepages automatically to create post previews. If you would rather show your posts in full on index pages like a traditional blog then you can activate this feature.

    Set this option to TRUE (ensure the checkbox is *checked*), and the full Post content should display.

  30. danger1300
    Member
    Posted 4 years ago #

    I enabled that option and there is a chunk of the page that appears to be missing where the body of the page would be.

    It's more of the body of the page. The header and sidebar appear fine. The body is missing, as well as the footer now that I mention it.

    This is a copy of what is in the visual tab of the Edit page.

    -
    Coffee 4 Missions is a unique opportunity because Toomers Coffee produces fresh quality coffee for customers and as a partner, supplies our mission-based coffee company with funds from each sale.As churches, businesses, and church members purchase coffee from Toomers, they are lowering the expenses of the IMB’s support of the coffee company in the 10/40 window, and supporting worldwide missions in addition to their contributions to the Cooperative Program and Lottie Moon Christmas offering. A win/win for your organization and missions! Process an order online and increase your support of the IMB.
    -

    This should be appearing in the body of the page, but it's not. Nothing is, the background color is even different. Interestingly enough, some of this information will display itself in the sidebar, then the rest of it simply isn't there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags