-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract some features to plugins (#1232)
* Remove wechat_subscriber * Remove custom_scrollbar * Remove facebook & vk
- Loading branch information
1 parent
611fc71
commit 5c82ba3
Showing
17 changed files
with
14 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
{%- if theme.rating.enable or (theme.vkontakte_api.enable and theme.vkontakte_api.like) or (theme.facebook_sdk.enable and theme.facebook_sdk.like_button) %} | ||
{%- if theme.rating.enable %} | ||
<div class="post-widgets"> | ||
{%- if theme.rating.enable %} | ||
<div class="wp_rating"> | ||
<div id="wpac-rating"></div> | ||
</div> | ||
{%- endif %} | ||
|
||
{%- if (theme.vkontakte_api.enable and theme.vkontakte_api.like) or (theme.facebook_sdk.enable and theme.facebook_sdk.like_button) %} | ||
<div class="social-like"> | ||
{%- if theme.vkontakte_api.enable and theme.vkontakte_api.like %} | ||
<div class="vk_like"> | ||
<span id="vk_like"></span> | ||
</div> | ||
{%- endif %} | ||
|
||
{%- if theme.facebook_sdk.enable and theme.facebook_sdk.like_button %} | ||
<div class="fb_like"> | ||
<div class="fb-like" data-layout="button_count" data-share="true"></div> | ||
</div> | ||
{%- endif %} | ||
</div> | ||
{%- endif %} | ||
</div> | ||
{%- endif %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{% include 'google-analytics.swig' %} | ||
{% include 'baidu-analytics.swig' %} | ||
{% include 'application-insights.swig' %} | ||
{% include 'growingio.swig' %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
5c82ba3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevenjoezhang why delete the fb comment feature?