wordpress-webmention
wordpress-webmention copied to clipboard
Introduce Webmention Comments Template
This introduces a simple webmentions comment template. It actually does it differently than the Semantic Linkbacks template. Instead of using the comment form hooks, it actually loads the template, if the setting is enabled, then that template loads the theme template. So the original comment template, which is filtered to only show non-webmention comments, shows as intended by the theme author. And the new template just loads before it.
This is a very barebones implementation, and I expect we'll iterate on it with more features.
@pfefferle Can you have a look?
Will do! I had vacations until yesterday ;)
Didn't realize.. hope you had fun
Will do! I had vacations until yesterday ;)
@pfefferle Just waiting on this...not trying to be a bother.
I get an error when I visit the post permalink site:
Warning: require_once(/var/www/html/wp-content/themes/twentytwentytwo/comments.php): failed to open stream: No such file or directory in /var/www/html/wp-includes/template.php on line 770 Fatal error: require_once(): Failed opening required '/var/www/html/wp-content/themes/twentytwentytwo/comments.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-includes/template.php on line 770
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
How does it look overall? I see you fixed a locate issue
@pfefferle Any chance on this one?
I am working on some dummy/test data, otherwise it is hard to see the result.
Good idea.
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
64 Code Smells
No Coverage information
0.4% Duplication