Comment – Log in to comment

Posted in: Newspaper
Post count: 41

On the single post comment shortcode, when a visitor wants to comment, they have to log in first.

Currently the comment login link is associated to the default modal like this. However, I would like to make twwo changes;

1) firstly, I would like to distinguish between listing owner and commentators. My listing owners are “subcribers”. But the commentators are also subscribers. What is the best way to distinguish between them? because it gets confusing on the wp dashboard>users menu and also the subscriptions list in opt-in builder menu.

2) secondly, how to associate the comment log in link to my own modal or page instead of the default modal?

The concerned website is double-glazing-windows.co.uk

  • This topic was modified 1 year by Oktay.
Post count: 35449

Hi,

1. This iwll not be easy and I do not know for sure if is working, but I think it can be done like this:
– Listing Owners: Give them a new role like listing_owner.
– Commentators: Keep as subscriber.
Optional: Add a user meta (user_type) for extra filtering.

2. For this you need to edit the theme files and set to trigger your modal
– wp-content/plugins/td-cloud-library/parts/tdb-comments.php
– wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.