Closed ghost closed 12 years ago
Same question here. Which is best way to include the plugin's functionality in a theme that will be distributed for free?
Create a subfolder in your theme. Put all the files folders from this repo in there. In functions.php, you can filter the plugin base URL: https://gist.github.com/3945797
thanks @jondavidjohn , I updated the gist accordingly
Sorry, but the suggested code is not working, at least in my case.
Ok, I found what was missing. The filter function for the new address:
function change_cfpf_base_url() { return get_template_directory_uri().'/inc/plugins/wp-post-formats/'; }
hi how to integrate plugin into theme like : require ( get_template_directory() . '/includes/crowdfavorite-wp-post-formats-5718433/cf-post-formats.php' is it possible?