Join us on Meetup

Join us on Meetup

5-21-15 notes

Discussed Automattic.com acquiring woocommerce. Scott demo’d a woocomerce site he’s building. Demo’d Gravity Forms/Woocommerce integration. Anne asked if we could ask questions somewhere-either here or meetup.com. We should discuss/integrate a discussion board maybe. Scott’s code for making custom shortcodes that show the last modified date: // ============================================== // SHORTCODE FOR LAST MODIFIED // ============================================== function cc_last_modified() { return ‘Last updated: ‘ . get_the_modified_date() . ”; } add_shortcode(‘modified’, ‘cc_last_modified’); And for responsive youtube videos: CSS: .video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } Starter theme is at https://github.com/field2/wpbuffalo_starter For Bob: Hide the no comments message on your posts by copy/pasting this code into your style.css file: .nocomments{display:none;}

Read More ยป