This is the new and updated version of my article here: LearnPress Lesson Template Changes I got to admit, it is quite simpler in terms of files than before.Turns out it is now possible to edit with only CSS and make our Header and Footer show in current implementation of LearnPress plugin. WordPress Version : 5.7.2Theme Twenty Twenty-One : 1.3LearnPress Version : 4.0.7 Quick Start Here, is the fast answer you need and keep on moving. Contain the width Now if the lesson content area is full width, and you want it contained, like the header and footer, we need …Read More
In order to do a custom listing of active subscriptions in Yith WooCommerce Subscription plugin, here is the code you can write:Assuming your WordPress database table prefix is the default: “wp_” Hell, if you want to move one step further and list only active members, then you can throw “AND” condition in the query itself, like below; You can do the pagination as well now. Final Note: There is a file /plugins/yith-woocommerce-subscription/includes/admin/class.ywsbs-subscriptions-list-table.php, look or find the function prepare_items() , this is where I derived above query from.