wordpress-webmention icon indicating copy to clipboard operation
wordpress-webmention copied to clipboard

Introduce Webmention Comments Template

Open dshanske opened this issue 2 years ago • 10 comments

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.

dshanske avatar Jun 07 '22 00:06 dshanske

@pfefferle Can you have a look?

dshanske avatar Jun 12 '22 18:06 dshanske

Will do! I had vacations until yesterday ;)

pfefferle avatar Jun 12 '22 18:06 pfefferle

Didn't realize.. hope you had fun

dshanske avatar Jun 12 '22 19:06 dshanske

Will do! I had vacations until yesterday ;)

@pfefferle Just waiting on this...not trying to be a bother.

dshanske avatar Jun 30 '22 23:06 dshanske

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 

pfefferle avatar Jul 04 '22 15:07 pfefferle

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] avatar Jul 04 '22 16:07 sonarcloud[bot]

How does it look overall? I see you fixed a locate issue

dshanske avatar Jul 04 '22 16:07 dshanske

@pfefferle Any chance on this one?

dshanske avatar Jul 17 '22 17:07 dshanske

I am working on some dummy/test data, otherwise it is hard to see the result.

pfefferle avatar Jul 18 '22 19:07 pfefferle

Good idea.

dshanske avatar Jul 18 '22 19:07 dshanske

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 64 Code Smells

No Coverage information No Coverage information
0.4% 0.4% Duplication

sonarcloud[bot] avatar Jan 07 '23 19:01 sonarcloud[bot]