If you want to get rid of 3rd party integrations like facebook, google fonts and fontawesome within the Responsive Poll plugin just change the files accordingly:
File /poll-maker/public/class-poll-maker-ays-public.php
Find line
wp_enqueue_style('ays_poll_font_awesome', 'https://use.fontawesome.com/releases/v5.6.3/css/all.css', array(), '5.6.3', 'all');
replace with:
wp_enqueue_style('ays_poll_font_awesome', '//', array(), '5.6.3', 'all');
Find line
wp_enqueue_style('ays_poll_font_awesome', 'https://use.fontawesome.com/releases/v5.6.3/css/all.css', array(), '5.6.3', 'all');
replace with:
wp_enqueue_style('ays_poll_font_awesome', '//', array(), '5.6.3', 'all');
File /poll-maker/public/js/poll-maker-ays-public.js
Find line
window.fbAsyncInit = function() {
FB.init({
appId: '1204514392893219',
xfbml: true,
version: 'v3.0'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = 'connect.facebook.net/en_US/sdk.js';
replace with:
window.fbAsyncInit = function() {
FB.init({
appId: '',
xfbml: true,
version: 'v3.0'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = '//';
File: /poll-maker/public/css/poll-maker-ays-public.css
Find line
@import url('https://fonts.googleapis.com/css?family=Roboto');
Delete it!
Find line (appears 2x times)
font-family: 'Roboto', sans-serif;
and delete em!
@font-face {
font-family: 'share-buttons';
src: url('https://cdn.rawgit.com/sunnysingh/share-buttons/v1.0.0/build/fonts/share-buttons.eot?gpra60');
src: url('https://cdn.rawgit.com/sunnysingh/share-buttons/v1.0.0/build/fonts/share-buttons.eot?#iefixgpra60') format('embedded-opentype'), url('https://cdn.rawgit.com/sunnysingh/share-buttons/v1.0.0/build/fonts/share-buttons.woff?gpra60') format('woff'), url('https://cdn.rawgit.com/sunnysingh/share-buttons/v1.0.0/build/fonts/share-buttons.ttf?gpra60') format('truetype'), url('https://cdn.rawgit.com/sunnysingh/share-buttons/v1.0.0/build/fonts/share-buttons.svg?gpra60#share-buttons') format('svg');
font-weight: normal;
font-style: normal;
}
replace with:
@font-face {
font-weight: normal;
font-style: normal;
}
-
This reply was modified 3 years, 10 months ago by just0nequestion.
-
This reply was modified 3 years, 10 months ago by Yui.