• I installed 2017 and wanted to make a quick change to show just excerpts on the home page. Can’t do that without a child theme and I’m not interested in a child theme right now.

    The problem is that I can’t access the code to adjust the content, as called here:

    get_template_part( 'template-parts/page/content', 'front-page-panels' );

    template parts no longer show on the right sidebar, so I can’t open to make this quick change.

    I will just change the theme but want to know how to access template parts now without having to use ftp.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Editing PHP files via APPEARANCE -> EDITOR is A Very Bad Idea. One slip and you crash the site. Use FTP and use a child theme.

    Thread Starter csleh

    (@csleh)

    I edit in appearance ALL THE TIME. This is the first off-the-shelf theme I’ve tried in a long time, and this is the first time files to edit how content is pulled are HIDDEN.

    I don’t want a child theme. I don’t want FTP. I don’t want to have to open elsewhere/save on a development site. I’ll just replace the call with my own loop but it would have been easier to make one change on one file. The theme won’t be used for long.

    I Can Handle It.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The files are not “hidden”. The current best practice is to put the template parts in their own directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘access template-parts in 2017 theme’ is closed to new replies.