• jmhamm573

    (@jmhamm573)


    I’m new to WordPress, looking to update and maintain a site that our non-profit has had running for about five years. I’m going through tutorials on www.remarpro.com, and reading WordPress for Dummies… learning to use the block editor. There is one page on our site which I need to revise for changes to volunteers – it includes text (bios of people) and photos. That page shows up alright to site visitors, but when I open it to edit, all I see is the title – no text, and no photos.

    I’ve updated the WordPress version and all of the plugins. I tried disabling all the plug-ins, and switching to a more current theme, but the problem persists. I’m wondering if I just need to rebuild the page from scratch, or maybe switch to a different theme.

    Any advice would be appreciated!

    Mark

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is one page on our site which I need to revise for changes to volunteers – it includes text (bios of people) and photos. That page shows up alright to site visitors, but when I open it to edit, all I see is the title – no text, and no photos.

    I tried disabling all the plug-ins, and switching to a more current theme, but the problem persists.

    Did you check the front end to see what happened to the page when you switched to a different theme?

    My guess is that the content completely disappeared from the front end as well.

    If this happened, then the page’s content (everything other than the title) was hard-coded in the active theme’s custom page template file used to serve that page.

    This would explain why the content does not appear in the editor, and why the content disappears from the front-end as well when you switch to a different theme.

    To see the hard-coded content, go to APPEARANCE > THEME FILE EDITOR. You’ll be met with a warning. We’re not making any changes (yet), so you can ignore the warning. On the right of the screen where you have the list of files, there’s likely to be one named “TP Team”.

    This is the template serving that page. You may find the text and images hard-coded in this custom template file directly, or this file may be calling another file which has the content.

    Thread Starter jmhamm573

    (@jmhamm573)

    Thank you for your help! You are right, there is a “Team Page Page Template” with the biographical information written in, and links to photos in this format: “/assets/images/img-mark.jpg”. I can’t locate the image file.

    I expect that I can edit the text content in the template to update it, but I also need to replace some of the images. Any suggestions as to where I could look for them?

    Mark

    links to photos in this format: “/assets/images/img-mark.jpg”. I can’t locate the image file.

    The assets folder should be inside the theme’s folder ZenGarden. These images will not appear in the WordPress Media Library in your dashboard.

    Look in the folder /wp-content/themes/ZenGarden/assets/images/ to find these images.

    But you can put any new images ANYWHERE, as long as you link to them appropriately in the template. So you could use the WordPress Media uploader to upload any new images in the dashboard, grab the image URL, and use this URL in the custom page template’s code.

    Thread Starter jmhamm573

    (@jmhamm573)

    Thank you, George. I found the images where you indicated. However when I try to edit the template in the Theme File Editor ( I made a couple of minor changes to the text content and linked to a different image), I receive this message: Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

    So I went into cPanel and edited the template there, which worked alright. Although I suppose it’s a bit risky, that will allow me to make the needed changes to the “Our Team” page. ??

    There are a couple of other pages I need to edit that have links to resources: PDFs and Word documents that are stored in the Media Library. Those pages are visible and accessible to users who log in, but appear blank when I try to go in and edit them to remove documents and add others. I don’t see a custom page template file for either of those pages. Do you have any suggestions as to how I can edit them?

    Thread Starter jmhamm573

    (@jmhamm573)

    I figured out the issue with the pages linked to resources, described in my last post: something to do with pods and custom posts. However would just like to thank you once more for your help, George.

    Mark

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.