Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Woohoo...And we have success...!!!
- Thanks to bheadrick's helpful post and input from the plugin's author Robert Reid at Strictly-Software.com (May I link here?) I got this working in about 5 minutes. To help out anyone else interested in tagging Woocommerce, here is what I did:
- 1) The plugin will identify products because it has been coded to find everything that is not a "a page, attachment or revision ..." thus product_posts are good (no action, just FYI.)
- 2) Now, rename the file called strictlyautotags.class.php to strictlyautotags.class.php.txt and open it in your favorite text editor, do a Ctrl-H Find/Replace on all instances of $posttags and change them to $producttags,
- 3) AND do a Find/Replace for all instances of post_tags and change those to product_tags...
- Re-save the file with the proper PHP extension, upload it to your /wp-content/plugins/strictly-autotags folder, then do a bulk edit on a handful of products to change them from draft to published, and observe the lovely tags!
- Thanks again bheadrick and Robert!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement