• Resolved anthonymowl

    (@anthonymowl)


    I am using a template for my wordpress website (anthonymowl.com). The front page is supposed to show the text and picture from the /aboutanthony page. The strange thing is it is showing the title and it is linking to the right page, but it is not showing the picture or the actual text, so I know that the post ID is right. I can’t figure out why the template’s “garbled” text is still being displayed even though I have already removed and edited the garble, and that garble is nowhere to be found now. Can you help me figure out why it’s not displaying my text and picture on the front page? Everything else on the front page and the template is working except for this. The code is below- thanks!

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter anthonymowl

    (@anthonymowl)

    Here is the code that I was talking about:

    http://pastebin.com/XNkU9aay

    Have you set the image on the About Page as the featured image? Also, the template is pulling the text from a custom field in the About page called “test” rather than from the page content itself.

    Thread Starter anthonymowl

    (@anthonymowl)

    Hi- thanks for helping me out. The about page that I am editing in the “Edit Page” on my dashboard does not have a widget to set a featured image or any custom fields. I do see custom fields and featured image options when I edit my collections etc but not here.

    Thread Starter anthonymowl

    (@anthonymowl)

    Is there a way for me to set the image as a featured image using html code instead of a widget since it is not there? How can I override the custom field to get it to show the text in the main box?

    The about page that I am editing in the “Edit Page” on my dashboard does not have a widget to set a featured image

    Try looking further down the page on the right.

    or any custom fields

    Click Screen Options whilst editing that Page and ensure that Custom fields is checked.

    Thread Starter anthonymowl

    (@anthonymowl)

    That definitely SOLVED the problem for the text! The screen options did the trick to get the custom fields to appear. Now I just have the issue of the image. Screen options did not have an option to set a featured image. Any suggestions?

    Look in the right hand column of Edit Page – near the bottom.

    Thread Starter anthonymowl

    (@anthonymowl)

    It’s not there on the Edit Page. The featured image option does appear on other pages like collections etc but not on the edit page. How can I get it to appear?

    Does it appear on any Edit Page (as opposed to Edit Post)?

    Thread Starter anthonymowl

    (@anthonymowl)

    No. It does not appear on any edit page or even on edit post. The only place it appears is when I edit collections or slides.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    Thread Starter anthonymowl

    (@anthonymowl)

    It was the theme. I switched to the twenty-ten theme and the featured image option appeared. I was able to set the image inside that theme and now it is appearing. When I switched back to my theme, the featured image option disappeared. Is there a way I can add it inside of my theme?

    If not, I don’t really have a problem switching themes in order to set the featured image. it’s a little extra work but not a big deal to me. You were a HUGE help. Thank you so much!!

    Try adding: add_theme_support( 'post-thumbnails' ); to your theme’s functions.php file.

    Thread Starter anthonymowl

    (@anthonymowl)

    That did not work. I put that line at the very end of the functions.php file. Is there a specific place I should put it?

    Can you check to see if that line appears anywhere else in the functions.php file? If it does, remove the line you added and try deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Problem with getting content from front page’ is closed to new replies.