carybriel
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Your store’s uploads directory is browsable via the web. We …Adding this to your functions.php will remove the notice permanently.
function filter_woocommerce_show_admin_notice( $true, $notice ) { if ( $notice === 'uploads_directory_is_unprotected' ) return false; // Default return $true; } add_filter( 'woocommerce_show_admin_notice', 'filter_woocommerce_show_admin_notice', 10, 2 );- This reply was modified 5 years, 6 months ago by carybriel.
Forum: Fixing WordPress
In reply to: Is there a way to buy someone’s product to sell on?Hello,
The functionality that you describe could be implemented within a WordPress plugin and integrated into your existing theme, which is probably the better way to handle it (rather than adding code to your theme).A plugin could create specific shortcodes, which could then be inserted into the content of any page/post on the website and thus generate the required content (and underlying functionality) exactly were needed.
Also, if implemented as a plugin, it separates the functionality logically so that if you were to change the theme out in the future, you wouldn’t need to extricate the code in question and move it to the new theme.
Hope this helps.
Cary BrielI was pleasantly surprised at what was included in the free version. One only need look around to see the event plugins out there which amateurish and poorly written before criticizing. Keep up the great work, Modern Tribe!