• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Removing /lib Files

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Removing /lib Files

This topic is: resolved

Tagged: files, lib, removing, sample, theme

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by Porter.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 23, 2017 at 11:57 am #213885
    Porter
    Participant

    Just slimming down the Sample Theme a bit before I get to work on my latest custom job, and wanted to ensure that I could remove some files. I removed the enqueue references in functions.php to various files I didn't need (/lib/woocommerce, etc), and just wanted to ensure they weren't referenced elsewhere.

    Assuming they're not, I'm good to remove these files, yeah? Well aware there's little to no benefit, I just like things neat.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    November 24, 2017 at 4:14 pm #213910
    Christoph
    Member

    That's what I do.
    And PHP would let you know with a nice fatal error if they were referenced elsewhere 😉


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    November 24, 2017 at 4:19 pm #213911
    Porter
    Participant

    I figured as much, just thought I'd check in before I got to it (wasn't a priority). Thanks for the insight!


    Buy me a beer? | Try DigitalOcean VPS Hosting

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing /lib Files’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble