How to create a Full RSS feed (secret URL) for certain users, short for the rest [closed]

A “secret” full text feed Here’s a demo plugin that gives you a full text feed at: example.tld/secretfeed/ Just remember to flush the rewrite rules, e.g. by visiting the Settings/Permalinks page: <?php /** * Plugin Name: Secret Full Text Feed * Plugin URI: http://wordpress.stackexchange.com/a/208724/26350 */ add_action( ‘init’, function() { add_feed( ‘secretfeed’, ‘do_feed_rss2’ ); }); add_action( … Read more

How can I only show certain posts?

I haven’t had time to test this, but you can probably do this with the the_content filter hook. This way you won’t have to insert this code into archive.php, category.php, tag.php, author.php and any other archive file depending on how your theme is structured. In your theme’s functions.php file add the following: function my_filter( $content … Read more

Paid member plugin with some specific features [closed]

Membership plugin from Wpmudev.org should fit your needs: http://premium.wpmudev.org/project/membership/ This is step 2 of the registration process with Membership: EDIT: According to comments that membership should give access to certain custom post type i would suggest this: Create a template for that custom post type as single-premium-videos.php More info: https://codex.wordpress.org/Post_Types#Template_Files Then add a check if … Read more

Limit users to one active subscription in WooCommerce Subscriptions? [closed]

Unless I’m misunderstanding you, WC Subscriptions already has this functionality. Firstly, set your subscription product to be variable or grouped, rather than having multiple individual products. Set the subscription product to limit purchasing: https://docs.woocommerce.com/document/subscriptions/store-manager-guide/#limit-subscription Then turn on allow switching: https://docs.woocommerce.com/document/subscriptions/switching-guide/#section-2 Hope that helps

Making a client area in WordPress – Any good tutorials or plugins?

First, for invoicing/billing use the WP Invoice plugin: http://wordpress.org/extend/plugins/wp-invoice/ The “members” plugin may also be useful: http://wordpress.org/extend/plugins/members/ For a custom redirect, to send them to custom pages rather than just the admin panel use: http://wordpress.org/extend/plugins/peters-login-redirect/ If you had them register, greet them with a custom welcome message on the page they log-in to using this … Read more

Exclude pages from WordPress search result page

Add this to your child themes functions file using a code editor like Notepad++. You will need to change the page I.D’s in the code to your own. Exclude Specific Pages From Search Results add_filter( ‘pre_get_posts’, ‘exclude_pages_search_when_logged_in’ ); function exclude_pages_search_when_logged_in($query) { if ( $query->is_search && is_user_logged_in() ) $query->set( ‘post__not_in’, array( 1, 2, 3, 4, 5 … Read more