If this is a plugin you should really keep the files in your plugin folder. Alternatively you can use the theme folder under it’s own name separate from the active theme. I have seen the latter done and it works fine but you don’t want some unsuspecting users to activate it by mistake. You should never write to the active theme or any theme the user has installed.
Related Posts:
- WordPress and magic quotes
- Reposition WooCommerce breadcrumb outside of wrapper content
- WordPress URL Rewrite not working
- Displaying a WooCommerce product via PHP
- WP E-commerce: Showing 3 random products from current category when viewing product
- Woocommerce -How to set product regular price default
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- WordPress widget in custom theme
- Bulk Image upload and one image for each post?
- Woocommerce price including tax with formatting from options
- woocommerce and is_user_logged_in() if not redirect to homepage
- Woocommerce Custom CSV export
- WooCommerce – Fixed quantity of a product [closed]
- WP_cron won’t trigger my action
- How to create a custom category of wordpress admin
- Adding a div at the bottom of a sidebar
- How to run JS, PHP and etc. inside WP post?
- WordPress: Access a plugin from within a theme
- WordPress plugin/code to hide all things related of a user from the public
- Large Woocommerce Site (83,000 items), What Can I Do? [closed]
- showing 2 prices wholesale and normal
- How can I hide that I Use WordPress (with W3 Total Cache)
- Woocommerce Show Single Product on Homepage
- WooCommerce Tabs [closed]
- WordPress add_rewrite_rules for custom URLs ending in .html
- How to solve Woocommerce Memory Limit
- Should i use the wordpress Options table or to create database table..?
- Why doesn’t PhotoSmash plugin play well with wp_query?
- Woocommerce getting top level category parent and make all sub categories have the same template and menu
- feedburner plugin for WP 3.5
- Display additional page templates and a sidebar on plugin activation
- How do I attach an invoice PDF to an email in the Dukapress plugin for WordPress?
- Make separate text boxes for separate WordPress Custom Fields
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- divide custom field values in div every two values
- WordPress plugin creating sidebar on the theme/page
- WordPress and magic quotes
- How to get WordPress Adminmenu items?
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- Simple tree display of WordPress menu
- WordPress Pages into Sections edit.php PHP hack
- WordPress Plugin Receive a Link
- WordPress: Create A Widget to Accompany Plugin
- How can I list only Subcategories in Woocommerce
- PHP Syntax getting PHP terms
- Get Products within Current Product Category
- what is %variable% in a wordpress plugin? [closed]
- How to fix ‘Notice: Undefined index:’ in PHP form action
- How to determine if WP_DEBUG is enabled? [duplicate]
- Set a User as Author of all ‘New Posts’ posted
- Export all post from database to JSON only when the database gets updated
- Multiple pages on one with different HTML
- Add “last” and “first” to WordPress Comment Pagination Links
- Extend a class of a plugin
- Include a php file from functions.php only to homepage
- How to restrict page access to logged-in users?
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- Changing layout with wp_customise
- Get updated query results on page after insert in database
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- Capture User Email Address When Filling Out Form
- get_posts() and WP_query limits ‘AND’ conditions to a maximum of 6 for meta value queries in WordPress
- How can i show post_class() within output loop?
- How to remove ?p= from wordpress short links
- Do I always need to call wp_get_current_user() before accessing $current_user?
- How to make function appear in sentence?
- Save html content of a widget textarea
- How to modify mobile nav menu text in theme
- How to use AJAX in WordPress in MYSQL query?
- php return username of currently viewed author profile
- Redirect to current user page upon link click
- Adding wp_list_categories to a specific div that was appended using jQuery
- PHP code snippet to remove microdata
- Search AJAX Filters – Multiple Query Loops Into One Loop (Optimization)
- WP_Query: How to get results from both meta_key options?
- how to dynamically remove all edit and delete functionality of a page
- Generate a QR code when creating a new WordPress user
- Passing in MySQL prepare statement parameter separately throwing error
- wordpress email checker on domain
- Critical error on your site
- Need help with format of nested array in MySQL
- searching for members in wordpress
- Edit Post custom options not working
- jQuery doesn’t work in my php snippet
- Rearrange get_categories array compared to another array
- Changing code to remove 2 records for the first line
- use system script advertising in wordpress multisite
- how to manipulate HTML parameters using PHP conditions
- Can i show items based on the day with php?
- How can I add page template after post of a post type?
- How to edit homepage in WordPress?
- Adding Custom JQuery Menu Fresh Slide Out
- Creating a press page for our project
- Errors while Loading Most Recent Version of jQuery
- How I can give a php page a style from my theme
- Login user into magento using wordpress account
- save array of objects with update_option
- What is the best way to reset the site? Different fails while set up
- Use of undefined constant issue
- Themeco Looper Provider Query String for current user posts [closed]